Flippendo
๐Ÿ“š Privacy & Security

What Is a DNS Leak (and How to Test for One)

A DNS leak can reveal your real location even while your VPN's IP address looks completely correct. Here's what actually causes it and how to test for one in under a minute.

Guidesโ€บPrivacy & Security
4 min readยท

Every time you visit a website, your device first has to translate its domain name into an IP address โ€” a DNS lookup, sent to a DNS server before the actual connection ever starts. A VPN is supposed to route that lookup through its own encrypted tunnel and its own DNS servers, alongside everything else. A DNS leak is what happens when it doesn't: the lookup goes out through your normal, unencrypted network path instead, straight to your ISP's DNS server, even while the rest of your traffic is correctly tunneled through the VPN.[1]

This is a genuinely common problem, not an edge case: one study of VPN apps on the Google Play Store found that 84% of the 283 apps tested leaked DNS requests in at least one tested scenario. This guide covers exactly what causes that, why it can undermine a VPN connection that otherwise looks completely fine, and how to check whether your own connection is affected.[1]

Why a DNS leak matters even when your IP looks right

Without DNS leak protection, DNS lookups can bypass the VPN tunnel and reveal your ISP; with it, DNS goes through the tunnel too๐Ÿ”Ž"netflix.com"?leaked๐Ÿ“กSent to ISP's DNS server๐Ÿ‘๏ธReal location revealedprotected๐Ÿ”’Sent through VPN tunnelโœ…VPN's DNS server only
A DNS leak doesn't touch your IP address at all โ€” it's a separate lookup that can quietly reveal your real location even while your VPN IP looks correct.

This is what makes DNS leaks easy to miss: checking "what's my IP" after connecting to a VPN can show the correct VPN server address, while a separate, parallel channel โ€” DNS โ€” is quietly resolving through your ISP the entire time. Your ISP's DNS logs then show every domain you looked up, in order, timestamped โ€” which, in practice, is close to a full browsing history, independent of whatever your IP address appeared to be.

The four common causes

1. Windows' Smart Multi-Homed Named Resolution

Starting with Windows 8, Microsoft added a feature that queries DNS across every available network interface simultaneously and uses whichever responds fastest โ€” a genuine speed optimization for ordinary use, and a direct DNS leak the moment a VPN is active, because your normal network adapter is still one of the interfaces being queried, and its DNS server has no idea it's supposed to be bypassed.[1]

2. Split-tunnel configurations

If DNS resolution isn't explicitly included in a split-tunnel policy, it can resolve outside the tunnel even while the app traffic you specifically chose to protect is routed correctly. This is worth checking deliberately if you use split tunneling for any reason โ€” it's specifically named as a cause, not just a theoretical risk.[1]

3. A VPN client that simply doesn't force DNS through the tunnel

Not every VPN app is built to override your operating system's existing DNS configuration โ€” some only tunnel general traffic and leave DNS resolution pointed wherever your network settings already had it pointed, which was your ISP's server before you ever opened the app. This is the most direct explanation for that 84% figure: it's an implementation gap, not a rare misconfiguration.[1]

4. IPv6 traffic the VPN doesn't tunnel

Many VPN clients tunnel IPv4 traffic thoroughly but don't handle IPv6 the same way. On a network with IPv6 enabled, DNS and other traffic can resolve over IPv6 outside the tunnel entirely, invisible to an IPv4-only VPN client and invisible to an IPv4-only leak check. Disabling IPv6 at the OS level, or confirming a VPN specifically tunnels IPv6 too, closes this gap.

How to actually test for one

  1. Connect to your VPN and pick a server in a different country than you're actually in
  2. Visit a DNS leak testing site (dnsleaktest.com is the standard, widely used tool) and run the extended test, not just the quick one
  3. Check the results: every DNS server listed should belong to your VPN provider. If your actual ISP or its country shows up in the list, DNS is leaking
  4. If it leaks, enable "DNS leak protection" in your VPN's settings if available, and re-test โ€” most mainstream providers ship this as a toggle specifically because the problem is this common
๐Ÿ’ก

Test after every major change, not just once

A connection that passed a DNS leak test last month isn't guaranteed to pass today โ€” an OS update, a new split-tunneling rule, or a VPN app update can all reintroduce a leak. Re-test after any of those, and periodically regardless, rather than treating a single clean result as permanent.

How this differs from an IP leak

A DNS leak and an IP leak (via WebRTC, for instance) are separate failure modes that happen to produce a similar result โ€” your real location becoming visible despite an apparently correct VPN connection. An IP leak exposes your actual public IP address directly; a DNS leak exposes which DNS servers you're actually using, which points to your ISP and country just as clearly, through an entirely different channel. Fixing one doesn't fix the other, which is why a thorough VPN check tests both separately rather than assuming a clean IP check means everything is protected.

Compare VPNs with verified DNS leak protection

Our privacy rankings check whether DNS leak protection is on by default, not just listed as a feature.

Compare privacy-focused VPNs โ†’

Common questions

Can a DNS leak happen even if my VPN's IP address checks out fine?
Yes โ€” that's exactly what makes it dangerous. An IP address check and a DNS leak test check two completely separate things. Your IP can show the correct VPN server location while DNS queries are still resolving through your ISP in the background.
Does every VPN leak DNS?
No, but it's common enough to check rather than assume: one study found 84% of tested Android VPN apps leaked DNS in at least one scenario. Providers with dedicated DNS leak protection, on by default, are the exception worth specifically looking for.
Why did my DNS leak test pass last week and fail today?
DNS leak protection can be undone by an OS update, a new split-tunneling rule, or a VPN app update changing its defaults. It's worth re-testing periodically rather than treating one clean result as a permanent guarantee.

Sources

  1. [1]Wikipedia โ€” DNS leakยท verified 2026-08-05
  2. [2]Wikipedia โ€” Split tunnelingยท verified 2026-08-05

Related guides