What Is a DNS Leak and How to Test for One
A VPN hides your traffic, but if your DNS lookups go around the tunnel, your ISP still sees every site you visit. That is a DNS leak, and it is more common than people expect.
Last updated October 18, 2026 · By Harbor Privacy
What a DNS Leak Is
Every site visit starts with a DNS lookup. With a VPN on, those lookups should travel inside the tunnel to the VPN's resolver. In a leak, the device sends them to your ISP's DNS server or a public one outside the tunnel, so the lookups are visible even though the rest of your traffic is not.
Why Leaks Happen
- The system uses its own DNS. Windows, for example, can send lookups to every network adapter at once.
- A DoH or private DNS setting overrides the VPN. The browser or phone talks to its own resolver directly.
- IPv6. A VPN that only handles IPv4 can leave IPv6 traffic outside the tunnel.
- The tunnel drops. Traffic falls back to the normal connection without warning.
How to Test
How to Fix a Leak
How Harbor VPN Handles It
Every Harbor VPN tunnel uses Harbor's own threat-blocking resolver, and DNS bypass attempts are blocked at the server firewall instead of relying on the client alone. If you use a custom DNS or DoH setting on the same device, it can still override the tunnel, so remove it. See Harbor VPN.
Related guides: DNS privacy, DNS ad blocker vs VPN, Private DNS on iPhone and Android, VPN kill switch, DoH vs DoT.
Common Questions
Threat-blocking DNS on every tunnel with bypass protection at the firewall. See Harbor VPN.