Linux-Noob Forums
if you have dns issues - Printable Version

+- Linux-Noob Forums (https://www.linux-noob.com/forums)
+-- Forum: Linux Noob (https://www.linux-noob.com/forums/forum-3.html)
+--- Forum: Network Problems (https://www.linux-noob.com/forums/forum-58.html)
+--- Thread: if you have dns issues (/thread-2539.html)



if you have dns issues - anyweb - 2005-07-25


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