ping unknown host response

ping unknown host response

Postby stephen » Tue Aug 26, 2008 10:42 pm

I have a linux server that has lost DNS name resolution capability

eg ping http://www.google.com
ping: unknown host http://www.google.com

eg
host http://www.bigpond.com
;; connection timed out; no servers could be reached

if I add an entry for the host in the /etc/hosts file then the ping gets a response from the ip address resolved from the hosts file.


When I looked at the /etc/resolv.conf file
I found the problem I had the wrong DNS Servers defined
I changed the dns servers to my ISP's DNS Servers and this fixed the problem
nameserver 61.9.211.33
nameserver 61.9.211.1
stephen
 
Posts: 507
Joined: Thu Feb 09, 2006 9:37 am
Location: Brisbane

Return to Linux Server Configuration Notes

Who is online

Users browsing this forum: No registered users and 2 guests

cron