You have a VPN. Your IP address is hidden. You feel protected. But your Internet Service Provider can still see every website you visit. This is the reality for millions of VPN users who suffer from DNS leaks — the most common and most overlooked form of VPN failure. Understanding what a DNS leak is, and how to detect and fix one, could mean the difference between genuine privacy and a very expensive illusion of it.

What is DNS? A Simple Explanation

DNS stands for Domain Name System. Think of it as the internet's phone book. When you type "bbc.co.uk" or "nytimes.com" into your browser, your device does not inherently know the IP address of that website's server. It needs to look it up — and it does this by sending a query to a DNS server, which returns the corresponding IP address.

By default, your device uses the DNS servers provided by your Internet Service Provider. This means that every domain name you look up — every website you visit — generates a query that goes to your ISP's servers. Your ISP keeps a record of these queries. Even if you switch to HTTPS and encrypt your actual web traffic, your ISP can still build a detailed log of every website you visit just from your DNS queries.

What is a DNS Leak?

When you use a VPN, all your internet traffic — including DNS queries — should travel through the encrypted VPN tunnel to the VPN provider's DNS servers. From your ISP's perspective, they should see only that you are connected to a VPN server. They should not be able to see your DNS queries.

A DNS leak occurs when this fails. Your encrypted VPN tunnel is active, your IP address is successfully masked — but your DNS queries are still travelling outside the tunnel, going directly to your ISP's DNS servers. The result is catastrophic for your privacy: your ISP can see every website you visit despite your VPN appearing to work perfectly. The VPN app shows "connected." The leak is completely invisible to the user.

Check for DNS Leaks Right Now

Our free tool checks your DNS status automatically — results in seconds.

Run VPN Test →

Why Do DNS Leaks Happen?

DNS leaks are surprisingly common and occur for several technical reasons:

Operating System DNS Handling

Windows, macOS, iOS, and Android all handle DNS in different ways, and not all of them automatically route DNS through a VPN tunnel. Windows in particular has a feature called "Smart Multi-Homed Name Resolution" which can send DNS queries to multiple network interfaces simultaneously — including your ISP's interface — in the name of speed and reliability. This feature, intended to improve browsing performance, can completely undermine your VPN's DNS protection.

DHCP-Assigned DNS Servers

When your device connects to a network (Wi-Fi or ethernet), it often receives DNS server addresses automatically from the router via DHCP. If your VPN does not override these DNS settings at the network level, your device may continue using the router-assigned (and ISP-provided) DNS servers even after the VPN connects.

Hardcoded DNS in Applications

Some applications have DNS servers hardcoded into their settings and bypass the system's DNS configuration entirely. These apps will always use their specified DNS servers regardless of your VPN, and those queries will travel outside the tunnel.

IPv6 DNS Leaks

Many VPNs protect IPv4 traffic but do not fully handle IPv6. If your network connection uses IPv6 and your VPN does not route IPv6 DNS queries through the tunnel, those queries leak to your ISP's IPv6 DNS servers. This is increasingly common as IPv6 adoption grows.

Brief VPN Reconnections

When a VPN connection drops and reconnects, there is a brief window where your device reverts to using your ISP's DNS. If you do not have a kill switch enabled, both your regular traffic and your DNS queries leak during this gap.

How to Test for a DNS Leak

Testing for a DNS leak requires a DNS-specific tool because a basic IP check will not reveal it — your IP address can be correctly masked while your DNS is leaking. Here is how to test:

  1. Connect to your VPN
  2. Run our free VPN check tool — it provides a DNS indicator based on your detected ISP
  3. For a more detailed test, visit a dedicated DNS leak tester and run the Extended Test
  4. Review the results: all DNS servers shown should belong to your VPN provider, not to your home ISP
  5. If you see server names containing your ISP's domain (such as .comcast.net, .btopenworld.com, .vodafone.co.uk, etc.), you have a confirmed DNS leak

How to Fix a DNS Leak

The fix depends on which VPN provider you use and the nature of the leak. Here are the most effective solutions:

Enable DNS Leak Protection in Your VPN App

Most reputable VPN providers include a DNS leak protection setting. In NordVPN, it is enabled by default. In ExpressVPN, private DNS is used on every server automatically. In ProtonVPN, you can enable it in the Connection settings. Look for "DNS leak prevention," "Private DNS," or similar wording in your VPN app's settings and ensure it is switched on.

Use the VPN Provider's Custom DNS Servers

Manually configure your operating system to use DNS servers provided by your VPN. You can usually find these in your VPN provider's documentation. This adds a second layer of DNS protection even if the VPN tunnel itself has a brief disruption.

Disable Windows Smart Multi-Homed Name Resolution

On Windows, open Group Policy Editor (gpedit.msc) and navigate to Computer Configuration → Administrative Templates → Network → DNS Client. Set "Turn off smart multi-homed name resolution" to Enabled. This prevents Windows from sending DNS queries to multiple interfaces simultaneously.

Use a Third-Party Privacy DNS Service

Configure your device to use a privacy-focused DNS resolver such as Cloudflare (1.1.1.1), Quad9 (9.9.9.9), or NextDNS. These will not prevent a DNS leak — your DNS queries will still travel outside the VPN tunnel — but they will at least ensure they are not going to your ISP's servers, significantly reducing the privacy impact.

Switch to a VPN With Strong DNS Leak Protection

If your current VPN continues to leak DNS despite enabling protection settings, it may be time to switch providers. The VPNs we recommend have reliable DNS leak protection built into their infrastructure.

Why DNS Leaks Are the Most Dangerous VPN Failure

Of all the ways a VPN can fail, DNS leaks are uniquely dangerous because they are completely invisible. With an IP leak, you can visually verify that the wrong IP is being shown. A DNS leak produces no visible symptom — your browsing continues normally, the VPN app shows connected, and your privacy is compromised without any indication that something is wrong.

For users who rely on a VPN to prevent their ISP from monitoring their browsing — which is one of the most common reasons people use VPNs — a DNS leak renders the VPN entirely useless for that specific purpose. Your ISP still has a complete record of every website you visit.

Advertisement

Test for DNS Leaks Now — Free

Our tool checks your DNS status automatically and tells you if you are at risk.

Run Free VPN Test →

Recommended VPN Providers With Strong DNS Protection

Affiliate Disclosure: We may earn a commission from these links at no cost to you.

NordVPNTop Pick
★★★★★
  • DNS leak protection on by default
  • Own DNS servers on every node
  • Audited no-logs policy
rel="sponsored noopener" target="_blank" class="btn btn-primary">Get NordVPN
ExpressVPNFastest
★★★★★
  • Private encrypted DNS on all servers
  • TrustedServer RAM-only technology
  • Zero-knowledge DNS
rel="sponsored noopener" target="_blank" class="btn btn-primary">Get ExpressVPN
ProtonVPNOpen Source
★★★★½
  • DNS leak prevention configurable
  • Open-source apps — fully auditable
  • Swiss jurisdiction
rel="sponsored noopener" target="_blank" class="btn btn-primary">Get ProtonVPN