Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top


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,, etc, I get 'ping: unknown host'.

Yes, I am able to ping localhost, I am able to ping, but not
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? (28)
23:30:06.137985 IP > my_server.domain: 18717 [1au] A? (46)
 23:30:06.138286 IP my_server.domain > 18717*- 2/0/1 CNAME, A my_server (76)
23:30:06.686582 IP > my_server.domain: 65046 [1au] A? (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? (28)
share|improve this question
Have you taken a packet capture? – EEAA Jun 12 '12 at 4:21
Try ping (note dot at the end) – user106666 Jun 12 '12 at 4:29
updated with packet capture pinging with dot at the end gives same results – Tar Jun 12 '12 at 4:31
possible duplicate of ping: unknown host – EightBitTony Jun 12 '12 at 8:08
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.