Explainer
What is a DNS leak?
Something looks up every site you visit before you get there. A DNS leak means those lookups go somewhere you never chose, by default your internet provider.
What’s actually happening
Every site, app and background update starts with a lookup. Whoever answers holds a timestamped list of everywhere you go.
What a leak is
A leak is a query going somewhere other than where you pointed it. The clearest case is a VPN: lookups are supposed to travel inside the tunnel, and a leak sends them around it. Your traffic stays encrypted, but your ISP still sees every domain you asked for, and the VPN looks like it’s working.
You don’t need a VPN to leak
If you pointed your router at Quad9, run a Pi-hole or switched on encrypted DNS on your phone, you configured something. The question is whether it’s being honored. Often it isn’t.
- Your provider intercepts port 53. Some quietly redirect every DNS query on their network to their own servers, whatever you set. It’s the commonest leak without a VPN, and nothing on your device shows it.
- A device ignores you. Chromecasts and a lot of smart-home hardware have
8.8.8.8built in and never read your router’s settings. - The network overrides the machine. Set DNS on the laptop and the next DHCP lease can hand it something else.
- Your browser goes around your network. Firefox and Chrome ship their own DNS over HTTPS, which walks straight past the Pi-hole the rest of the house is behind.
- Your phone is on two networks at once. Wi-Fi and cellular each carry DNS settings, and whichever answers first wins.
HTTPS doesn’t cover this
HTTPS hides what you do on a site. It doesn’t hide which site you went to. The domain is visible during the handshake, and the lookup that came before it was in the clear.
So a leak still gives up a decent picture of you: your bank, whatever you research at 2am, your employer’s intranet, which apps are on your phone. Some countries require that list be retained. Some providers sell it.
When it isn’t a leak
If you set up encrypted DNS yourself, with Quad9, NextDNS, Cloudflare or your country’s public resolver, that’s the name you’ll see, and it’s fine. You picked it, your ISP can’t read the queries, and a resolver in another country is a choice rather than a fault.
That’s why we name the operator and don’t grade it. We can see who answered, not what you configured, so you close the gap by recognizing the name. The reverse holds too: seeing your own provider answer is only good news if that’s who you asked for.
How we can tell
Your machine knows which resolver it’s configured to use, not which one replied. That’s only visible from the other end. We give your browser a few hostnames nobody has looked up, then watch which resolver asks about them.
Two related leaks
WebRTC can hand your address to a web page without involving DNS at all, and the test checks for it. VPNs that only cover IPv4 can also let IPv6 traffic out of the tunnel.
Found a leak?
Here’s how to fix it, starting with why changing DNS provider won’t do it.