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.
2. Choose the type of connection you have. For this example, we will use ‘Wired’.
Note: For wireless users, 'wlan1' or a similar connection should be used in configuration. Generally, wired connections will follow the eth# schema.6. Put these nameserver addresses as your ‘DNS Servers’: 208.67.222.222, 208.67.220.220
7. Click ‘OK’ and reboot your machine. You can then visit http://welcome.opendns.com to confirm you are using OpenDNS.
8. NOTE:
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 208.67.222.222,208.67.220.220;
# 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.