Domain name system, or DNS, is the gateway to the Internet. It’s so essential that Internet giants want you to use their DNS servers, for free. For years Google has been offering 22.214.171.124 and 126.96.36.199, and in April 2018, Cloudflare announced a new public server that promises faster speed, better security and is even easier to remember at 188.8.131.52.
A DNS server is like a public directory of the Internet. Here’s a typical example of the role it plays:
Whenever you access a website, such as dongknows.com — which, by the way, is a domain name — the browser, like Chrome or Firefox, first query your DNS server. The server then translates the website’s domain name (a.k.a. web address or URL) into an IP address — a string of seemingly random numbers — and gives that back to the browser. The browser then follows that IP address to load the website.
This process is necessary because computers only understand numbers while humans are pretty bad at remembering them. It’s similar to a telephone directory service where you just need to remember a person’s name and not their phone number.
That said, the faster a DNS server is, the less time you need to wait to reach a website, resulting in a “faster” Internet experience. Most importantly, as you can imagine, the owner of the server, among other things, can easily have a log of what websites you visit, or block you from accessing specific sites, and so on. In short, a DNS server can impact the speed, privacy, and security of your online life.
By default, your DNS is that of your Internet provider which gets the job done but not necessarily the best. Changing DNS settings allow you a bit more control over your Internet access and can even free you from censorship. That’s true! While traveling to certain countries, I’ve been able to access what wasn’t available at the local area just by using a different DNS server.
Considering how vital DNS is, make sure you use servers from trustworthy parties.
How to change your DNS
You can change the DNS server settings at a single computer level or the router level. The former works well for mobile users since the DNS settings remain the same no matter where the user is. The latter is useful for the entire network hosted by the router: all devices, by default, will automatically share the DNS settings of the router.
Below are the steps to change DNS server settings.
Steps to change DNS server settings in Windows 10
- Click on the Start button (lower-left corner) then type in ncpa.cpl in the search field then press Enter. The Network Connections window will appear.
- Pick the network connection you’re using — if you’re on a laptop it’s likely the Wi-Fi connection — and right-click on it, then choose Properties.
- In the Properties window, double click on Internet Protocol Version 4 (TCP/IPv4)
- In the next window, check the Use the following DNS server addresses box and enter the addresses for the Preferred DNS server (you can use 184.108.40.206 here) and Alternate DNS Server (you can use 220.127.116.11 here).
- Repeat step 3, but this time double click Internet Protocol Version 6 (TCP/IPv6) if you have that information, (if not you can skip this step). Then click on OK to close the windows and apply the changes.
Steps to change DNS server settings on a Mac
- Click on the Apple icon (top left corner), then on System Preferences, and then on the Network icon.
- Select the current network connection (it’s likely the Wi-Fi connection if you’re using a notebook) then click on Advanced…
- Click on the DNS tab
- Use the plus (+) button under DNS Servers to enter the addresses of your liking. For example, you can use 18.104.22.168 for the first server and 22.214.171.124 for the second one.
Steps to change DNS server settings on a router
- Log in to the router’s web interface.
- Navigate to the WAN (or Internet) section of the interface; every router has this section.
- Choose to enter DNS server addresses manually (basically, you want to disable the default value that lets the router automatically pick the DNS servers of the service provider).
- Enter the DNS addresses of your liking, such as 126.96.36.199 for the primary server and 188.8.131.52 for the secondary (backup) server.
- Apply the changes.
Considering the significant role of your DNS servers, again, make sure you pick one you can trust when you change the values manually. When in doubt, just leave the setting as Auto, and the system will use the default, which generally is that of your Internet provider.
Changing the DNS setting is also a popular way to “hack” a system. I this case, the bad guys capture your DNS requests to send you to phony destinations or services. That said, make sure you’re aware of your DNS settings, especially at the router’s level.