How to set DNS

I was having problems with my ISP’s DNS servers so I decided to set them manually to those from OpenDNS rather than relying on DHCP to set them automatically.

Edit /etc/conf.d/net (on Gentoo Linux) and set the following lines:


Change eth0 to the name of your network interface, also change the IPs to whichever OpenDNS are using at present (they should be listed on their home page).


Last modified: 28/09/2013 Tags:

Related Pages

Other pages possibly of interest:

This website is a personal resource. Nothing here is guaranteed correct or complete, so use at your own risk and try not to delete the Internet. -Stephan

Site Info

Privacy policy

Go to top