Sunday, March 14, 2010

Set Ubuntu to use Google DNS for internet

Sometimes my 2Wire router doesn't seem to route to the DNS properly. As such I can ping IP addresses but not domain names. To fix that just tell Ubuntu to use Google DNS (or any other free DNS service) directly.


# In /etc/dhcp3/dhclient.conf

prepend domain-name-servers 8.8.8.8, 8.8.4.4;

No comments:

Blog Archive