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:

dhcp_eth0="nodns"
dns_servers_eth0="208.67.222.222 208.67.220.220"

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).

References

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