Re: [Exim] dns_again_means_nonexist don't work for verify = …

Pàgina inicial
Delete this message
Reply to this message
Autor: Justo Alonso
Data:  
A: Philip Hazel
CC: exim-users
Assumpte: Re: [Exim] dns_again_means_nonexist don't work for verify = reverse_host_lookup
On Thursday 30 October 2003 15:03, Philip Hazel wrote:

on a suse 8.0, in /usr/include/arpa/nameserver.h

/*
 * Currently defined response codes.
 */
typedef enum __ns_rcode {
        ns_r_noerror = 0,       /* No error occurred. */
        ns_r_formerr = 1,       /* Format error. */
        ns_r_servfail = 2,      /* Server failure. */
        ns_r_nxdomain = 3,      /* Name error. */
        ns_r_notimpl = 4,       /* Unimplemented. */
        ns_r_refused = 5,       /* Operation refused. */
        /* these are for BIND_UPDATE */
        ns_r_yxdomain = 6,      /* Name exists */
        ns_r_yxrrset = 7,       /* RRset exists */
        ns_r_nxrrset = 8,       /* RRset does not exist */
        ns_r_notauth = 9,       /* Not authoritative for zone */
        ns_r_notzone = 10,      /* Zone of record different from zone section
*/
        ns_r_max = 11,
        /* The following are TSIG extended errors */
        ns_r_badsig = 16,
        ns_r_badkey = 17,
        ns_r_badtime = 18
} ns_rcode;


I supose, that h_errno = 2 -> ns_r_servfail ... no ??

I don't known about res_search function and returns codes (in the man page
don't explain it very good)... but... in the include file.... ummm..

exim convert h_errno = 2 to a TRY_AGAIN ??
TRY_AGAIN = ns_r_formerr = ns_r_servfail ??

justo


> On Thu, 30 Oct 2003, Justo Alonso wrote:
> > On Thursday 30 October 2003 10:45, Philip Hazel wrote:
> >
> > ummm..... exim says: IP address lookup failed: h_errno=2
>
> h_errno=2 is indeed TRY_AGAIN, at least on Linux it is, so
> dns_again_means_nonexist should operate. What was the rest of the Exim
> debug output?
>
> > If the exim can't convert a SERVFAIL reponse to a nonexist, Bind could be
> > ??
>
> Exim does not see SERVFAIL. It just sees the h_errno value.