[sf-lug] resolver problem

Tom Haddon tom at greenleaftech.net
Sat Aug 18 09:10:43 PDT 2012


You're mixing things that you're checking here. The host DNS entry for
mailout.easydns.com may exist, but that doesn't mean there's an MX
record for it.

mthaddon at mallory:~$ dig mailout.easydns.com

; <<>> DiG 9.8.1-P1 <<>> mailout.easydns.com
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 53568
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0

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

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

;; Query time: 12 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Sat Aug 18 17:09:43 2012
;; MSG SIZE  rcvd: 53

<http://www.rg-racing.com/browseBike/Aprilia/RSV4-R/2011/RAD0076.aspx>mthaddon at mallory:~$
dig -t mx mailout.easydns.com

; <<>> DiG 9.8.1-P1 <<>> -t mx mailout.easydns.com
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 42943
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0

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

;; Query time: 13 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Sat Aug 18 17:04:57 2012
;; MSG SIZE  rcvd: 37

Looks like you need to double check that that's what you should be
trying to connect to.

Thanks, Tom

On 18/08/12 16:55, Alex Kleider wrote:
> 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
>
>
>
> _______________________________________________
> sf-lug mailing list
> sf-lug at linuxmafia.com
> http://linuxmafia.com/mailman/listinfo/sf-lug
> Information about SF-LUG is at http://www.sf-lug.org/

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://linuxmafia.com/pipermail/sf-lug/attachments/20120818/672b7fec/attachment.html>


More information about the sf-lug mailing list