[Nottingham] postfix and dns

Martin martin at ml1.co.uk
Thu Feb 23 12:53:30 GMT 2006


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
----------------



More information about the Nottingham mailing list