RE: [Exim] Suddenly lots of "host lookup did not complete" e…

Top Page
Delete this message
Reply to this message
Author: eloj .
Date:  
To: exim-users
Subject: RE: [Exim] Suddenly lots of "host lookup did not complete" errors
> > DNS lookup of pilotonline.com (MX) gave TRY_AGAIN
>
>But that error is clear. The DNS lookup failed in some way. The problem
>is with the DNS resolver or the DNS nameserver. What output do you get
>from
>
> dig pilotonline.com mx
>
>? On my host, it works fine.


See, that's the problem exactly. See here:

nynaeve:/home/eddy# exim4 -d -bt srm_dfr@???
Exim version 4.20 uid=0 gid=0 pid=10985 D=fbb95cfd
Berkeley DB: Sleepycat Software: Berkeley DB 3.2.9: (August 12, 2002)
Support for: IPv6
Authenticators: cram_md5 plaintext
Routers: accept dnslookup ipliteral manualroute queryprogram redirect
Transports: appendfile/maildir/mailstore/mbx autoreply lmtp pipe smtp
changed uid/gid: forcing real = effective
uid=0 gid=0 pid=10985
auxiliary group list: <none>
nynaeve in dns_ipv4_lookup? yes (matched "*")
configuration file is /var/lib/exim4/config.autogenerated
log selector = 020d99d8
trusted user
admin user
user name "root" extracted from gecos field "root"
originator: uid=0 gid=0 login=root name=root
sender address = root@???
Address testing: uid=0 gid=8 euid=0 egid=8
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

Testing srm_dfr@???
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

Considering srm_dfr@???
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

routing srm_dfr@???
--------> dnslookup router <--------
local_part=srm_dfr domain=hotmail.com
checking domains
hotmail.com in "@:MYDOMAIN.net:localhost:nynaeve"? no (end of list)
hotmail.com in "! +local_domains"? yes (end of list)
calling dnslookup router
dnslookup router called for srm_dfr@???
domain = hotmail.com
DNS lookup of hotmail.com (MX) gave TRY_AGAIN
hotmail.com in dns_again_means_nonexist? no (option unset)
returning DNS_AGAIN
dnslookup router: defer for srm_dfr@???
message: host lookup did not complete
srm_dfr@??? cannot be resolved at this time:
host lookup did not complete
search_tidyup called
>>>>>>>>>>>>>>>>Exim pid=10985 terminating with rc=1 >>>>>>>>>>>>>>>>


nynaeve:/home/eddy# dig hotmail.com mx

; <<>> DiG 9.2.2 <<>> hotmail.com mx
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOTIMP, id: 29356
;; flags: qr ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;hotmail.com.                   IN      MX


;; Query time: 6 msec
;; SERVER: 192.168.0.254#53(192.168.0.254)
;; WHEN: Fri Jul 11 11:47:30 2003
;; MSG SIZE rcvd: 29

nynaeve:/home/eddy# host -d -t MX hotmail.com
;; res_send()
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 11038
;; flags: rd; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0
;;      hotmail.com, type = MX, class = IN
;; Querying server (# 1) udp address = 192.168.0.254
;; got answer, 29 bytes:
;; ->>HEADER<<- opcode: QUERY, status: NOTIMP, id: 11038
;; flags: qr ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0
;;      hotmail.com, type = MX, class = IN
;; Query failed, 0 answers, status: not implemented
hotmail.com MX record not found, no recovery


Understand our confusion? With this I'm beginning to again eye the
resolver libs:

nynaeve:/lib# locate libresolv
/lib/libresolv-2.3.1.so
/lib/libresolv.so.2
/usr/lib/libresolv.a
/usr/lib/libresolv.so
nynaeve:/lib# ls -l /lib/libresolv*
-rw-r--r--    1 root     root        56652 Apr 19 20:57
/lib/libresolv-2.3.1.so
lrwxrwxrwx    1 root     root           18 Jun  9 15:34 /lib/libresolv.so.2
-> libresolv-2.3.1.so
nynaeve:/lib# ls -l /usr/lib/libresolv*
-rw-r--r--    1 root     root        73990 Apr 19 20:58 /usr/lib/libresolv.a
lrwxrwxrwx    1 root     root           19 Jun  9 15:34
/usr/lib/libresolv.so -> /lib/libresolv.so.2


What is the easiest way to find out which one host and exim is using? I
forget...

_________________________________________________________________
Help STOP SPAM with the new MSN 8 and get 2 months FREE*
http://join.msn.com/?page=features/junkmail