DNS leak test: what it shows and how to read the result
A DNS leak test shows which DNS servers look up website addresses for your browser. If you’re on a VPN and the list shows your internet provider instead of the VPN, your lookups are going around the tunnel, and your provider can still see every site you open.

Contents
- What is a DNS leak?
- How do I run a DNS leak test?
- How do I read the result?
- What does a DNS leak test show when you use a proxy?
- How do I fix a DNS leak?
- How do I avoid a DNS leak with a proxy?
- FAQ
What is a DNS leak?
A DNS leak happens when your device sends its DNS lookups outside the VPN while the pages themselves load through it. Before any site opens, your device asks a DNS server for that site’s address. At home this server usually belongs to your internet provider. A VPN is supposed to route these questions through the tunnel to its own DNS servers, so the provider sees nothing but encrypted traffic.
When the lookups slip past the tunnel, two things happen. Your provider, or whoever runs that DNS server, gets a list of the sites you visit. And a site that compares your IP with your DNS server sees an address in one country and a resolver from your home provider in another.
Leaks usually come from ordinary settings.
- the operating system keeps using its default DNS server next to the VPN’s;
- the browser’s own secure DNS sends lookups to its provider, for example Cloudflare or Google;
- the VPN only covers IPv4, and IPv6 lookups go out the normal way;
- Private DNS on Android overrides the VPN’s server;
- some internet providers intercept every DNS request on port 53, whichever server it was meant for.
How do I run a DNS leak test?
Open a test site in the same setup you normally work in, with the VPN on or inside the browser profile that uses the proxy, and start the check. Three free sites cover it.
On dnsleaktest.com there are two buttons. The standard test sends one round of 6 lookups. The extended test sends 6 rounds of 6, which is 36 lookups, and takes 10 to 30 seconds longer. Run the extended one, because it also catches servers your system only uses now and then.
ipleak.net shows your DNS servers on the same page as your IP, a WebRTC check and torrent address detection, which is handy when you want everything at once. BrowserLeaks has a separate DNS page that looks up 50 random names, half over IPv4 and half over IPv6, so it shows an IPv6 leak clearly.
All three sites work the same way. Your browser looks up random made-up names on the test site’s domain, and the test site’s own DNS server records which resolvers came asking. If you want more checkers to compare, our roundup of Whoer.net alternatives lists other IP and proxy tests.
How do I read the result?
Look at the ISP and Country columns. dnsleaktest.com lists every server it saw with its IP, hostname, ISP and country.
On a VPN, every row should belong to the VPN provider or the data centre it rents. If even one row shows your home internet provider, or any other server the VPN doesn’t run, that’s a leak. Proton VPN gives the same rule in its help pages.
Without a VPN, seeing your provider’s servers is normal, since there’s no tunnel to leak from. If you set Google DNS or Cloudflare yourself, expect several of their servers in the list. Google alone often shows 6 to 10.
The country of a public resolver can look odd too. Big DNS networks answer from the nearest of many locations, so a Google server in Frankfurt while you sit in Warsaw is normal when you use Google DNS. With a VPN, though, the rule from the paragraph above still applies, and your own provider’s name in the list is the clearest sign.
What does a DNS leak test show when you use a proxy?
With a proxy set in the browser, the proxy usually looks up the addresses, so the test shows the proxy side’s DNS servers rather than yours. Chromium’s documentation says that with an HTTP proxy name resolution “is always deferred to the proxy”, and with SOCKS5 it is done on the proxy side too. Firefox also sends DNS through SOCKS5 proxies by default, through the “Proxy DNS when using SOCKS v5” setting.
So in a browser with a working proxy you’ll typically see your proxy provider’s resolver or a public one. If the test shows your own internet provider instead, the browser is still looking up names on your computer. That happens with SOCKS4 proxies, which leave name resolution to your machine, and with tools that use plain SOCKS5 without remote DNS.
This matters when you use a proxy to look like a user from another country. A site that sees an IP in Germany and a DNS server from your home provider has a reason to ask why. Checkers like Whoer take points off for exactly that mismatch.
How do I fix a DNS leak?
Start with the VPN app, since many of them have a switch for this. Proton VPN says all its apps include DNS leak protection and simply block IPv6 connections, and Mullvad treats any DNS server that isn’t its own as a leak. Turn the protection on and connect again.
Then check the browser. In Chrome, open Settings > Privacy and security > Security and find “Use secure DNS” under Advanced. If a custom provider such as Cloudflare is selected there, Chrome sends lookups to it instead of the VPN’s server, so switch it back to your current service provider. In Firefox the setting is under Settings > Privacy & Security > DNS over HTTPS. If you picked a stricter mode there, go back to the default one or turn it off, then test again.
If the extra servers are IPv6, either turn on IPv6 support in the VPN app or turn IPv6 off on the computer. On Android, set Private DNS to automatic or off while you use the VPN.
For stubborn cases on Windows, macOS and Linux, the fix page on dnsleaktest.com walks through the system settings step by step. After every change, run the extended test again.
How do I avoid a DNS leak with a proxy?
Set the proxy inside the browser as HTTP or SOCKS5, not SOCKS4. With either of the first two, the browser hands the site name to the proxy and the proxy looks it up, so your internet provider’s DNS server never gets these lookups. System-wide tools are riskier, because some of them push the traffic through the proxy but still resolve names on your computer.
In Accovod the proxy is set in each browser profile rather than for the whole computer, and both HTTP and SOCKS5 work. The profile also takes its language and time zone from that proxy, so the address, the clock and the language point to the same country. A DNS leak test run in the profile shows whether the lookups go the same way.
- Open the profile and paste its proxy. The proxy setup guide lists the formats.
- Run the extended test on dnsleaktest.com inside that profile.
- If a row shows your home internet provider, switch the profile to the HTTP version of the same proxy, if your provider offers one, and run the test again.
- Open our IP and proxy check in the same profile to see its IP, a WebRTC leak test and the fingerprint.
FAQ
Is a DNS leak dangerous?
It shows the owner of the DNS server which sites you visit, and it can give away your real location to a site that compares DNS with IP. It doesn’t reveal what you do on HTTPS pages.
Does incognito mode stop DNS leaks?
No. Incognito mode only keeps history and cookies off your device and doesn’t change how DNS lookups are sent. Our article on whether incognito works explains what it hides.
Is a DNS leak the same as a WebRTC leak?
No. A WebRTC leak exposes your IP address through the browser’s real-time calling feature, while a DNS leak exposes which server looks up site names. Test both, and our BrowserLeaks guide shows how to read the WebRTC test.
Why does the test show Google or Cloudflare servers?
You, your router or your VPN use their public DNS. Without a VPN that’s fine. With a VPN, any server that doesn’t belong to the VPN provider counts as a leak.
How often should I run a DNS leak test?
Run it after you install or update a VPN, change a proxy, or touch the DNS settings in the browser or system. If nothing changed, the result won’t change either.


