💧 DNS Leak Test

Check whether your DNS queries, local network address, or public IP are leaking outside your VPN tunnel. Live, free, no signup.

Runs entirely in your browser. Turn your VPN on or off first, then run the test to compare results.
🕒 Recent Checks
No recent checks yet.
A VPN is only as private as its weakest link, and for a huge number of everyday VPN users, that weak link is DNS. You can have a perfectly encrypted tunnel carrying your web traffic and still be handing your ISP a plaintext list of every domain you visit, simply because your operating system quietly kept using its original DNS resolver instead of the VPN's. This tool runs a set of real, live checks in your own browser — public IP, DNS-over-HTTPS resolver behavior, and WebRTC exposure — to help you spot the most common leak patterns, and the guide below walks through exactly why leaks happen and how to close them for good.
⭐ ToolsNovaHub Pro Tip
Run this test twice for every VPN server you use — once immediately after connecting, and once again after your laptop wakes from sleep or reconnects to Wi-Fi. Some VPN clients apply DNS-leak protection correctly on initial connect but silently fail to re-apply it after a network interface change, which is one of the most common real-world leak scenarios.
⚠️ Common Beginner Mistake
Assuming that because a VPN app shows "Connected," DNS is automatically protected. Many VPN clients — especially free ones, and especially on Android and older router firmware — route regular traffic through the tunnel while leaving the system's original DNS resolver untouched, unless you dig into settings and enable a "DNS leak protection" or "force DNS" option explicitly.

🔍 What Is a DNS Leak Test?

A DNS leak test checks whether the domain-name lookups your device performs are actually staying inside your VPN's encrypted tunnel, or whether they're slipping out through your regular network path where your ISP — or anyone else positioned on that path — can see exactly which sites you're visiting. Because DNS traffic and general web traffic use separate resolution mechanisms at the operating-system level, it's entirely possible for your browsing to appear fully tunneled while your DNS queries take a completely different, unprotected route. A leak test exists specifically to catch that mismatch before it becomes a real privacy problem.

❓ Why DNS Leaks Happen

Most operating systems resolve domain names using whatever DNS servers are configured at the network-interface level, and that configuration doesn't automatically change just because a VPN application reports itself as "connected." A VPN needs to explicitly capture the DNS resolution path — either by pushing its own DNS servers to the interface, adding firewall rules that block queries to any other resolver, or both. When a VPN client skips this step, or does it incompletely, the operating system keeps sending lookups to whichever resolver it was using before the VPN ever started, commonly your ISP's default DNS servers. The encrypted tunnel still protects the content of your traffic, but the DNS layer quietly reveals the destination.

📜 How DNS Resolution Actually Works

Every time your device needs to reach a domain, it first checks a local cache, then asks a configured recursive resolver. That resolver, if it doesn't already have the answer cached, walks the DNS hierarchy — starting at a root server, moving to the relevant top-level domain server, and finally to the domain's own authoritative nameserver — before returning an answer that eventually gets cached at multiple points along the chain. This entire process happens before a single byte of your actual web traffic is sent, which is exactly why DNS is such a high-value target for both surveillance and leak analysis: it reveals intent and destination even to an observer who can't see the encrypted payload that follows.

⚙️ How This Tool Checks for Leaks

This page runs three independent, browser-native checks. First, it fetches your public IP address over plain HTTPS — a value that should reflect your VPN provider's exit node if a VPN is active. Second, it queries several major DNS-over-HTTPS resolvers (Google, Cloudflare, and Quad9) directly from your browser and reports whether each is reachable and returning consistent, current results, which helps surface misconfigured or overridden DoH settings. Third, it uses the WebRTC API to check whether your browser is exposing local or public IP candidates that bypass your VPN tunnel entirely — a separate but closely related leak vector that catches out even security-conscious users. None of these three checks can identify the exact resolver IP your operating system used for a specific query the way a dedicated backend-logged test can, and the tool is upfront about that limitation rather than pretending otherwise.

🌐 ISP DNS vs VPN DNS vs Encrypted DNS

Your ISP's default DNS servers are the resolvers assigned automatically by DHCP when you join their network — convenient, but visible to the ISP and, in many jurisdictions, subject to logging or even monetization through query-based analytics. VPN DNS refers to resolvers operated by (or explicitly routed through) your VPN provider, which keeps lookups inside the tunnel and out of your ISP's view, shifting trust to the VPN operator instead. Encrypted DNS — DNS-over-HTTPS or DNS-over-TLS — adds a further layer by wrapping the query itself in TLS, preventing on-path eavesdroppers from reading it in transit, though it doesn't by itself guarantee the query goes through your VPN tunnel rather than around it.

