PDA

View Full Version : [ubuntu] DNS not working after upgrade



awacs
April 28th, 2010, 04:48 PM
after apt-get upgrade on Karmic, I'm having trouble with name resolution. Main problem now is that the 'order hosts, bind' directive in /etc/host.conf is not respected. A side symptom is this error:

# dig +trace mail.egps.com

; <<>> DiG 9.6.1-P2 <<>> +trace mail.egps.com
;; global options: +cmd
. 486236 IN NS d.root-servers.net.
. 486236 IN NS f.root-

[...]

;; Received 500 bytes from 127.0.0.1#53(127.0.0.1) in 4 ms

dig: isc_socket_create: address family not supported

Eh?

awacs
April 28th, 2010, 04:51 PM
after apt-get upgrade on Karmic, I'm having trouble with name resolution. Main problem now is that the 'order hosts, bind' directive in /etc/host.conf is not respected. A side symptom is this error:

# dig +trace mail.egps.com

; <<>> DiG 9.6.1-P2 <<>> +trace mail.egps.com
;; global options: +cmd
. 486236 IN NS d.root-servers.net.
. 486236 IN NS f.root-

[...]

;; Received 500 bytes from 127.0.0.1#53(127.0.0.1) in 4 ms

dig: isc_socket_create: address family not supported

Eh?

/etc/nsswitch.conf:

[...]
hosts: files dns
[...]