DNS leak test
If your DNS queries skip the VPN tunnel, your internet provider still sees every site you visit — even with the VPN connected. Here is how to check and fix it.
What is a DNS leak?
When you type a URL, your device first asks a DNS server for the IP address of that domain. If the DNS query goes through the VPN tunnel, your ISP sees only encrypted traffic. If it skips the tunnel — a DNS leak — your ISP sees every domain you visit, even though the connection that follows is encrypted. Censored networks often inspect DNS queries to enforce blocklists, so a DNS leak is fatal in those environments.
What causes DNS leaks?
Three common causes: (1) The VPN client sets its own DNS resolver but the OS ignores it and uses the resolver assigned by the local network. (2) IPv6 traffic is not tunneled, so IPv6 DNS queries leak around the VPN. (3) Browsers like Chrome and Firefox can use "smart" DNS routing (DNS-over-HTTPS) that bypasses system DNS settings entirely.
How to fix a DNS leak
Use a VPN that owns its DNS infrastructure and forces all DNS queries through the tunnel (Doppler does this by default on every platform). Disable IPv6 in your OS network settings if your VPN does not support IPv6 tunneling. In your browser, set DNS-over-HTTPS to use the same provider as your VPN, or disable it. On routers, set the upstream DNS to a privacy-respecting resolver (Quad9, Cloudflare 1.1.1.1) only if you are not running a VPN at the device level.
Doppler's DNS guarantees:
- All DNS queries are forced through the VPN tunnel — no system-DNS leaks.
- IPv6 is either tunneled or blocked, never leaked.
- Our DNS resolvers do not log queries.
- We block DNS-over-HTTPS bypass attempts from browsers when the kill-switch is on.