What your DNS leak test result means
Comparing every detected recursive DNS resolver against your public exit IP address, Autonomous System Number (ASN), and country reveals whether lookups stay inside your intended path. The table below explains all 6 diagnostic verdicts reported by this test:
| Test Outcome | Severity | What Was Observed | Next Action |
|---|---|---|---|
| Matches Exit Network | Consistent | All resolvers share the same ASN/organization and country as your public exit IP. | On a VPN, this confirms VPN-hosted DNS; off a VPN, this confirms standard local Internet Service Provider (ISP) DNS. |
| Known Public Encrypted Resolver | Advisory | Cloudflare, Google, Quad9, NextDNS, OpenDNS, or AdGuard answered instead of your exit network. | Expected if you configured browser Secure DNS or OS encrypted DNS; disable browser overrides if you expect VPN-only DNS. |
| Cross-Country Resolver Mismatch | Likely Leak | A non-public DNS server answered from a different country than your public exit IP. | Enable VPN DNS leak protection and disable Windows Smart Multi-Homed Name Resolution (SMHNR) immediately. |
| Split DNS / Mixed Resolver Networks | Leak Risk | Multiple unrelated resolver organizations answered during the same probe run. | Check secondary DNS entries on Wi-Fi, Ethernet, and IPv6 interfaces so local adapters cannot race your VPN. |
| IPv6 or WebRTC Companion Leak | Leak | IPv6 exit network or WebRTC public reflexive IP differs from your IPv4 HTTP exit address. | Enable VPN IPv6 leak blocking and restrict WebRTC ICE interfaces in browser settings. |
| No Resolvers Recorded / Unreachable | Inconclusive | Probe hostnames timed out or a browser extension blocked the probe endpoint. | Pause strict script blockers temporarily and re-run; never treat an unreachable test as leak-free. |
Running the 18-probe Extended Test catches intermittent secondary resolvers and parallel Windows lookup races that single-query tests routinely miss.
How to fix a DNS leak in 4 steps
Eliminating a DNS leak requires locking DNS queries to your VPN tunnel or encrypted resolver across the VPN client, operating system, IPv6 stack, and web browser. Follow these 4 steps to seal leaking lookup paths:
- Enable VPN DNS leak protection and kill switch: Turn on built-in DNS leak protection, IPv6 leak blocking, and the network kill switch inside your VPN app so traffic halts instead of falling back to your local ISP if the tunnel drops.
- Disable Windows Smart Multi-Homed Name Resolution (SMHNR): Apply the registry policy
DisableSmartNameResolution = 1(generated in the OS & VPN Fix Generator tab above) so Windows stops sending parallel DNS lookups across non-VPN Wi-Fi and Ethernet adapters. - Align browser Secure DNS and IPv6 settings: Turn off independent browser DNS-over-HTTPS (DoH) if you want lookups handled exclusively by your VPN resolver, or explicitly configure a trusted DoH resolver if browsing without a VPN; disable unmanaged IPv6 on physical adapters if your VPN tunnels IPv4 only.
- Flush local DNS caches and re-run the 18-probe Extended Test: Clear cached entries (
ipconfig /flushdnson Windows,killall -HUP mDNSResponderon macOS, orresolvectl flush-cacheson Linux), reconnect your VPN, and confirm every reported resolver matches your intended provider.
When no DNS server answers at all after changing adapter settings, follow our DNS server not responding troubleshooting guide to restore clean resolution.
Verify active DNS resolvers from the command line
Inspect which recursive resolver answers your terminal queries and which DNS server addresses are bound to each network interface on Linux, macOS, or Windows:
# 1. See which recursive DNS resolver reaches Akamai's authoritative server:
dig +short TXT whoami.ds.akahelp.net
# 2. Windows PowerShell: list active IPv4 & IPv6 DNS servers on every adapter:
Get-DnsClientServerAddress -AddressFamily IPv4,IPv6 | Where-Object { $_.ServerAddresses.Count -gt 0 }
# 3. macOS: inspect active scoped DNS resolvers and network interfaces:
scutil --dns | grep -E "resolver #|nameserver\[|if_index"
# 4. Linux (systemd-resolved): verify tunnel DNS & catch-all routing domain (~.):
resolvectl status Common causes of VPN DNS leaks across operating systems
Unencrypted DNS travels in plaintext over port 53 unless encapsulated inside a VPN tunnel or secured through the DNS-over-HTTPS standard (IETF RFC 8484) or DNS-over-TLS standard (IETF RFC 7858). The table below summarizes the 6 most frequent causes of real-world DNS leaks and their exact remedies:
| Leak Cause | Affected Systems | Why Queries Escape | Direct Fix |
|---|---|---|---|
| Windows SMHNR Parallel Lookups | Windows 10 / 11 | Windows races DNS queries across all active adapters simultaneously and accepts the fastest reply, often from the local router. | Set DisableSmartNameResolution = 1 via Group Policy or Registry. |
| IPv6 Dual-Stack Fallback | All OSes on dual-stack ISPs | An IPv4-only VPN tunnels IPv4 queries while OS IPv6 RDNSS resolvers answer outside the tunnel. | Enable VPN IPv6 tunneling or IPv6 leak blocking on physical adapters. |
| Transparent Port-53 DNS Proxy | ISP routers, hotels, public Wi-Fi | Network gateways intercept outbound UDP/TCP port 53 packets and silently redirect them to the ISP resolver. | Use an encrypted VPN tunnel or enable encrypted DNS over port 443/853. |
| Browser Secure DNS (DoH) Override | Chrome, Edge, Firefox, Brave | Browser-level DoH sends lookups to Cloudflare or Google directly, bypassing VPN-assigned internal resolvers. | Match browser Secure DNS to system default when expecting VPN-only DNS. |
| Split-Tunneling & Unscoped Interfaces | Linux, macOS, corporate VPNs | Physical interfaces retain default DNS routing priority alongside the VPN interface. | Bind the catch-all routing domain (~.) strictly to the VPN interface. |
| Secondary ISP DNS in Router DHCP | Home & office routers | Router hands out a custom primary DNS paired with the ISP resolver as secondary fallback. | Replace both primary and secondary DHCP DNS slots with your chosen resolvers. |
Understanding encrypted transport options helps defeat transparent ISP proxies; compare port-443 HTTPS encapsulation against port-853 TLS encryption in our DoH vs DoT guide, or review interception mechanics in DNS hijacking.
DNS leak vs. IPv6 leak vs. WebRTC leak
Privacy leaks occur at three independent protocol layers, so a clean DNS leak test alone does not rule out IPv6 routing or browser WebRTC exposure. The table below contrasts all three leak types:
| Leak Type | Protocol Layer | What Gets Exposed & To Whom | Primary Mitigation |
|---|---|---|---|
| DNS Leak | UDP/TCP 53, DoH, DoT | Queried domain names exposed to your local ISP or unintended third-party recursive resolver. | VPN DNS leak protection, disable Windows SMHNR, align browser DoH. |
| IPv6 Leak | IPv6 TCP/UDP traffic | Your real ISP-assigned IPv6 address exposed directly to visited websites and IPv6 DNS servers. | Use a full dual-stack VPN or enable IPv6 leak blocking while connected. |
| WebRTC Leak | Browser UDP STUN / ICE | Real public IP or local private LAN IP exposed to JavaScript on visited web pages. | Rely on browser mDNS shielding or restrict WebRTC IP handling policy. |
Running both the Live DNS Leak Test tab and the IPv6 & WebRTC Check tab verifies all three layers in one session.
What this DNS leak test does not check
Browser-initiated resolver probing identifies which recursive DNS servers handle your browser's domain lookups while keeping 4 clear boundaries:
- VPN provider logging practices: Seeing only your VPN provider's DNS resolvers proves queries stay inside the tunnel, not whether that VPN provider retains internal server logs.
- Non-browser OS apps when browser Secure DNS is active: If Chrome or Firefox uses its own built-in DoH resolver, this browser test reflects the browser's resolver rather than background desktop apps using the OS stack; use the command-line commands above to inspect system resolvers.
- TLS Server Name Indication (SNI) or HTTP cookies: Websites, trackers, and network observers inspecting unencrypted TLS SNI headers or browser fingerprints operate outside DNS resolution.
- Intention without user context: The test cannot know whether you meant to use a VPN or browse directly on your ISP; use the optional Expected Provider input to verify an exact provider match.
Frequently asked questions
What is a DNS leak and why does it matter when using a VPN? +
A DNS leak happens when your browser or operating system sends domain name lookups outside your encrypted VPN tunnel to your local Internet Service Provider or router resolver. Even while your web page content remains encrypted inside the VPN, the leaking resolver sees every domain name you visit.
What is the difference between the Standard 6-probe and Extended 18-probe DNS leak tests? +
The Standard test resolves 6 unique randomized hostnames quickly to reveal your primary recursive DNS resolver. The Extended test fires 18 unique hostnames across 3 staggered waves to uncover secondary fallback resolvers, load-balanced pools, IPv6 fallbacks, and intermittent Windows Smart Multi-Homed Name Resolution race leaks.
Is seeing Cloudflare, Google, or Quad9 in a DNS leak test always a leak? +
No, seeing a public encrypted DNS provider such as Cloudflare (1.1.1.1), Google (8.8.8.8), or Quad9 is expected if you intentionally enabled Secure DNS (DoH) in your browser or operating system. If you use a VPN and expect all lookups to stay on your VPN provider DNS only, disable independent browser Secure DNS so lookups follow the VPN tunnel.
Does seeing my local ISP resolver without a VPN mean my device is broken? +
No, when no VPN or custom encrypted resolver is enabled, every normal home or mobile connection sends DNS queries to your ISP resolver by default. A DNS leak specifically refers to ISP or unexpected resolvers answering while a VPN or private DNS setup is supposed to prevent them.
Can IPv6 or WebRTC leak my real IP address even when my IPv4 DNS test is clean? +
Yes, an IPv4-only VPN can tunnel IPv4 web and DNS traffic cleanly while leaving native IPv6 or browser WebRTC UDP candidates routed through your physical network adapter. Running the IPv6 and WebRTC Leak Check tab alongside the DNS leak test checks all three paths together.
Does a DNS leak break DNSSEC validation or HTTPS encryption? +
No, HTTPS still encrypts page contents between your browser and the website, and DNSSEC still protects cryptographic record integrity when validated. A DNS leak is a privacy exposure that reveals which domain names you look up, rather than breaking TLS payload encryption.
Next checks
- Query and compare unfiltered, malware-blocking, and custom encrypted DoH servers directly with our DNS resolver tester.
- Benchmark real reply latency and jitter across 21 public DNS-over-HTTPS resolvers in the DNS speed test.
- Inspect your active public IP address, reverse DNS, and Autonomous System holder on What Is My IP.
- Look up geolocation, network owner, and ASN details for any detected resolver IP in the IP lookup.
- Run forward-confirmed reverse DNS (PTR) checks on detected resolver IPs using our reverse IP lookup.