Oddball DNS issue: won't resolve hostname alone.
Charles Curley
charlescurley at charlescurley.com
Mon Dec 17 10:07:50 MST 2007
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)
But I can do:
root at phoenix:~# host charlesc
charlesc.localdomain has address 192.168.1.3
Trying the equivalent with dig, I get:
root at phoenix:~# dig charlesc
; <<>> DiG 9.4.1-P1 <<>> charlesc
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 19310
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0
;; QUESTION SECTION:
;charlesc. IN A
;; AUTHORITY SECTION:
. 10662 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 09:53:41 2007
;; MSG SIZE rcvd: 101
Notice there is no answer section. Doing the same with
charlesc.localdomain returns a correct answer section.
resolv.conf is like so:
root at phoenix:~# cat /etc/resolv.conf
search localdomain
nameserver 192.168.1.47
This just started happening this weekend.
Thoughts?
--
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/e98d2eb6/attachment.pgp
More information about the PLUG
mailing list