[sf-lug] resolver problem

Alex Kleider a_kleider at yahoo.com
Sat Aug 18 08:55:11 PDT 2012


I've got postfix installed on my DreamPlug and am trying to get it
configured to be able to send mail out to a "smart host." The smart host is
mailout.easydns.com.  Mail doesn't get out; the following is reported
in /var/log/mail.info:
"""
Aug 18 08:34:59 dp4 postfix/pickup[25907]: 36C8229CE7: uid=0 from=<root>
Aug 18 08:34:59 dp4 postfix/cleanup[26005]: 36C8229CE7:
message-id=<20120818153459.GA25992 at kleider.ca>
Aug 18 08:34:59 dp4 postfix/qmgr[17065]: 36C8229CE7:
from=<root at kleider.ca>, size=416, nrcpt=1 (queue active)
Aug 18 08:35:15 dp4 postfix/smtp[26008]: 36C8229CE7:
to=<akleider at sonic.net>, relay=none, delay=16, delays=0.1/0.03/16/0,
dsn=4.4.3, status=deferred (Host or domain name not found. Name service
error for name=mailout.easydns.com type=MX: Host not found, try again)
"""

Investigation of name resolution gives what seem to be conflicting
results (ping and dig work but traceroute and mtr don't):

root at dp4:/var/log# ping mailout.easydns.com
PING mailout.easydns.com (64.68.200.141) 56(84) bytes of data.
64 bytes from mailout.easydns.com (64.68.200.141): icmp_req=1 ttl=50
time=81.9 ms
64 bytes from mailout.easydns.com (64.68.200.141): icmp_req=2 ttl=50
time=79.9 ms
64 bytes from mailout.easydns.com (64.68.200.141): icmp_req=3 ttl=50
time=81.3 ms
^C64 bytes from mailout.easydns.com (64.68.200.141): icmp_req=4 ttl=50
time=80.3 ms

--- mailout.easydns.com ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 13907ms
rtt min/avg/max/mdev = 79.989/80.931/81.988/0.788 ms

root at dp4:/var/log# traceroute mailout.easydns.com
mailout.easydns.com: No address associated with hostname
Cannot handle "host" cmdline arg `mailout.easydns.com' on position 1 (argc
1)

root at dp4:/var/log# dig @127.0.0.1 mailout.easydns.com

; <<>> DiG 9.7.3 <<>> @127.0.0.1 mailout.easydns.com
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 47312
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;mailout.easydns.com.           IN      A

;; ANSWER SECTION:
mailout.easydns.com.    191     IN      A       64.68.200.141

;; Query time: 4016 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Sat Aug 18 08:27:38 2012
;; MSG SIZE  rcvd: 53

root at dp4:/var/log# mtr mailout.easydns.com
No address associated with hostname: Success

Other commands that require resolver success (wget, w3m) work fine.

Any thoughts?

Alex
~           


a_kleider at yahoo.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://linuxmafia.com/pipermail/sf-lug/attachments/20120818/ddcde2d1/attachment.html>


More information about the sf-lug mailing list