Bind is running, but server can't ping any outside sites?

noimad1

Well-Known Member
Mar 27, 2003
626
0
166
Bind seems to be restarting properly and there is a proccess running however if I try to ping google.com or ping msn.com it says unkown host?

Any ideas on that one? It seems to be a new problem on this server....
 

chirpy

Well-Known Member
Verifed Vendor
Jun 15, 2002
13,441
31
473
Go on, have a guess
It's likely to be a problem with your /etc/resolv.conf

Try adding the following to the top of that file (changing 11.22.33.44 for your servers main IP address - not 127.0.0.1):

nameserver 11.22.33.44
 

dezignguy

Well-Known Member
Sep 26, 2004
533
0
166
check /etc/resolv.conf and make sure the nameservers listed there are real and actual ns and will respond to dns requests from your server.
 

noimad1

Well-Known Member
Mar 27, 2003
626
0
166
dezignguy said:
check /etc/resolv.conf and make sure the nameservers listed there are real and actual ns and will respond to dns requests from your server.
You were right...I had my two nameservers listed in there....of which the server that was having the problem was one of them. It turns out we just had to move it to be listed first in the resolv.conf file and that fixed it.

Thanks!