How To Switch To OpenDNS Or Google DNS On Linux Elementary OS

Why Should I Change My DNS Server

Changing your DNS servers allows you to bypass through the DNS blocks and connect to most of the blocked websites on the internet. Many people in countries with strict laws use a global public DNS on their routers and personal computers to be able to connect to popular blocked websites. Most of the times, this is enough to bypass a blocked domain. But in some cases, if a domain is blocked at IP level, then this method does not work.

It also offers you possible improvements to internet speed and reliability, allows you to block malicious domains, enforce family shield (blocks adult content), protect yourself from phishing attacks, etc.

Which DNS Server Should I Use

OpenDNS and Google DNS are two of the most popular free and public DNS servers available worldwide. Using Google DNS or OpenDNS might provide you with a slightly faster resolution of names to IP address and possibly some level of protection from known malware or infected domain names.

How To Change DNS Servers In Ubuntu-based Elementary OS?

Step 1 – Fire up your System Settings application.

Elementary OS Loki System Settings

Step 2 – Click on the Network option under ‘Network & Wireless’.

If you are using a wired connection, go to Wired (Ethernet) > Edit Connections > IPv4 Settings.

If you are using a wireless connection (WiFi), go to Wireless > Edit Connections > IPv4 Settings.

In either case you need to choose the network for which you intend to modify the DNS servers.

Step 3 – Under the Method tab, choose ‘Automatic (DHCP) addresses only’.

Wireless IPv4 Settings Elementary OS

Step 4 – Now, if you want to use OpenDNS, enter, as shown in the above image.

Else if you want to make use of Google Public DNS, enter, instead and save the changes.

Step 5 – Disconnect your device from the internet and try connecting again. After connecting, visit the Welcome to OpenDNS page to check if you have successfully configured OpenDNS on your device.

If that didn’t work, you may need to restart your web browser, laptop or your router.

You have now successfully configured OpenDNS on your Elementary OS powered laptop. Though these instructions also apply to Ubuntu and various distros based on Ubuntu, it is roughly the same for all Linux powered devices.

How To Change DNS Servers In Windows OS

Though I can explain it step by step in this guide, there is already an in-depth post available on How-To Geek. You may follow the instructions over there to achieve the same.

There are also other various other free DNS servers available for public using, including but not limited to Norton ConnectSafe, Comodo Secure DNS, Level3 DNS, OpenNIC, DNS.WATCH, etc.


Thus I hope you learnt how to change your Linux OS powered computer’s DNS servers to either Google’s Public DNS or Cisco’s OpenDNS from this easy to understand tutorial.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s