On Fri, 1 May 1998, Nigel Metheringham wrote:
> I think the DNS problem is actually that the dns.c file converts a number
> of various DNS errors into what exim thinks of as a temporary error. In
> particular our DNS gives back REFUSED for broken domains:-
>
>
> pearl{nigel}101> dig "theplanet.net'" mx
> ; <<>> DiG 2.2 <<>> theplanet.net' mx
> ;; res options: init recurs defnam dnsrch
> ;; got answer:
> ;; ->>HEADER<<- opcode: QUERY, status: REFUSED, id: 6
>
> This should maybe be treated as a permanent error rather than a temporary
> one.
Mutter, mutter! It's not Exim's fault. Exim calls a resolver library,
and *it* does all these amalgamations. I tried not long ago to find a
way of distinguishing between DNS query timeouts and SERVFAIL, and
couldn't - both cases return TRY_AGAIN.
Calling the normal resolver (res_search()) seems the right thing to do,
given that resolvers can do caching and stuff like that. I don't think
Exim should do its own DNS calls.
--
Philip Hazel University Computing Service,
ph10@??? New Museums Site, Cambridge CB2 3QG,
P.Hazel@??? England. Phone: +44 1223 334714
--
*** Exim information can be found at
http://www.exim.org/ ***