1. Home
  2. VPN / Privacy
  3. Test dns leaks
We are reader supported and may earn a commission when you buy through links on our site. Read Disclosure

How To Test For DNS Leaks

Today’s article covers several methods of testing for DNS leaks on your VPN connection. You’ll learn why it’s important to do so, plus get recommendations for top-tier VPN providers with built-in methods of detecting, fixing, and preventing DNS leaks in real time, allowing you to lock down your privacy online with confidence.

Why Trust AddictiveTips
Our expert team has rated and compared 30+ VPNs over a decade. As technology advances, we update our rigorous testing and scoring methodologies to match it and stay relevant.

If you’re a person who cares about internet privacy, then you probably already use a VPN and you know why it’s important to encrypt your traffic and to disguise your IP address. However, not all VPNs are created equal. Some VPNs let some information about their users leak out, meaning that these VPNs are not as fully anonymous as they should be.

But there are leak-free VPNs out there, and we’ve found the best ones:

  1. NordVPNBest Against Leaks – NordVPN offers watertight security, with military-grade encryption, myriad leak protection, and an excellent logging policy.
  2. Surfshark – Not only offers all sorts of leak protections, but unbreakable tunneling protocols. Great BVI jurisdiction.
  3. ExpressVPN – Also BVI jurisdiction, with a highly stable and secure network that also offers incredible speeds.
  4. CyberGhost – Extremely easy to use VPN with a colorful, friendly interface. Uncompromising on security.

A study published in the academic journal Proceedings on Privacy Enhancing Technologies in 2015 raised this issue into the mainstream. It found that many VPNs, even well known and well respected ones, leaked information that could be used to identify their users. This caused a big shake up as VPN providers rushed to patch the security holes and make sure that their DNS services did not leak information.

Today, most reputable VPN services are careful to avoid the possibility of DNS leaks. But if you’re serious about security, then you might want to test for yourself whether your VPN is leaking DNS information. In this article, we’ll explain how to test for DNS leaks and talk about how you can find a VPN provider which does not leak DNS.

68% OFF + 3 Month FREE

What Is DNS?

To understand what a DNS leak is, you need to understand what DNS means. DNS stands for domain name system, and it is the system that links website URLs (like addictivetips.com) to specific IP addresses where that website is hosted. Think of it like an address book: DNS links the URL that you type into your browser to the actual content of the website which is stored on a server.

To use this address book, you need to access a DNS server. Usually, you use the DNS server that is automatically assigned to your by your ISP. This means that your ISP can see what sites you are visiting, as they have a record of the requests that you send to their DNS server whenever you type a URL into your browser.

When you use a VPN, the service should perform a few key operations to protect your privacy: it should encrypt all of your traffic, it should hide your IP address, and it should make use of the VPN provider’s DNS servers instead of your ISP provider’s servers. This way, your ISP cannot track the websites that you visit as the DNS requests are sent to your VPN’s server instead of your ISP’s server.

RELATED READING: VPNs vs. Smart DNS.

What Is A DNS Leak?

A DNS leak occurs when you are connected to a VPN but your device ignores the VPN’s DNS server and connects to your ISP’s DNS server instead. Your OS should know to use the VPN provider’s DNS server instead of your ISP’s DNS server, but some software gets this wrong. It’s common for Windows to make this error, for example, though it can also happen on macOS and Linux.

The DNS error happens because the operating system uses the default connection settings to connect to your ISP’s DNS servers instead of acknowledging your VPN’s instructions to connect to the VPN provider’s servers. It can also happen when you have set up your VPN manually, or if you are using and older or poorly constructed VPN service which does not offer adequate protection. When your system accidentally connects to your ISP’s DNS servers even though you have a VPN active, this is a DNS leak.

RELATED READING: DNS Hijacking Explained

Why Test For DNS Leaks?

So why is this a problem? What’s the big deal about leaking DNS information, and why would you want to test for this? The issue is that when your VPN leaks DNS information, your ISP will be able to see and collect information about your internet use. They may be able to see which sites you are visiting, whether you are downloading files, and what apps or services you are using.

Worst of all, users will usually not be aware that they are leaking DNS information, and therefore think that they can browse freely without any record. So, a user may choose to download a file, thinking that they are protected by their VPN. But in fact, their ISP can see that they are downloading, and could hit them with a fine or with legal consequences due to their download.

If you use a VPN, it’s highly advisable to test for DNS leaks at least once – or better yet, to test regularly just to be sure. This way, you can be confident that your VPN is working and protecting you in all the ways that it should, and you can know that your ISP won’t be able to see any of your internet activity.