🔒 DNS-over-HTTPS, DNS-over-TLS & DNSSEC

DNS-over-HTTPS (DoH) and DNS-over-TLS (DoT) both encrypt the DNS query in transit, closing off casual network eavesdropping, but they solve a different problem than a VPN does — they protect confidentiality of the query, not necessarily its routing. A browser configured to use its own hardcoded DoH resolver can actually create a leak of a different kind: bypassing your VPN's intended DNS servers entirely and querying its preferred provider directly, regardless of tunnel state. DNSSEC, meanwhile, is unrelated to leaks in the privacy sense — it authenticates that a DNS answer hasn't been tampered with, but does nothing to hide who's asking the question. Check DNSSEC deployment separately with our DNSSEC Checker.

🖥️ Operating System & Browser Behavior

Windows, macOS, Linux, Android, and iOS all handle DNS interface binding differently, which is a large part of why leak behavior is so inconsistent across devices even with the same VPN app installed. Windows in particular has a long history of "smart multi-homed name resolution" sending DNS queries out over every active network interface simultaneously and using whichever answers first — a behavior that can leak queries even when a VPN is fully connected, unless specifically disabled. Browsers add another layer: Chrome, Firefox, and Edge all now ship a "Secure DNS" or DoH setting that can override system-level DNS configuration independently of what the operating system or VPN client intends.

🔵 IPv4, IPv6 & Dual-Stack Leaks

One of the most common and hardest-to-notice leak types happens on dual-stack networks: a VPN correctly tunnels IPv4 DNS traffic while leaving IPv6 completely unmanaged, because the VPN was configured, tested, or built with IPv4 assumptions baked in. If your network path has native IPv6 connectivity, your operating system may prefer it for DNS resolution by default, sending queries out over an interface the VPN never touched. The safest general practice — and the one most reputable VPN providers now follow — is to either fully tunnel IPv6 DNS alongside IPv4, or disable IPv6 at the system level entirely while connected, rather than leaving it to chance. Our IPv6 Lookup and IPv6 Calculator tools are useful for auditing IPv6 exposure separately.

🛡️ Split Tunneling & VPN Kill Switches

Split tunneling — routing only some traffic through the VPN while the rest uses your regular connection — is a deliberate and often useful feature, but it multiplies the ways DNS can leak if app-level and DNS-level routing rules don't stay in sync. A kill switch, by contrast, is a safety mechanism that blocks all network traffic the moment the VPN tunnel drops, and a genuinely well-implemented one blocks DNS traffic too, not just general internet access; a kill switch that lets DNS queries through during a dropped connection provides a false sense of security precisely at the moment protection matters most.

Full-Tunnel VPN
All traffic, including DNS, routes through the VPN — the most protective default configuration for most users.
⚖️
Split Tunnel VPN
Selected apps or destinations bypass the VPN — convenient, but requires deliberate DNS-routing configuration to avoid leaks.

🌐 Public Resolvers, Private Resolvers & the Resolver Chain

Public recursive resolvers like 1.1.1.1, 8.8.8.8, and 9.9.9.9 are widely used because they're fast and independently operated from most ISPs, but manually pointing your system at one doesn't itself prevent a leak — if it's configured outside the VPN's tunnel, the query still travels in the clear to whichever network path your OS chooses. Private or self-hosted resolvers, meanwhile, put you in control of logging policy but add operational responsibility. In every case, what actually matters for leak prevention is which network path the query physically travels, not merely which resolver ultimately answers it — a detail easy to overlook when comparing resolver providers.

📋 Testing Methodology & Command-Line Verification

For a definitive, resolver-identity-level leak test beyond what any static browser page can offer, use your operating system's own DNS query tools alongside your VPN's dedicated leak-test page (most reputable providers run one). On macOS or Linux, running dig +short whoami.akamai.net @ns1-1.akamaitech.net or similar "who is asking" style lookups against services designed for this purpose returns the IP address your query chain used. On Windows, nslookup paired with ipconfig /displaydns can reveal the resolver cache your system is actually populating. Run these both with your VPN off and on, and compare — a genuine leak shows your real ISP-assigned resolver appearing even while the VPN reports an active connection.

