👉 Lock down your connection with NordVPN here: NordVPN
You’ll learn what a DNS leak is, what it can reveal to your ISP even with a VPN connected, and how to interpret DNS leak tests. Discover practical ways to reduce leaks and better protect your online privacy.
Chapters: 0:00 Intro 0:11 What is a DNS leak, exactly? 0:54 What can someone see through a DNS leak? 1:40 Why do DNS leaks happen with a VPN? 2:25 Can you trust a DNS leak test? 3:18 How can you reduce DNS leak risks? 4:10 Outro
Disclaimer: A VPN adds a privacy layer, not anonymity.
Affiliate notice: Some links may earn a commission. Thanks for your support.
Key Takeaways
A DNS leak sends domain lookups outside your intended privacy setup, potentially exposing them even while your VPN says “connected.” A changed public IP does not prove DNS protection.
Leaked DNS can reveal hostnames, query timing, and potentially your public IP, but ordinary lookups do not reveal HTTPS page contents, passwords, or full URLs. DNS records are not a complete browsing history.
Encrypted DNS and VPN routing solve different problems. DoH or DoT encrypts queries to the resolver; it does not automatically route them through your VPN or hide them from that resolver.
DNS leak tests identify resolvers, not every query’s route. Unexpected ISP resolvers warrant investigation, but multiple resolvers, unfamiliar providers, or foreign locations do not automatically mean a leak. A clean result is not a device-wide guarantee.
Align VPN, browser, and operating-system DNS settings. Review split tunneling and IPv6 handling, keep software updated, and retest after configuration or network changes. A kill switch is not a substitute for DNS leak protection.
DNS protection does not provide anonymity. Accounts, cookies, and browser fingerprinting can still identify you; see the EFF’s VPN guidance for broader limitations.
👉 Put connection-level privacy into practice with NordVPN to encrypt VPN-routed traffic and mask your public IP, an added privacy layer, not a replacement for checking DNS settings.
A VPN can say “connected” while some information about the websites you use still takes an unintended route. That is the privacy gap behind a DNS leak.
Understanding what a DNS leak is helps you separate three different questions: Is your website traffic encrypted? Which company handles your DNS lookups? And do those lookups follow the route you intended?
What Is a DNS Leak?
A DNS leak occurs when domain-name lookups leave the privacy route or DNS arrangement you intended to use. In a typical VPN setup, that means website traffic travels through the VPN, but DNS requests go outside its encrypted tunnel, for example, directly to your internet service provider’s resolver.
DNS stands for . It translates names such as into the IP addresses devices use to connect. A is the service that handles those lookups.
FAQ
Quick answers to the questions people usually ask about this topic.
What is the difference between a DNS leak and an IP leak?
A DNS leak exposes domain lookups through an unintended route or resolver. An IP leak exposes your ordinary public IP address where you expected the VPN’s address to appear. They can occur independently: websites may see your VPN’s IP while your ISP still receives DNS queries. Checking your public IP alone does not verify DNS protection.
Does incognito mode prevent DNS leaks?
No. Incognito or private browsing mainly limits what the browser retains locally, such as browsing history and session cookies after the private session ends. It does not, by itself, force DNS requests through a VPN or hide them from your network provider. DNS privacy still depends on your browser, operating system, and VPN configuration.
Does a DNS leak mean my VPN was hacked?
No. A DNS leak does not necessarily indicate an attack or broken encryption. It can result from conflicting DNS settings, browser overrides, split tunneling, or network changes. Your website traffic may remain encrypted inside the VPN while DNS lookups take a different route.
Will clearing my DNS cache fix a DNS leak?
Not by itself. Clearing the DNS cache removes stored lookup results; it does not change which resolver your device uses or how requests reach it. Fix the routing or resolver configuration first, then retest. Clearing the cache also does not remove records that a resolver may already have logged.
Can DNS leaks happen on a phone when switching between Wi-Fi and mobile data?
Yes. Switching networks can trigger VPN reconnections and changes to DNS handling, potentially creating a temporary exposure. A clean test on Wi-Fi does not establish how the phone behaves on mobile data or during the transition. Review your VPN’s mobile-platform guidance and recheck after changing connection types.
What should I look for in a VPN to help reduce DNS exposure?
Look for clear documentation about DNS handling on your devices, DNS leak protection, IPv6 support, and interactions with browser Secure DNS and split tunneling. Do not assume a kill switch covers every DNS scenario. As a practical next step, explore NordVPN to add encrypted VPN-routed connections and public IP masking, then check its platform-specific guidance and test your configuration. A VPN adds a privacy layer, not complete anonymity.
Some links may earn a commission. Thanks for your support.
Watch in the video playerOpen the dedicated player for this series.
Domain Name System
www.example.com
DNS resolver
A simplified comparison looks like this:
Connection setup
Website traffic
DNS lookups
Intended full-tunnel VPN setup
Through the VPN
Through the VPN to the intended resolver
Common DNS leak scenario
Through the VPN
Outside the VPN to an unintended resolver
For example, imagine opening a health-information website while connected to a VPN. The website may see the VPN server’s public IP address, while your ISP’s DNS resolver receives the website’s hostname.
A changed public IP address does not prove that DNS is protected. The website connection and the lookup are separate parts of the process.
DNS can expose meaningful information without revealing the contents of a secure webpage. What becomes visible depends on where the lookup travels and who processes it.
Website names, timing, and activity patterns
A leaked DNS lookup can reveal:
Requested hostnames, including subdomains.
When lookups happen and patterns in those requests.
The apparent source IP address of the query, potentially your ordinary public IP if you contact a resolver directly.
Information that may suggest interests or use of particular services.
A hostname associated with a medical clinic, debt-support service, or relationship-support organization can be sensitive on its own. The IETF’s DNS privacy analysis explains why both queried names and source addresses matter.
What DNS alone does not reveal
An ordinary DNS lookup does not contain your passwords, messages, page contents, or the complete URL of an HTTPS page.
The DNS lookup concerns www.example.com, not the /private/article?topic=health portion. HTTPS protects those application-level details in transit; a DNS leak does not itself decrypt them.
There is an important exception to the idea that DNS reveals “only a website name”: sensitive information can be embedded in a hostname or subdomain itself.
Why DNS logs are not a complete browsing history
A DNS record shows that a lookup occurred, not necessarily that someone intentionally visited a particular page.
One webpage may trigger lookups for advertising, analytics, images, and embedded media. Background applications and browser prefetching can generate requests too. Conversely, cached DNS answers mean some visits do not require a fresh lookup.
DNS activity is therefore informative, but it is not a precise record of every page someone opened.
Can Your ISP See DNS Requests With a VPN Connected?
Yes, if DNS requests reach your ISP’s resolver or travel in plaintext across a network path it can observe. Your website traffic can remain inside the VPN while those separate lookups are exposed.
The distinction changes with the arrangement:
DNS arrangement
Relevant visibility
Plaintext DNS outside the VPN
Network observers along that path may read the queries.
Encrypted DNS outside the VPN
Encryption protects query contents between your device and the resolver, but the traffic still bypasses the VPN.
DNS inside the VPN
The local network and ISP do not receive those lookups as separate plaintext DNS traffic outside the tunnel.
Any resolver processing your requests
The resolver still receives the queries, even if the connection to it is encrypted.
A VPN changes which parties can observe parts of your activity. It does not eliminate the need to trust the services handling it.
Why DNS Leaks Happen With a VPN
A DNS leak does not necessarily mean anyone broke the VPN’s encryption. Often, the lookup simply took a different route.
Conflicting system and VPN settings
The operating system may continue using an existing DNS configuration instead of the resolver intended by the VPN. Manually configured DNS settings can also conflict with the VPN client’s controls.
Devices with Wi-Fi, Ethernet, and virtual VPN interfaces may have several possible paths. Resolver selection and fallback behavior can affect which one is used. Microsoft’s VPN name-resolution documentation describes how this can depend on configuration.
Split tunneling
Split tunneling deliberately sends selected traffic outside the VPN.
That is not automatically a malfunction. However, application routing and DNS handling may not match what you expect. An excluded application may use ordinary DNS, or a mixed configuration may send lookups to an unintended resolver.
The important question is whether the actual behavior matches your privacy goal.
Browser Secure DNS settings
A browser may use its own encrypted DNS resolver instead of the operating system’s or VPN’s choice. This feature is often called Secure DNS and commonly uses DNS over HTTPS, or DoH.
That creates two separate questions:
Which resolver receives the lookup?
Does the connection to that resolver travel through the VPN?
Seeing a browser-selected resolver in a test does not, by itself, answer the second question.
DNS handling can change during reconnections, network switches, tunnel reconfiguration, or software failures. An exposure may be brief rather than continuous.
IPv4 and IPv6 also need appropriate handling. Protecting one network path while leaving another outside the intended arrangement can create a privacy gap. However, an IPv6 address appearing in a test is not inherently evidence of a leak.
How DNS Leak Tests Work
A browser-based DNS leak test generates unique hostnames under a domain controlled by the test operator.
When your browser tries to resolve those names, the operator observes which recursive resolvers contact its authoritative DNS service. The results commonly list resolver IP addresses, organizations, and estimated locations.
That makes a test useful for checking which resolvers handled its test lookups. It is not a complete audit of your device.
How to interpret DNS leak test results
Compare the result with your intended configuration, not just the VPN’s brand name.
What a clean test cannot prove
A browser test cannot establish:
How every other application resolves names.
Whether every DNS packet followed the intended route.
What happens during every reconnection or network change.
Whether a resolver stores logs.
Whether separate IP or WebRTC leaks exist.
The resolver list alone also cannot reliably distinguish encrypted DNS inside the VPN from encrypted DNS outside it.
How to Reduce DNS Leak Risks
The most useful approach is to align your VPN, operating system, and browser settings, then check whether they behave as intended.
1. Review your VPN’s DNS protection guidance
Check how the provider handles DNS on your operating system. Look for guidance about DNS leak protection, custom resolvers, split tunneling, and IPv6.
A connected status icon tells you that a VPN connection exists. It does not verify every aspect of DNS handling.
2. Coordinate browser and system DNS settings
Check whether your browser uses the system resolver or a separately selected Secure DNS provider.
Choose the arrangement deliberately. If you want the VPN’s designated resolver to handle lookups, browser overrides may need adjustment according to the provider’s guidance. If you intentionally use a different encrypted resolver, understand that its identity alone does not establish the route.
3. Use a kill switch, but understand its limits
A kill switch generally aims to block traffic when VPN protection drops. DNS leak protection addresses unintended DNS handling, including while the VPN remains connected.
These features may work together, but a kill switch is not the same as DNS leak protection. Their coverage depends on the product, platform, and settings.
4. Keep software updated
Maintain your VPN application, browser, and operating system. Updates can correct routing and DNS-handling defects, although being up to date is not proof that no defects remain.
5. Recheck after meaningful changes
Run another check after changing DNS settings, enabling split tunneling, updating the VPN, or switching network arrangements.
A test performed during a stable connection may miss behavior that occurs during transitions. Treat testing as a useful check, not a one-time certification.
6. Do not treat a different DNS provider as an automatic fix
Changing from your ISP’s resolver to a public resolver changes who receives the queries.
If those requests still travel in plaintext outside the tunnel, observers along that path may still read them. Encrypted DNS protects the client-to-resolver connection, but it does not automatically put that connection inside the VPN.
DNS Privacy Is One Layer of Online Privacy
DNS leak protection, encrypted DNS, and other security features solve different problems:
DoH and DoT encrypt DNS between the client and resolver.
DNSSEC authenticates DNS data; it does not encrypt queries.
A VPN protects traffic routed through its tunnel and can mask your public IP from websites.
A kill switch helps address loss of VPN protection.
Even with no observed DNS leaks, accounts, cookies, and browser fingerprinting can still identify or correlate activity. A clean result also says nothing about a provider’s internal logging practices. The Electronic Frontier Foundation’s VPN guidance explains these broader limitations.
The practical goal is to understand what your connection protects, which organizations receive your queries, and where your settings may leave gaps.
Add a Privacy Layer to Everyday Browsing
A VPN can help reduce network-level exposure by encrypting VPN-routed traffic and showing websites the VPN server’s public IP instead of your own. It remains an added privacy layer, not complete anonymity or a replacement for checking your DNS configuration.
👉 Explore NordVPN to encrypt VPN-routed traffic and mask your public IP on your phone and computer.
Affiliate notice: Some links may earn a commission. Thanks for your support.
Affiliate link — I may earn a commission at no additional cost to you.
Jay's Recommendation
Turn privacy knowledge into everyday protection
The series explains online privacy. NordVPN helps you put it into practice with encrypted connections, IP masking, and apps for everyday devices. Reduce network-level exposure without building your own setup. It’s an added privacy layer, not complete anonymity or a replacement for safer browsing habits.
🔒Encrypted connectionsHelp shield VPN-routed traffic from observers on shared Wi-Fi.
👁Less ISP visibilityLimit what your provider can see about browsing carried through the VPN.
🎭Masked public IPShow websites the VPN server’s address instead of your own.
📱Privacy across devicesPut connection-level protection to work on your phone and computer.