up vote 0 down vote favorite
share [g+] share [fb]

I have a centos 5 box and can ping outside by IP but not by hostname.

For example, ping to a known server works fine using IP but not with HOSTNAME.

Any ideas how to trouble shoot this? Other computers inside the network are fine.

Thanks, Graham

link|improve this question
What error are you receiving? hostname unreachable? – John T Dec 11 '09 at 20:48
Would you perhaps be so polite as to mark the answer as such? :) – Zsub Apr 1 '10 at 19:50
feedback

1 Answer

You probably have an incorrect dns server set. Check /etc/resolv.conf and make sure nameserver xxx.xxx.xxx.xxx is your actual DNS server

link|improve this answer
Thanks for the tip – Graham Clarke Dec 11 '09 at 21:04
feedback

Your Answer

 
or
required, but never shown