What is DNS Leak?
A security flaw where DNS queries bypass your VPN or proxy and are sent through your normal ISP connection, revealing the websites you visit even when your other traffic is protected.
Also known as: DNS Leakage
A DNS leak is like using a VPN for your packages but writing the destination address on the outside of the envelope. Your ISP can see every website you're visiting even though the content is encrypted.
How DNS Leaks Happen
Normal VPN Operation
- You type "example.com"
- DNS query goes through VPN
- VPN's DNS server resolves it
- Traffic flows through VPN
- ISP sees nothing
With DNS Leak
- You type "example.com"
- DNS query bypasses VPN → Goes to ISP's DNS
- ISP sees you're visiting example.com
- Actual traffic goes through VPN
- ISP knows your destinations
Common Causes
Operating System DNS Handling
- Windows "Smart Multi-Homed Name Resolution"
- macOS network prioritization
- Default DNS settings override VPN
VPN Misconfiguration
- Split tunneling enabled
- DNS settings not forced
- IPv6 DNS not covered
Network Configuration
- Router DNS settings
- ISP DNS hijacking
- Captive portals
Testing for DNS Leaks
Online Tools
- dnsleaktest.com
- browserleaks.com/dns
- ipleak.net
What to Look For
- DNS servers should be your VPN provider's
- No ISP DNS servers visible
- Check both IPv4 and IPv6
Preventing DNS Leaks
VPN-Level
- Use VPN with built-in leak protection
- Enable "DNS leak protection" setting
- Use VPN's DNS servers
System-Level
- Disable "Smart Multi-Homed Name Resolution" (Windows)
- Configure DNS manually
- Block non-VPN DNS at firewall
Alternative DNS
- Use encrypted DNS (DoH, DoT)
- Configure to route through VPN
- NextDNS, Cloudflare, Quad9
Why DNS Leaks Matter
Privacy Impact
- ISP sees all your browsing
- Can be logged and sold
- Subject to government requests
Anonymity Impact
- Defeats purpose of VPN/Tor
- Links activity to your connection
- Correlation attacks possible
Related Terms
DNS
Domain Name System—the internet's phone book. DNS translates human-readable domain names (example.com) into IP addresses (93.184.216.34) that computers use to connect. Every website visit triggers DNS lookups, which can reveal your browsing to your ISP or DNS provider.
Virtual Private Network
A technology that creates a secure, encrypted connection over a less secure network, such as the public internet. VPNs mask your IP address, encrypt your internet traffic, and can make it appear as though you're browsing from a different location.
WebRTC Leak
A browser vulnerability where WebRTC (used for video calls and peer-to-peer communication) reveals your real IP address even when using a VPN, because WebRTC can access your network interfaces directly.
Have more questions?
Use our guided flow to get the right next privacy step for DNS Leak.
Open Guided Flow