The Domain Name System (DNS) is one of the foundations of internet use. Since computers only know numbers, DNS serves as an online directory to match domain names like VPNOverview.com with their IP address counterparts. DNS servers are devices or programs that store millions of corresponding domains and their IP addresses across the globe.
An Internet Service Provider (ISP) usually sets up users with a DNS server, which, depending on the ISP, could be slow, insecure, or unreliable. Internet users may decide to change their primary DNS server for any one of these reasons, or may just be interested in trying a third party provider.
Many public DNS servers provide heightened security, faster speeds, and constant uptime, in addition to other features like content blocking. Some of the most popular choices are Google Public DNS (184.108.40.206. or 220.127.116.11.) Cloudflare (18.104.22.168. or 22.214.171.124), and OpenDNS (126.96.36.199 or 208.67. 220.220).
Want to know more about DNS servers and which are safe to use? Read the full article below.
Though the Domain Name System (DNS) is one of the cornerstones of the internet’s functionality, many users aren’t aware they use it every single day. Whether it’s browsing social media, checking email, or looking at the news, DNS is what you use to get where you’re going online. But how does it work? What is a DNS server? Which are safe to use? Can you switch servers? This article will answer all of these questions, and more.
What is DNS?
The concept of surfing the internet seems simple enough. You type www.VPNOverview.com into your browser, and bang, the website shows up on your screen and starts feeding you loads of information and content on internet privacy and cybersecurity. But there’s a little bit more to it, and we’ve got the Domain Name System (DNS) to thank for making it seem so simple. Every internet user and domain has an IP address. Think of it like a “virtual postal address.” The servers that handle your requests don’t actually understand domain names like VPNOverview.com – their language is numbers, and they only understand numeric IP addresses like 191.76.350.198.
Think about it like this: you may remember that one of your family members lives at 123 Overview Lane, and maybe even recall a few of your friends’ phone numbers and email addresses, but you probably can’t remember them all. There’s too many numbers. But you know everyone’s names, and can look them up in your contacts list on your smartphone. That’s what the DNS system is for. It’s like your contact list, but it matches domain names with numeric IP addresses.
What is a DNS Server?
Obviously, the contact list for the internet is way too large to store in a smartphone. According to Verisign, 2021 closed its first quarter with roughly 363.5 million domain registrations. All these domain names and corresponding IP addresses are stored on servers across the globe called DNS servers. DNS servers are devices or programs that answer domain queries from desktop or mobile devices, called DNS clients. So the DNS servers provide this service to DNS clients.
Take this scenario: You’re the DNS client. You enter VPNOverview.com into your desktop or mobile browser. A DNS server translates that domain name into an IP address and pulls up the correct site, all in under a second. Since DNS servers are constantly bombarded with DNS queries, the servers are always communicating with each other so they can catch redundancies and update data about websites. So with the DNS system, it doesn’t matter if the IP address or hosting of our site changes, DNS servers will always bring you back to the correct IP address so you can browse the latest from VPNOverview.com.
Why Would I Change My DNS Server?
Since you’re reading this, you’ve already used a DNS server to get here, whether you realized it or not. If you don’t know what DNS server you’re using, your internet service provider (ISP) likely provided it when you signed up. Though many internet users may never leave the DNS server provided by their ISP, others might opt to switch to a free, third party public DNS server instead for a variety of reasons.
Third party providers often have more power behind their DNS servers, and provide a faster internet user experience. DNS server performance can depend on physical distance between the server and your Wi-Fi router, so remember location can be a factor for performance.
As your current DNS server could be owned by your ISP, privacy might be a concern. If you’re on your ISP’s DNS server without a VPN (a service that allows you to change your IP and the server you use), not only can your ISP see your online activity, but depending on the provider, you could be set up on a DNS server that lacks privacy or desirable security measures. This could allow third parties to see your internet actions, or your ISP to use your online browsing history to return targeted advertising.
We all dread those error messages and blank screens when we’re trying to pull up a website. A server provided by your ISP might not only be slower, but could be down more often. Users often switch to third party DNS providers because of uninterrupted uptime and more reliable service.
Your ISP’s DNS provider may not have sufficient parental controls. With some third party DNS servers, like OpenDNS, you can block inappropriate or explicit websites, as well as entire categories of websites at the source.
With all the malware, phishing sites and other scams floating around the online world, security is more important than ever. You don’t want to wind up on a server controlled by a hacker. Some public DNS servers promote their advanced security and encryption protocols.
Can I Change My DNS Server?
Changing your current DNS service to a more secure DNS provider won’t harm your device or network. Your actions are reversible, and you can try different ones to see which works fastest for your specific location. Before you change your DNS settings, make sure to write down the current server addresses or settings somewhere, if there are any. If you do need to revert, you’ll need these numbers for backup.
Change your DNS server in Windows 10
- Open the Control Panel.
- Under “Network and Internet” select “View network status and tasks.”
- Select “Change Adapter Settings.”
- Right click “Network Adapter” and select “Properties.”
- Select “Internet Protocol Version 4 (TCP/IPv4)” and then “Properties.”
- Enter your preferred and alternate DNS server IP addresses (provided later in this article).
- Select “OK” when done.
- Test your browser with a new website query. Make sure your browser isn’t pulling from the cache by clearing it or browsing incognito. It may take ten to thirty seconds or so to lock in with the new DNS server.
Change your DNS server on a macOS
- Select the Apple menu.
- Select “System Preferences“, then click “Network“.
- Select the connection you wish to configure (Wi-Fi or Ethernet), then click “Advanced“.
- Select the DNS tab.
- Click “+” to add a new IP address, or replace an address listed. Enter your preferred and alternate DNS server IP addresses (provided later in this article).
- Select “OK“, then “Apply” when done.
- Test your browser with a new website query. Make sure your browser isn’t pulling from the cache by clearing it or browsing incognito. It may take ten to thirty seconds to lock in with the new DNS server.
Which Public DNS Servers Are Best to Use?
If you think it might be time to make a switch to a third party DNS service provider, there are plenty to choose from. Some focus strictly on security and speed, while others offer different features. The DNS server that a user selects, completely depends on what they’re looking for. If you want to switch to any of the DNS servers below, you just have to change the server’s IP address in your router. There’s no sign up or registration necessary, unless you want to upgrade to a paid plan or use features like content filtering.
Though public DNS servers are able to track and store your every website query, and see every domain you request, there’s a reason for this. It’s so the servers can pull up your favorite sites from the cache faster by memory, and improve your user experience. Providers may log your internet activity for further use, however, so that’s something to consider for the privacy-conscious.
Google Public DNS
You’re likely familiar with Google Search, Google Chrome, the Android OS and plenty of other Google products. Behind these applications is Google Public DNS, one of the fastest DNS servers available. It’s been available free for users for the past 10 years or so, with the easy-to-remember IP addresses of 188.8.131.52 and 184.108.40.206.
While you’re likely protected from hacks and cyber-attacks from the security a tech giant brings to the table, keep in mind Google is an advertising company which could track and monitor your activities for marketing purposes.
OpenDNS has been offering their free public servers for around the past fifteen years. The company does store your DNS web browsing activity and IP address information when you use their servers. Though OpenDNS does this for personalization and bettering the user’s overall experience, it’s something to consider for privacy-conscious users. They promote a free Family Shield server plan that households can use to block out content not suitable to children. Similar servers are also available for small businesses to block out malicious, inappropriate or even time-wasting sites.
Though newer to the scene than the other two big players, Cloudflare has made a name for themselves in the DNS space. Cloudflare provides DNS servers to some of the largest and most innovative companies today and include IBM, Shopify, Loreal, Doordash and Labcorp, among others. They offer heightened security and protection at the easy-to-remember IP addresses of 220.127.116.11 and 18.104.22.168. They have a free public DNS server, with the option to upgrade to monthly plans with paid add-ons starting at $20 and going up to the hundreds.
Two public DNS servers based in Denmark have been available for use since 2009, free of charge. Thomas Steen Rasmussen – who used to administer censored DNS servers for ISPs to comply with Danish censorship requirements – funds and runs Uncensored DNS as kind of a pet project, and says the servers neither store any information about users nor how they use the system. They have encryption protocols against hackers, such as DoH and DoT, on their servers for extra security, though you’re essentially entering a handshake agreement that no one will log your info.
Quad9 is another free public DSN server that touts speed and top notch security, and has been active since 2017. Run by the Quad 9 Foundation based in Switzerland, their mission statement is “to provide a safer and more robust Internet for everyone.” The service blocks lookups of malicious host names from a constantly updated list of threats. They reportedly make 60 million of these blocking actions per day.
Users can simply change their DNS server to Comodo’s IP address 22.214.171.124 or 126.96.36.199 for free service, or sign up for a free package that offers up to 300,000 DNS queries a month. If users want to upgrade to a business plan, there’s plenty of options to use additional features like full DNS traffic encryption, content filtering and advanced malware protection.
|Free Public DNS Servers
|IP Addresses (IPv4)
|IP Addresses (IPv6)
|Google Public DNS
Should I Use Paid DNS or a Free DNS Service?
When you sign up for internet service, your ISP will provide you with a DNS server. Most free public DSN servers – like Google DNS, Cloudfare or OpenDNS – provide the average user the security and speed they need.
If you’re registering a domain for your own website, the registrar will also provide you a DNS server. Paying for premium is up to the user. You can imagine a DNS service provider like any other premium service. A paid service is going to give your website better, faster and more reliable service, and increased security.
If you’re a freelancer running a portfolio site to get more clients, it may not be necessary to pay for a premium service. But if you’re running a business or commercial site with high traffic that needs constant uptime and additional security for customers, you might benefit from premium features. Especially since basic services can be just a few extra dollars a month.
Which DNS server is the safest?
When it comes down to it, it’s really a matter of personal preference which DNS server you choose. Google Public DNS provides the speed and cybersecurity at the possible expense of storing your internet activity for later use. If you’re willing to trade speed for discretion, you could try Uncensored DNS.
If you need to block explicit content or sites you don’t want your children using, OpenDNS might make the best choice.
What’s of the utmost importance is finding a secure DNS server. If you’re using a server that’s vulnerable to hacks, you could fall victim to DNS cache poisoning, DNS spoofing or other DNS-related cyber-attacks.
The Dangers of an Unsafe DNS Server
Unfortunately, savvy hackers have been known to breach insecure DNS servers, and tap into security holes in the Domain Name System. There’s a variety of cyberattacks that can be used on vulnerable servers and DNS caches.
DNS cache poisoning and DNS spoofing
Your DNS cache is where your prior DNS queries and searches are temporarily stored on your operating system or browser. Keeping that local DNS information allows the OS or browser to more quickly and efficiently pull up and resolve a domain and IP query.
DNS cache poisoning will trick servers into connecting to a malicious IP address by blitzing a DNS resolver cache with fake addresses that correspond to a DNS query. If successful and once in the cache, the user could be lead to a fake site – let’s say a fraudulent PayPal site– where they might enter sensitive and personal financial information. At this point, the scam is also known as DNS spoofing, since you’ve now been lead to a “spoofed” site as you’re cache has been “poisoned.”
This is why it’s necessary to keep an eye on your browser when you visit sites that require sensitive personal information. The spoofed URL in the browser won’t actually say PayPal.com, but rather a variation like yourbestpaypall.com or something different altogether.
DNS hijacking and redirection
DNS hijacking is when hackers physically change DNS settings using different methods. DNS spoofing could be accomplished this way. There are several ways DNS hijacking can occur:
- Hijacked DNS Server — cybercriminals can hack an insecure DNS server, and change settings and records to redirect DNS requests to malicious sites. At this point, anyone using this DNS server is using one that’s been taken over by a hacker.
- Hijacked DNS Router — perpetrators can take over a router and change DNS settings. This would affect any devices using the router and redirect them to dangerous sites.
- Hijacked Local DNS — hackers install Trojan malware on a user’s device and alter local DNS settings. This will take users to malicious sites.
Some ISPs can even use a form of this method to hijack a user’s DNS requests, collect data and then return advertising. Some authoritarian governments use forms of DNS hijacking to enforce censorship and redirect users to government-approved sites.
All of the third party DNS services providers mentioned above have extensive security to avoid attacks like this, but your ISP’s DNS server may not.
A DNS leak refers to a situation where a user’s VPN connection has functioned improperly, and the user’s data is now transmitted out of the secure connection. This means that the user’s data can be accessed by their ISP or another third party.
If you use a VPN server, your DNS request is sent to an anonymous server through the VPN, which prevents your ISP from monitoring your actions. However, in a DNS leak, your browser will bypass the VPN and send your request to your ISP’s server. The danger is that users are typically unaware that a leak has occurred and think their private data is safe, even when it’s not.
What causes a DNS leak?
There are several reasons for DNS leaks, some more common than others:
- Misconfigured VPN — Most commonly, a DNS leak is caused by a VPN service that was configured incorrectly on a device or operating system. For this reason, users should select a VPN service with cross-platform compatible clients.
- OS incompatibility — Many OS devices have features that can meddle with DNS requests. In some, the problem may result from an improperly configured network or DNS server setting.
- DNS hijacking — There’s also the possibility that a cybercriminal hacked into a user’s server, router or local device to send their data outside of the VPN tunnel, though this scenario is far less common.
How do I know if I have a DNS leak?
Generally, it’s difficult to tell if your computer is directing DNS requests through your ISP’s server instead of your VPN’s server. However, you can easily identify a DNS leak by using an online leak test. There are many different DNS leak tests available, such as www.dnsleaktest.com and www.ipleak.net. These tests are simple to run. With dnsleak.com, you just navigate to the website and locate the “Standard Test” or “Extended test” button.
Either of these options will work, but the extended version runs a more in-depth test. Click on your preferred test, and the test will run and then display a results page. On the results page, you will see a list of DNS server IPs. If any of the IPs belong to your ISP, this indicates that your ISP can see your connection and track your private data or online actions. However, if the IP addresses belong to your VPN provider, this indicates that there is no DNS leak and your traffic is safe.
How do I fix a DNS leak?
If you’ve determined that you are experiencing a DNS leak, there are a variety of different methods you can use to stop the leak and prevent them from happening again.
- Change your DNS server — Switch over to Google Public DSN, OpenDNS, Cloudflare or Uncensored DNS if you’ve got a leak. If you’re concerned about your ISP or third parties eyeing your activity, they won’t be able to on more secure servers.
- Use DNS servers from VPN providers — Some VPN providers, like ExpressVPN, Surfshark, or NordVPN, allow you to use their own private, encrypted DNS servers in addition to providing a private browsing tunnel.
- Use a VPN with DNS leak protection — Some premium VPN providers (ExpressVPN, Surfshark and Private Internet Access) have features that notify users when there are DNS leaks. Check the settings on the VPN and set it for protection.
What is SmartDNS?
Smart DNS is a technology that unblocks websites and digital media unavailable to your country or geo-specific location. So if you’re visiting a European country this summer, you can watch American Netflix, Amazon Prime or Disney Plus while back in your hotel room, or stream Pandora music from your poolside deck chair. Or if you’re living in a country that blocks Facebook, you’ll be able to set up an account.
This concept sounds similar to a VPN, but works in a different way. Instead of masking your IP address and creating a tunnel of anonymity, like a VPN, SmartDNS redirects your DNS queries to its content-friendly DNS servers, essentially unlocking the gate to the blocked content while drawing no suspicion to your activity.
Users might opt for SmartDNS over a VPN to avoid automatic security and bot checks that get set off when a user logs in repeatedly from different IP addresses. With its streaming content focus, one benefit does seem to be speed. Since a VPN uses some bandwidth to encrypt all of your internet activity, and allows you to be totally anonymous, SmartDNS could potentially unlock content unavailable to your location at a much faster speed.
Overall, a VPN provides more online security and is a better choice for unlocking content as it protects your identity and activity while performing the same duties.
The Domain Name System (DNS) is the foundation of internet browsing, and choosing the best DNS servers is fundamental to a good internet experience for the user. If you’re experiencing slow internet speeds, poor connectivity or some other issues, it might be time to look into new DNS servers. If you think your ISP’s DNS servers might be insecure, try out Google DNS, Cloudflare, OpenDNS, Quad9, Uncensored DNS or Comodo. But if you want to keep your internet activity from prying eyes and data collectors altogether, take advantage of the anonymity that a VPN provides.
Do you have a question about the Domain Name System (DNS) and DNS Servers? Click on one of our frequently asked questions below to view the answer.
DNS, or the Domain Name System, is like an online directory for domain names (like VPNOverview.com) and their corresponding IP addresses. Computers only know numbers, and humans are better with easily-remembered domain names, so the system matches domain queries with their IP addresses.
DNS servers are devices or programs that handle DNS queries from desktop and mobile devices. With more than 360 million registered domains and corresponding IP addresses, this information is stored on DNS servers around the world. Servers communicate with each other constantly to update data on websites.
Security depends entirely on the server you’re using. Your Internet Service Provider sets you up on a DNS server, and if you feel it’s not secure, third party DNS servers like Google Public DNS, OpenDNS and Cloudfare have top-notch security features and connection speeds. To learn more about these and other safe DNS servers, read our full article.
Switching to a more secure DNS provider from your current DNS service won’t hurt your device or network. You can reverse any changes you make, and try different servers based on your location. You simply enter new primary and secondary DNS IP addresses into your router’s settings. Simple instructions on how to change your DNS server can be found here.
A DNS attack goes after vulnerable areas in the Domain Name System. This could be attacking insecure DNS servers, performing DNS cache poisoning and DNS spoofing, or DNS hijacking. If a hacker manages to override DNS settings or queries, internet users can be redirected to malicious sites.