[Nottingham] postfix and dns

Chris Booth Chris.Booth at nottingham.ac.uk
Thu Feb 23 13:01:37 GMT 2006


dig -t MX

>>> martin at ml1.co.uk 23/02/2006 12:53:22 >>>
Quick question for the networks gurus:

I've just been trying to get Postfix to use ntl's smtp.ntlworld.com for 
outgoing mail.

relayhost = [smtp.ntlworld.com]
relayhost = smtp.ntlworld.com

both fail with:
relay=none, delay=0, status=deferred ([smtp.ntlworld.com]: Name or 
service not known)

whereas:
relayhost = 81.103.221.11

works fine:
relay=81.103.221.11[81.103.221.11], delay=3, status=sent

and:

dig smtp.ntlworld.com

; <<>> DiG 9.3.1 <<>> smtp.ntlworld.com
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 4642
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 2

;; QUESTION SECTION:
;smtp.ntlworld.com.             IN      A

;; ANSWER SECTION:
smtp.ntlworld.com.      79819   IN      A       81.103.221.11

;; AUTHORITY SECTION:
ntlworld.com.           133336  IN      NS      dns2.ntli.net.
ntlworld.com.           133336  IN      NS      dns1.ntli.net.

;; ADDITIONAL SECTION:
dns1.ntli.net.          3626    IN      A       62.253.162.237
dns2.ntli.net.          7551    IN      A       194.168.4.237

;; Query time: 3 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Thu Feb 23 12:50:46 2006
;; MSG SIZE  rcvd: 129


So... Fine for the IP address workaround until ntl change it again. Why 
doesn't the name resolve work for Postfix?

Are ntl missing an MX record in their DNS?

Cheers,
Martin

-- 
----------------
Martin Lomas
martin at ml1.co.uk 
----------------

_______________________________________________
Nottingham mailing list
Nottingham at mailman.lug.org.uk 
http://mailman.lug.org.uk/mailman/listinfo/nottingham


This message has been checked for viruses but the contents of an attachment
may still contain software viruses, which could damage your computer system:
you are advised to perform your own checks. Email communications with the
University of Nottingham may be monitored as permitted by UK legislation.




More information about the Nottingham mailing list