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 the DNS Servers in Elementary OS?
Step 1 – Fire up your System Settings application.
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’.
Step 4 – Now, if you want to use OpenDNS, enter 126.96.36.199, 188.8.131.52 as shown in the above image.
Else if you want to make use of Google Public DNS, enter 184.108.40.206, 220.127.116.11 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 the DNS Servers in Windows?
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.
This I hope you learnt how to change your computer’s DNS servers to either Google’s Public DNS or Cisco’s OpenDNS from this easy to understand tutorial.