Testing For DNS Leaks: Method #1

One of the most popular ways to test for DNS leaks is to use the website dnsleakstest.com. This site is independent from VPN providers or security services, so you can trust that it gives objective results. The information provided by the test is a useful way to learn about whether your VPN is leaking DNS, however, it takes a bit of getting used to to read the results. Here is how to use this site:

  1. Start up the VPN service that you want test and connect to a server in the location of your choice
  2. Go to https://dnsleaktest.com/ in your browser
  3. You will see a page with your IP address and a map showing where the server that you are currently connected to is located. This information should refer to the IP address and location of your VPN server – not your real IP address and location. If your real location is shown, then double check that your VPN is on and is connected. If the VPN is on but your real location is displayed on the website, then you have a serious problem as your VPN is not currently disguising your location. We’ll assume that everything is working okay though, so you see the location of the server you’ve connected to
  4. You’ll see buttons below the map: one for Standard test and one for Extended test
  5. Click on Standard test
  6. You’ll see a spinning wheel and a loading message for just a second while the test is performed
  7. Now you’ll see a notice that the test is complete and the results will appear
  8. The results have four sections: IP, Hostname, ISP, and Country
  9. The most important column that you need to look at is the ISP column. Look at your results in this column
  10. If the name in the ISP column shows a company you don’t know, then you are fine. If the data in the ISP column shows your actual ISP though, then you have a DNS leak. For example, if your ISP is O2 UK, your results page might list your ISP as Leaseweb Deutschland GmbH. This means that you are protected and everything is okay. However, if you see O2 UK on the results page, then your DNS data is leaking and you have a potential security issue that you need to address

Testing For DNS Leaks: Method #2

There is another way that you can test for DNS leaks using a tool on the ExpressVPN website. This tool is provided by a VPN company, ExpressVPN, so it is primarly for users of that VPN but it can be used to test all VPN types. The results are more visual and a bit easier to understand than the results from dnsleaktest.com, which is why we recommend this method for newer VPN users who are on ExpressVPN. Here’s how to use this tool to test for DNS leaks:

  1. Start up your VPN program and connect to a server anywhere in the world
  2. Open your browser and go to https://www.expressvpn.com/dns-leak-test
  3. Wait for just a second while your browser performs the test
  4. Then you’ll see your results page, which will have information about your IP address, Provider, and Country
  5. On the left hand side of the page, you’ll see a green tick in a shield if you are connected to ExpressVPN, with information about the server you are connected to. If you are using a different VPN, you’ll see a red cross in the shield and a note saying that ExpressVPN is not connected. That’s okay though, as you can still look at the DNS information
  6. Look at the columns in the middle of the page. If you’re on ExpressVPN, you should see a note saying No DNS leaks detected, and the information in the Provider column should say ExpressVPN. This means that everything is working okay and you are not leaking DNS data
  7. If the information in the Provider column matches your actual ISP, then you are leaking DNS information and you need to take steps to fix this security issue

Recommended VPNs That Do Not Leak DNS Data

If you’re looking for a VPN that does not leak DNS information, then we have some recommendations for providers that we have checked and confirmed to be DNS leak-free. These are our top VPN recommendations that do not leak DNS data:

1. NordVPN

NordVPN - Editors choice

When you want the top level of security from your VPN, then you need NordVPN. It has the usual security features like strong 256-bit encryption and a no logging policy, but in addition to this is also has a unique security feature in the form of double encryption. This means that your data is encrypted on your device and sent to a server, then it is encrypted again and sent to a second server for decryption. This means that it is essentially impossible for anyone to crack your encryption. The connections are fast, and the server network covers more than 5,100 servers in around 59 different countries. The software is available for Windows, Mac OS, Linux, iOS, Chrome OS, Android, and Windows Phone, plus the Chrome and Firefox web browsers. NordVPN does not leak DNS information, and you can see more information about DNS leaks at https://nordvpn.com/features/dns-leak-test/

Read our full NordVPN review.

Pros
  • SPECIAL OFFER: 2-yr plan (70% off - link below)
  • 5,400+ servers globally
  • Up to 6 simultaneous connections
  • No logs and encrypted connections for total privacy
  • Great support (24/7 chat).
Cons
  • Some servers can be unreliable
  • Apps can sometime be slow to connect.
MOST SECURE VPN: NordVPN has built-in DNS leak detection, ensuring you never let a single data packet out unprotected. Get a huge 70% discount on the 3-year plan ($3.49/mo), backed by a hassle-free 30-day money-back guarantee.

2. Surfshark

Surfshark VPN

