What Is a DNS Leak? A Beginner's Plain-English Guide (2026)
We may earn commissions from some providers mentioned here. It never affects what we recommend — and nothing in this article is for sale. Verification is free. Read our full disclosure.
Picture this: your VPN is connected, the little icon glows green, and you feel private. Meanwhile, your internet provider is quietly writing down every single website you visit. That's a DNS leak — the most common way a "working" VPN fails its users. The concept takes two minutes to understand and five to fix. Let's do both.
The 30-Second Answer
DNS (Domain Name System) is the internet's phone book: it translates website names like example.com into numeric addresses your browser can use. A DNS leak happens when those translation requests go to your internet provider instead of traveling through your VPN's encrypted tunnel. Your traffic stays encrypted, but your ISP sees a perfect list of every site you look up — which defeats much of the point of using a VPN. Fix it by enabling DNS leak protection in your VPN app and verifying with a free leak test.
DNS in Plain English: The Phone Book Analogy
Every time you visit a website, something has to translate the human-friendly name into the computer-friendly number. That something is DNS, and it works like a phone book:
- You type
example.cominto your browser. - Your device asks a DNS server: "what's the number for example.com?"
- The DNS server answers with an IP address, and your browser connects.
Normally, your internet provider runs the DNS server your device asks — which means your ISP automatically learns every website you look up. It's one of the most complete pictures of your online life that exists: not just the sites you visit, but the apps that phone home, the services your devices contact overnight, all of it.
A good VPN fixes this by answering those phone-book questions itself, inside the encrypted tunnel. Your ISP sees only encrypted traffic flowing to one VPN server — not which sites you're asking about. That's the theory. A DNS leak is what happens when the theory breaks down.
What a DNS Leak Looks Like in Practice
Imagine you connect your VPN to a server in Switzerland and browse for an hour. Then you run a DNS leak test and see this in the results:
- Your IP address: a Swiss VPN server ✓ (the VPN is masking your IP correctly)
- Your DNS servers: your home ISP's servers, in your real city ✗
Your IP is hidden, but your ISP received a lookup request for every site you visited during that hour. The VPN's front door is locked; the side window is wide open. This is why leak tests check DNS separately from IP — one can fail while the other passes. Our step-by-step 4-test leak-checking guide walks through the whole routine in about five minutes.
Why Do DNS Leaks Happen?
Five common causes, from most to least common:
- Your operating system takes a shortcut. Windows (since Windows 8) has a feature called "Smart Multi-Homed Name Resolution" that sends DNS requests out through all available network connections at once, hoping for the fastest answer. Fast — but it routes some lookups around the VPN tunnel. This is the single most common cause of DNS leaks on Windows, and it is still the default behavior on Windows 10 and 11.
- Your browser's own encrypted DNS bypasses the VPN's. Firefox and Chrome can send DNS lookups straight to a provider like Cloudflare or Google over HTTPS (DNS-over-HTTPS), skipping your VPN's DNS entirely. Your ISP can't read those lookups — they're encrypted — but they no longer travel inside the tunnel, so a leak test will show a third-party resolver instead of your provider's. If that bothers you, turn off your browser's "secure DNS" setting or point it at your VPN provider's resolver.
- Your VPN app lacks leak protection. Quality VPN apps force all DNS traffic through the tunnel by default (a setting usually called "DNS leak protection"). Cheap or poorly built apps — free VPNs especially — often don't. The tunnel encrypts your traffic, but nobody told your DNS requests to use it.
- Manual DNS settings override the VPN. If you (or some other software) manually set your device to use specific DNS servers — say, your ISP's or a public resolver — those settings can survive the VPN connection and keep sending lookups outside the tunnel.
- IPv6 traffic bypasses an IPv4-only VPN. If your ISP provides IPv6 addresses but your VPN only handles IPv4, your device's IPv6 DNS requests travel outside the tunnel. Good VPN apps handle this by routing or disabling IPv6 while connected.
How to Test for a DNS Leak (2 Minutes)
- Connect your VPN to any server.
- Visit a free DNS leak test site — dnsleaktest.com and ipleak.net are the established ones — and run the standard test.
- Read the results: pass means the DNS servers belong to your VPN provider or sit in your VPN server's country; fail means you see your ISP's name or servers in your real location.
One nuance: seeing several DNS servers isn't automatically bad — what matters is whose they are. The extended test on these sites names the server owners, which settles it.
The DNS leak fix ladder. Try these in order: ① Enable "DNS leak protection" in your VPN app's settings (fixes most cases). ② Switch VPN protocols (WireGuard ↔ OpenVPN) and re-test. ③ Disable IPv6 in your VPN app if it offers the option. ④ As a last resort, manually set your device's DNS to your VPN provider's DNS addresses — never your ISP's. ⑤ On Windows, if the leak survives the steps above, turn off Smart Multi-Homed Name Resolution: open Group Policy (gpedit.msc, Pro editions) → Computer Configuration → Administrative Templates → Network → DNS Client → "Turn off smart multi-homed name resolution" → Enabled — then restart and re-test. If none of this works, your provider's leak protection is inadequate.
How to Fix a DNS Leak for Good
The easy fix (works for most people): open your VPN app's settings, find "DNS leak protection" (sometimes under "Advanced" or "Network"), make sure it's on, reconnect, and re-run the test. Done.
If your app has no such setting: that's a red flag about the provider. Nearly all reputable paid VPNs include DNS leak protection; its absence suggests the app wasn't built with privacy as the priority. Consider it one more data point in the free vs. paid VPN decision.
The belt-and-suspenders option: some privacy-conscious users configure encrypted DNS (DNS-over-HTTPS) at the system level as a backup. This is optional — a VPN with proper leak protection already covers you — but it means even non-VPN traffic gets encrypted lookups. Don't let it become an excuse for a leaky VPN, though: fix the VPN first.
What about my router? If you run your VPN on your router (covering your whole home network), make sure the router's DNS settings point to the VPN provider's DNS, not your ISP's — router setups are a classic spot for DNS to leak, since the router hands DNS settings to every device in the house.
DNS Leaks vs. Other Leaks: Don't Confuse Them
- DNS leak: your ISP sees which sites you look up. (This article.)
- IP leak: websites see your real IP address and location. Usually means the VPN isn't routing traffic at all.
- WebRTC leak: your browser reveals your real IP to websites through video-call technology, bypassing the VPN. A browser problem more than a VPN problem.
All three are covered in our 5-minute leak-testing guide — and all three matter most if you leave your VPN on all the time, since a leak in an always-on setup exposes you silently, around the clock.
FAQ
- Is a DNS leak dangerous, or just a technicality?
- Genuinely dangerous to your privacy — it's not a technicality. Your DNS history is a near-complete log of your online life: sites visited, apps used, services contacted. An ISP (or anyone monitoring your connection) can build a detailed profile from DNS alone, even with your traffic encrypted. It's one of the highest-value leaks precisely because it's invisible.
- Can my VPN provider see my DNS requests instead?
- Yes — with a working VPN, your provider's DNS servers handle your lookups instead of your ISP's. That's the intended tradeoff: you shift trust from your ISP to your VPN provider. It's why the provider's logging policy matters so much — a no-logs provider doesn't record those lookups.
- Does incognito/private browsing prevent DNS leaks?
- No. Private browsing only stops your browser from saving history locally — it does nothing about DNS requests leaving your device. Your ISP sees the same lookups in incognito mode as in a normal window. Only a VPN (without leaks) or encrypted DNS changes what the network sees.
- Do I need a separate DNS service if I have a VPN?
- No. A good VPN handles DNS for you inside the tunnel — that's the cleanest setup. Separate encrypted-DNS services are useful for people without a VPN, or as a backup layer. Don't pay for both thinking more is better; fix the VPN's leak protection first.
- How often should I test for DNS leaks?
- Once when you first set up your VPN, again after every app update (updates sometimes reset the leak-protection toggle), and monthly as routine. It takes two minutes — the cheapest privacy habit there is.
Keep reading
- How to Check for VPN IP Leaks in 5 Minutes (2026): 4 Free Tests
- Should I Leave My VPN On All the Time? (2026): 6 Times to Keep It On
- VPNs Explained for Beginners: What They Do, What They Don't, and How to Choose One
- What Is an IP Address? A Beginner's Plain-English Guide
- Free VPNs vs. Paid VPNs: Where the Free Ones Make Their Money