1. Right-click on ‘Network Icon’ (located at top-right panel by default for Ubuntu, and may be on the bottom for other Ubuntu-based distributions) and click on ‘Edit Connections’ to open Network Connections Manager.
Newer versions of Ubuntu share the same settings; however, may have a more modern theme.
7. Click ‘OK’ and reboot your machine. You can then visit http://welcome.opendns.com to confirm you are using OpenDNS.
To avoid having your settings get revoked after reboots, or after periods of inactivity, you may need to make the following changes via the command line:
$ sudo cp /etc/resolv.conf /etc/resolv.conf.auto
NOTE: The dhclient.conf location may vary depending on you linux distribution.
To locate the correct file you can use:
$ sudo find /etc -name dhclient.conf
$ gksudo gedit /etc/dhcp3/dhclient.conf
# add the following line to the document before the 'require subnet-mask' command
supersede domain-name-servers 22.214.171.124,126.96.36.199;
# save and exit
$ sudo ifdown eth0 && sudo ifup eth0
You may be required to change eth0 to your own network device's name if it uses a non-standard name.