Surfshark is truly a VPN for the modern Internet, offering all the most essential features in an affordable package. What’s more, Surfshark includes automatic protections against IP, DNS, and even WebRTC leaks. Coupled with a kill switch, and not a single packet of data will escape unencrypted.

On that point, Surfshark uses only the best encryption: the 256-AES-GCM cipher, which is also used by the NSA. They offer a ton of connections to 3200+ servers in 65 countries, with static IPs and multi-hop connections available. Surfshark will even obfuscate your connection when it detects the need, allowing you to hide your VPN traffic.

Surfshark even hedges against the biggest leak of all, with zero VPN logs. They’re based in the BVI, and thus exempt from data retention laws that compromise the anonymity of VPN users.

Pros
  • Every server optimized for unblocking Netflix, BBC iPlayer, Hulu, and more
  • All 800+ servers are P2P-friendly, with private DNS and obfuscation
  • CleanWeb mode blocks ads and popups before they load, saving your mobile data and speeds
  • Absolutely no logging of connection data, IP addresses, bandwidth used, or traffic
  • Get help any time of day via email, phone, or live chat.
Cons
  • Speeds occasionally suffer a noticeable drop
  • Apps may be too simplistic for power users.

Read our full Surfshark review.

BEST BUDGET OPTION: Surfshark is a highly secure VPN with DNS, IP, and WebRTC leak protection. Get 83% off a two-year plan + 3 months FREE for just $2.21 per month.

3. ExpressVPN

ExpressVPN

ExpressVPN is one of the biggest and most trusted names in VPN technology thanks to it excellent reliability and good speeds. It has super fast connections for blazing fast internet use with no slow down. And the security is also excellent with 256-bit encryption and a no logging policy. The server network covers a massive 3,000 servers in 160 different locations in 94 countries, so you connect to servers from all over the world to access truly global content from the intenet. The software is available for Windows, Mac OS, Android, iOS, and Linux. ExpressVPN does not leak DNS information and has a leak test which you can try to reassure yourself at https://www.expressvpn.com/dns-leak-test

Read our full ExpressVPN review.

Pros
  • Unblocks Netflix and other streaming sites
  • Super fast servers (minimal speed loss)
  • Torrenting allowed
  • Strict no-logs policy for personal information
  • 24/7 Chat Support.
Cons
  • Max 3 connections simultaneously
  • Slightly pricier than competition.
GREAT ALL-ROUNDER: Get 3 months free and save 49% on the annual plan. 30-day money back guarantee included.

4. CyberGhost

cyberghost

If you want a massive network of servers that will let you access content from many different countries, then we recommend CyberGhost. It has an amazing 5,700 servers in 90 different countries for maximum flexibility. It has the essential security features, like 256-bit AES encryption and a no logging policy. The service uses 2048-bit keys which are generated randomly for each session, which makes intercepting a connection extremely difficult. The connection speeds are good so your browsing won’t be slowed down, and you can install the software on platforms including Windows, MacOS, iOS, and Android. CyberGhost does not leak DNS information, and they have a page of advice on how to avoid anonymity leaks on their website at: https://support.cyberghostvpn.com/hc/en-us/articles/213353589-How-to-avoid-anonymity-leaks

Read our full CyberGhost review.

Pros
  • LOW PRICE: 6 EXTRA free months (79% off - link below)
  • Compatible with TOR
  • GooglePlay users rating: 4.3/5.0
  • Strict no logging
  • Reliable and knowledgeable 24/7 live chat support.
Cons
  • Doesn’t unblock all streaming services.

Conclusion

DNS leaks are a threat to the anonymity and security of VPN services. This was a major problem a few years ago, but by now most reputable VPNs have rolled out fixes for the issue so DNS leaks should no longer be so common. Even so, it’s a good idea to test out your VPN connection periodically to ensure that you are not leaking DNS information – as leaks can majorly compromise your security by letting your ISP see what sites your are visiting and more.

We’ve shown you a couple of methods for testing whether your VPN is leaking DNS information, and recommended three of our top VPNs that have been confirmed to not leak DNS data. Any of these VPNs will keep your safe and protect your privacy, including keeping your DNS data safe.

Have you had experiences with VPNs that do leak DNS data? Which VPN have you found to have the best level of security? Let us know in the comments below.

How to get a FREE VPN for 30 days

If you need a VPN for a short while when traveling for example, you can get our top ranked VPN free of charge. NordVPN includes a 30-day money-back guarantee. You will need to pay for the subscription, that’s a fact, but it allows full access for 30 days and then you cancel for a full refund. Their no-questions-asked cancellation policy lives up to its name.