MethodWhat It RevealsWhere to Run It
Browser-based leak test (this tool)Public IP consistency, DoH reachability, WebRTC exposureAny modern browser
VPN provider's dedicated leak pageServer-logged resolver identity per queryVPN provider's website
Command-line dig/nslookupActual resolver IP and cache state at the OS levelTerminal / Command Prompt
Packet capture (Wireshark)Raw confirmation of which interface DNS packets exit throughAdvanced / enterprise use

👤 Who Actually Needs This, and Why

🌱
Everyday Privacy Users
Confirming a paid VPN subscription is actually doing what it promises, beyond just showing a "Connected" badge.
💻
Journalists & Researchers
Verifying sensitive browsing activity isn't visible to a local ISP or network operator through DNS metadata.
🛠
Developers & SysAdmins
Debugging split-tunnel or corporate VPN configurations that behave inconsistently across devices.
🏢
Businesses & MSPs
Auditing remote-work VPN deployments for consistent DNS routing across a fleet of managed devices.
🛡️
Security Researchers
Validating client configurations during penetration tests or privacy-tooling assessments.
🎓
Students & Educators
Learning, hands-on, how DNS resolution and VPN tunneling actually interact at a protocol level.

🏢 Enterprise & Real-World Scenarios

Remote-first companies frequently discover DNS leaks only after a security audit, because the symptom — DNS queries visible outside the corporate VPN — produces no visible error for the end user, unlike a dropped connection. MSPs managing VPN fleets across client organizations benefit from standardizing on VPN clients with mandatory, non-optional DNS leak protection rather than relying on end users to enable it manually. Cloud engineers testing infrastructure from behind a VPN sometimes intentionally split-tunnel DNS for internal-only domains while tunneling everything else — a legitimate pattern, but one that needs explicit documentation so it isn't mistaken for an unintentional leak during a later audit.

📊 Comparison Tables

ScenarioDNS PathLeak Risk
Full-tunnel VPN, leak protection enabledEntirely through VPN's DNS serversLow
VPN connected, leak protection disabledFalls back to ISP/system default resolverHigh
Split tunneling without DNS rulesInconsistent — depends on which app/interface initiatesMedium–High
Browser DoH override activeBypasses both system and VPN DNS settingsMedium
IPv6 unmanaged on dual-stack networkIPv6 queries leave outside the tunnelMedium–High

❓ Myths vs Facts

Myth: "Connected" means fully protected
Fact: A VPN status indicator only confirms the tunnel is up, not that DNS is being routed through it correctly.
Myth: Encrypted DNS alone stops leaks
Fact: DoH/DoT hide query content from eavesdroppers, but don't guarantee the query travels through your VPN tunnel.
Myth: Leaks only affect free VPNs
Fact: Paid, reputable VPNs have shipped DNS-leak bugs in past releases, especially after OS updates.
Myth: One test result is definitive forever
Fact: Network changes, sleep/wake cycles, and app updates can reintroduce a leak that was previously fixed.

🔒 Security & Privacy Implications

A DNS leak effectively hands an observer — your ISP, a network operator, or anyone monitoring that path — a readable list of every domain you visit, even while the actual page content stays encrypted. For most everyday users this is a privacy concern rather than an active security compromise, but for people relying on a VPN specifically to evade targeted surveillance, censorship, or geographic restrictions, a DNS leak can meaningfully undermine the entire reason they're using a VPN in the first place. Leaks are also frequently invisible without active testing, which is exactly what makes routine leak checks worthwhile rather than a one-time setup step.

⚠️ Common Mistakes

  • Assuming VPN connection status alone confirms DNS protection
  • Never re-testing after an operating system or VPN client update
  • Leaving browser-level Secure DNS/DoH enabled with a provider different from the VPN's
  • Ignoring IPv6 entirely when auditing a dual-stack network
  • Trusting a kill switch that blocks general traffic but not DNS specifically
  • Testing only once, right after setup, and never again

✅ Deployment & Prevention Checklist

1

Enable DNS Leak Protection Explicitly

Don't assume it's on by default — check your VPN client's settings directly.

2

Test With VPN Off, Then On

Compare results to confirm the resolver and public IP genuinely change.

3

Disable or Tunnel IPv6

Prevent IPv6 queries from silently bypassing an IPv4-only VPN configuration.

4

Turn Off Browser-Level DoH Overrides

Let the VPN's DNS routing take priority, unless intentionally layering encrypted DNS on top.

