Linux-Noob Forums

Full Version: if you have dns issues
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

if you can ping 66.249.87.99 but cannot ping www.google.com then chances are you have DNS issues (cannot resolve hostnames)

 

to fix, try manually editing /etc/resolv.conf and input your nameservers in there

 

heres a sample

 

Quote:; generated by /sbin/dhclient-scriptnameserver 192.168.0.1
 

of course, in my case, 192.168.0.1 is my nat/firewall box, but you can point that ip to your ISP's nameservers

 

changes to resolv.conf take place immediatly so no need to restart networking...

 

cheers

 

anyweb