Set up OpenDNS on Ubuntu

One sure-fire way to speed up your Internet connection is to replace your ISP’s slow DNS server with a third party DNS resolver like OpenDNS. Considered by many as one of the best DNS resolution services, OpenDNS is free and is really very easy to set up.

If you want further explanation about OpenDNS or if you are still not convinced to use it, perhaps you should go HERE first.

If you are ready to set up OpenDNS on your Ubuntu desktop, just follow these simple instructions:

1. Right-click on ‘Network Icon’ (located at top-right panel by default) and click on ‘Edit Connections’ to open Network Connections Manager.

2. Choose the type of connection you have. For this example, we will use ‘Wired’.

3. Under ‘Wired’, highlight ‘Auto etho’ and click on ‘Edit’.

4. Inside ‘Editing Auto etho’ window, click on ‘IPv4 Settings’ tab.

5. Under ‘IPv4 Settings’, change the ‘Method’ to Automatic (DHCP) addresses only.

6. Put these nameserver addresses as your ‘DNS Servers’:,

7. Click ‘OK’ and you are done setting OpenDNS on Ubuntu.


Set up Google Public DNS on Ubuntu

Google has recently released their very own DNS resolver with main goals of making web browsing faster and safer. Since Google’s search engine already crawls the web on a daily basis and in the process resolves and caches DNS information, they wanted to make use of their technology to experiment with new ways of addressing some of the existing DNS challenges around performance and security.

As I’ve said on my older post about OpenDNS, that replacing your ISP’s slow DNS server with a third party DNS resolution service will help speed up your Internet connection. So if you are already using OpenDNS right now and are pleased with it, why not try Google Public DNS.

Setting up Google Public DNS on Ubuntu is quick and straightforward.

Then, input these nameserver addresses as your ‘DNS Servers’:,

Click “Ok” and you are done.

For advanced users, you can set up Google Public DNS by editing /etc/resolv.conf:

$ sudo gedit /etc/resolv.conf

Find and replace the nameserver lines with, or add, the following lines:


Save, and then exit. Restart your internet connection and test your new settings.