5

Re-test After Any Update or Reconnect

Sleep/wake cycles and software updates are common points where leak protection silently resets.

⚖️ Advantages & Limitations

Advantages of TestingLimitations of Browser-Based Testing
Fast, free, no signup requiredCan't identify exact resolver IP per individual OS-level query
Catches common WebRTC and DoH override issuesDoesn't replace a dedicated server-logged leak test
Works across any modern browser or deviceResults depend partly on which third-party endpoints are reachable
Highlights public IP mismatches clearlyDoesn't diagnose kill-switch behavior during a dropped connection

🛠 Troubleshooting Matrix

SymptomLikely CauseFix
Public IP shows ISP, not VPNVPN not actually routing traffic, or test run before full connectReconnect and re-test after status shows fully connected
DoH resolvers return inconsistent resultsBrowser-level DoH override conflicting with VPN DNSDisable browser Secure DNS override or align provider
WebRTC reveals local/public IP with VPN onBrowser WebRTC leak, independent of DNS routingDisable WebRTC or use a browser extension that blocks leak candidates
Leak reappears after sleep/wakeVPN client fails to reapply DNS rules on reconnectManually reconnect VPN after wake, or update the client

🎓 Expert Tips

🔄
Test Both States
Always compare results with the VPN off and on — a single reading in isolation tells you little.
🔵
Don't Forget IPv6
Explicitly verify IPv6 handling, not just IPv4, on any dual-stack network.
🔐
Layer, Don't Replace
Use encrypted DNS as an addition to a correctly tunneled VPN, not a substitute for one.

Check your resolver's raw records directly with DNS Lookup, confirm your visible IP address with My IP Address, and verify DNSSEC deployment separately with DNSSEC Checker. For IPv6-specific auditing, use IPv6 Lookup and IPv6 Calculator.

📚 New to DNS leaks? Read: What Is a DNS Leak? → · Using a VPN? VPN DNS Leaks Explained →

ToolsNovaHub tools are built and independently maintained with a focus on accurate, no-signup network and security utilities. Spotted an error? Let us know.

📋 Related Tools & Guides Comparison

ResourceTypeLink
DNS LookupNetworkOpen Tool →
My IP AddressNetworkOpen Tool →
DNSSEC CheckerSecurityOpen Tool →
IPv6 LookupNetworkOpen Tool →
What Is a DNS Leak?GuideRead Guide →
VPN DNS Leaks ExplainedGuideRead Guide →
Browser DNS LeaksGuideRead Guide →
DNS PrivacyGuideRead Guide →
Preventing DNS LeaksGuideRead Guide →

FAQ

A DNS leak happens when your device sends domain-name lookups outside an encrypted tunnel or VPN, typically straight to your ISP's default resolver, even while other traffic stays protected.
No single test is a total guarantee. Pair browser-based checks with your VPN provider's own dedicated leak-test page for the most complete picture.
Not automatically — a VPN only prevents leaks if it correctly captures and routes DNS through its own tunnel, which many clients don't do by default.
No — WebRTC leaks expose your real IP directly through browser APIs, bypassing the VPN entirely, while a DNS leak is about which resolver handles your lookups.
Usually your OS is still sending DNS through its original interface instead of the VPN's virtual adapter, often due to missing DNS-leak-protection settings.
Not necessarily — DoH encrypts the query in transit but doesn't guarantee it travels through your VPN tunnel rather than around it.
Yes — many VPN configurations tunnel IPv4 DNS correctly but leave IPv6 unmanaged, which leaks on any network with native IPv6 connectivity.
It can, if DNS routing rules aren't kept in sync with app-level split-tunnel rules — it's a common source of inconsistent leak behavior.
Only if it's specifically built to block DNS traffic during a dropped connection, not just general internet access — check your VPN's documentation.
After every VPN or OS update, after sleep/wake cycles, and periodically even on a stable setup, since leaks can silently reappear.
Yes — a browser-level DoH override can bypass both system and VPN DNS settings, querying its own configured provider regardless of tunnel state.
Use dig or nslookup against a "who is asking" style lookup service, comparing results with your VPN off and on to see if the resolver truly changes.
Not universally, but free VPNs statistically implement DNS-leak protection less consistently — always verify with an actual test rather than assuming.
Yes — completely free, no signup, unlimited checks, running entirely in your browser.
No — the checks run client-side in your browser; results aren't transmitted to or stored on ToolsNovaHub servers.