Oddball DNS issue: won't resolve hostname alone.

Charles Curley charlescurley at charlescurley.com
Mon Dec 17 12:45:39 MST 2007


On Mon, Dec 17, 2007 at 10:52:45AM -0700, Shane Hathaway wrote:
> Charles Curley wrote:
> > I set up bind9 on an Ubuntu box several weeks ago. Now, email on two 
> > Ubuntu machines is broken. I get, e.g.
> > 
> > Dec 17 09:50:58 phoenix postfix/smtp[436]: 08D2A16A0E4:
> > to=<ccurley at charlesc>, orig_to=<root>, relay=none, delay=8152,
> > delays=8142/0.01/10/0, dsn=4.4.3, status=deferred (Host or domain
> > name not found. Name service error for name=charlesc type=A: Host not
> > found, try again)
> 
> This should work once "dig mx charlesc" works on 192.168.1.3.  Postfix
> looks first for an MX record rather than an A record.

It does? I've never had an MX record before. And failing an MX record,
shouldn't it then try for an A record?

root at phoenix:~# dig mx charlesc

; <<>> DiG 9.4.1-P1 <<>> mx charlesc
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 50271
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0

;; QUESTION SECTION:
;charlesc.                      IN      MX

;; AUTHORITY SECTION:
.                       2152    IN      SOA     A.ROOT-SERVERS.NET. NSTLD.VERISIGN-GRS.COM. 2007121700 1800 900 604800 86400

;; Query time: 1 msec
;; SERVER: 192.168.1.47#53(192.168.1.47)
;; WHEN: Mon Dec 17 12:15:31 2007
;; MSG SIZE  rcvd: 101


> 
> Does "dig mx charlesc.localdomain" work?

root at phoenix:~# dig mx charlesc.localdomain

; <<>> DiG 9.4.1-P1 <<>> mx charlesc.localdomain
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 47276
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0

;; QUESTION SECTION:
;charlesc.localdomain.          IN      MX

;; AUTHORITY SECTION:
localdomain.            86400   IN      SOA     localdomain. hostmaster.localdomain. 2007120702 28800 7200 604800 86400

;; Query time: 1 msec
;; SERVER: 192.168.1.47#53(192.168.1.47)
;; WHEN: Mon Dec 17 12:14:29 2007
;; MSG SIZE  rcvd: 85



-- 

Charles Curley                  /"\    ASCII Ribbon Campaign
Looking for fine software       \ /    Respect for open standards
and/or writing?                  X     No HTML/RTF in email
http://www.charlescurley.com    / \    No M$ Word docs in email

Key fingerprint = CE5C 6645 A45A 64E4 94C0  809C FFF6 4C48 4ECD DFDB
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://plug.org/pipermail/plug/attachments/20071217/e5df7ca4/attachment.bin 


More information about the PLUG mailing list