A well-built VPN should not leak DNS, but misconfiguration, other software or your operating system can still send lookups outside the tunnel. When that happens, your IP address looks hidden while your internet provider keeps seeing every site name you look up.
Why DNS matters
Before your browser connects to a site, it asks a DNS server for its address. Whoever runs that server sees the name of every site you visit. A VPN is meant to take over DNS as well as traffic. A leak means that handover failed. Read the background in our DNS leak test page.
Common causes
- IPv6 outside the tunnel. If the VPN covers only IPv4, IPv6 lookups use your normal network. Block or tunnel IPv6.
- Windows smart multi-homed name resolution. Windows can send a query to all network adapters simultaneously and accept the first reply. Many VPN apps set a firewall rule against this, and manual setups often do not.
- Browser secure DNS. If Chrome, Edge or Firefox use their own DNS-over-HTTPS provider, lookups bypass the VPN's resolver. They are encrypted but still go to a third party.
- Router or manual settings. A DNS server set on your router or adapter can override the VPN's.
- The tunnel dropping. If the VPN disconnects and there is no kill switch, traffic and lookups return to the normal route.
- Split tunnelling. Apps excluded from the VPN use your normal DNS.
How to test
- Connect to your VPN, close other VPN-like software and run the DNS leak test.
- If the resolvers belong to your home ISP, or any network that is not the VPN's, you have a leak. A public provider like Google or Cloudflare is not a leak of your location but may not be what you intended.
- Test again after disconnecting to see what your normal resolver looks like, to know what a leak would look like.
How to fix it
- Enable your VPN app's DNS leak protection, kill switch and IPv6 leak protection options.
- Update the VPN app. Leak fixes are common release notes.
- Turn off browser-level secure DNS if it overrides the VPN, or set it to use the same provider.
- Remove manual DNS settings from your adapter and router while using the VPN.
- If you use manual OpenVPN or WireGuard configs, set the
DNSoption inside the configuration and apply the provider's recommended firewall rules. - Switch providers if the problem persists. A VPN you cannot make leak-free is not doing its job.
Is a leak always bad?
A leak to your ISP defeats a main reason for using a VPN. A leak to a public resolver you chose is a trade-off. Either way, the full privacy scan shows how it affects your overall exposure.