Home / VPN guides / VPN DNS Leaks Explained: How to Check and Troubleshoot
Privacy diagnostics
VPN DNS Leaks Explained: How to Check and Troubleshoot
DNS resolver behavior is a diagnostic signal, not a complete test of anonymity or data protection.
Quick answer: A DNS leak is a situation where DNS requests go to a resolver outside the routing or privacy behavior you expect from your VPN. This can disclose domain lookups to another network operator or resolver, even while other traffic uses an encrypted VPN tunnel. A leak test should help diagnose how name resolution is routed; it is not a complete privacy or anonymity test.
What is DNS?
The Domain Name System (DNS) helps convert domain names such as example.com into addresses computers use to reach services. Devices may send queries to resolvers operated by an ISP, VPN provider, company network or another DNS service. DNS transport may itself be encrypted in certain configurations, which affects what an observer can see.
Why DNS routing can differ from VPN routing
Devices may have multiple network interfaces, DNS configurations or enterprise routing rules. A browser may use its own encrypted DNS feature. Split tunneling or a work profile may intentionally send selected traffic outside the VPN. These configurations are not all privacy failures, but they can cause DNS behavior that differs from the user’s expectations.
How to investigate safely
- Record the baseline: note the current network, VPN server location and browser settings before changing anything.
- Check the VPN status: confirm that your intended VPN connection is up and whether split tunneling is enabled.
- Run a reputable DNS resolver test: compare the reported resolver/operator with the expected provider setup. The resolver’s geographic location does not always match your VPN exit country.
- Compare browsers or applications: browser-level secure DNS settings may change the resolver seen by a test.
- Check the provider documentation: confirm whether it uses its own DNS servers, third-party resolvers or split DNS for business domains.
A single unexpected DNS resolver is a signal to investigate, not proof that your entire connection is unencrypted or compromised.
Common causes
- Operating-system DNS settings that are not controlled by the selected VPN profile.
- Split-tunnel or managed-device settings that intentionally use another resolver.
- Browser secure DNS behavior that differs from system DNS settings.
- VPN configuration or reconnection failures.
- Conflicting DNS, filtering or network-security applications.
What not to do
Do not disable device security, permanently remove DNS protections or install unverified repair apps to make a leak-test result look different. For company devices, consult your network administrator, especially when internal domains require split DNS.
How to reduce surprises
Use an actively supported VPN client, review DNS and split-tunnel settings, keep systems updated and periodically verify behavior on the networks you actually use. Refer to the selected provider’s official instructions before modifying any advanced configuration.
DNS, WebRTC and IPv6 tests answer different questions
A DNS resolver test shows where name-resolution requests are being handled. A WebRTC candidate test looks for browser-exposed addresses used to negotiate real-time connections, and an IPv6 check examines whether IPv6 traffic follows the routing you expect. A result from one type of test cannot by itself confirm or rule out a problem in another. Compare observed public addresses with the VPN’s documented configuration, rather than interpreting any unexpected city or private LAN address as proof of exposure.
Frequently asked questions
Is DNS leak testing the same as an IP leak test?
No. An IP test generally shows the public IP associated with a connection; DNS tests examine how domain-name queries are resolved. Both are partial diagnostics.
Does encrypted DNS replace a VPN?
No. Encrypted DNS can protect DNS queries along part of their path but does not tunnel all device traffic or provide the same network access functions as a VPN.
Why does a DNS test show a different country?
Resolver infrastructure and geolocation databases can differ from the VPN’s exit location. Check the organization and configuration, not only the country label.
Further reading: Cloudflare 1.1.1.1 DNS documentation; FTC — evaluating VPN apps. See also our VPN troubleshooting guide.
Editorial note: Reviewed October 2026. General explanation, not a test of a particular VPN.
General information based on the sources linked above. Settings, prices and terms change, so confirm them with your provider or device maker. Found an error? Tell us.