Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.


As you can see from the picture above, I am connected to google DNS but am unable to resolve any hostnames. When I try to ping sites like google.com, yahoo.com, etc, I get 'ping: unknown host'.

Yes, I am able to ping localhost, I am able to ping hostname.domain.com, but not domain.com.
I can't ping my nameservers. I can ping all hosts by IP address and that works. The output of my /etc/resolv.conf:


Anyone know what the problem could be?

23:30:04.304955 IP my_server.44457 > 28349+ A? google.com. (28)
23:30:06.137985 IP > my_server.domain: 18717 [1au] A? www.my_domain.com. (46)
 23:30:06.138286 IP my_server.domain > 18717*- 2/0/1 CNAME my_domain.com., A my_server (76)
23:30:06.686582 IP > my_server.domain: 65046 [1au] A? my_domain.com. (42)
23:30:06.686811 IP my_server.domain > 65046*- 1/0/1 A my_server (58)
23:30:07.043764 IP my_server.50465 > 13865+ PTR? (44)
23:30:09.065904 IP my_server.45242 > 29011+ PTR? (45)
23:30:09.310021 IP my_server.45440 > 28349+ A? google.com. (28)
share|improve this question
Have you taken a packet capture? –  EEAA Jun 12 '12 at 4:21
Try ping google.com. (note dot at the end) –  user106666 Jun 12 '12 at 4:29
updated with packet capture pinging google.com. with dot at the end gives same results –  Tar Jun 12 '12 at 4:31
possible duplicate of ping: unknown host google.com –  EightBitTony Jun 12 '12 at 8:08

1 Answer 1

up vote 0 down vote accepted

Found the problem within an interface configuration file. There were no other DNS entries besides localhost.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.