What Is a DNS Leak and How Do You Stop One on a VPN Router?
Updated November 2026
You turned on your VPN, your IP address changed, and you assumed you were done. Then a DNS leak test shows your internet provider's servers. That is a DNS leak, and it is one of the most common questions we get at our support desk.
Here is what it means, why it happens, and how to stop it for every device on your network.
The short answer
DNS turns a site name into an address. A DNS leak happens when those lookups skip your VPN tunnel and go to your ISP or another outside server. The VPN still hides your traffic, but the leak can reveal which sites you visit and can trip streaming location checks. On a VPN router, you fix it by sending DNS through the tunnel and closing the side doors devices use to bypass it.
The basics
What DNS does
DNS stands for Domain Name System. Every time a device opens a site or an app, it first asks a DNS server, "what is the address for this name?" Only then does it connect.
Normally your router hands every device your ISP's DNS servers. That means your ISP sees a list of every name your household looks up, even when the pages themselves are encrypted.
The problem
What a DNS leak is
With a VPN on, your traffic goes through an encrypted tunnel to the VPN server. Your DNS lookups should go through that tunnel too, to a DNS server your VPN provider runs or chooses.
A leak is when the lookups travel outside the tunnel instead. Your IP address still looks like the VPN's, but the lookups go straight to your ISP or another resolver. Two things follow:
- Privacy: your ISP, or whoever runs that resolver, can see which sites you visit.
- Streaming: a mismatch between your VPN location and your DNS location is one of the signals services use to flag VPNs. Our post on how websites detect your location covers the others.
Causes
Why DNS leaks happen
- The router still hands out the ISP's DNS. The tunnel is up, but devices were told to use the ISP's servers, so they do.
- A device ignores the router. Some streaming sticks, smart TVs and game consoles use their own built-in DNS servers no matter what the router says.
- The browser uses its own DNS. Chrome, Firefox and Edge can run "secure DNS" (DNS over HTTPS) to a provider you didn't choose for your VPN.
- IPv6 isn't tunneled. If your ISP gives you IPv6 and your VPN only carries IPv4, lookups and traffic can slip out over IPv6.
- A device runs its own VPN app too. Two VPNs on top of each other can confuse which DNS server wins.
Check
How to test for a DNS leak
- Connect a device to your VPN router's network and confirm the VPN shows as connected in the router.
- Open a DNS leak test site in a browser and run its extended test.
- Look at who owns the DNS servers it lists. You want to see your VPN provider, or the DNS service you chose for the tunnel. You don't want to see your ISP's name.
- Repeat on the devices you care about most, especially a TV or streaming stick, since those are the ones that most often ignore the router.
From our support desk
Run the test once with the browser's secure DNS setting turned off. If the leak disappears, the browser was the cause, not the router.
Fix
How to stop DNS leaks on a VPN router
A router VPN has an advantage here: you fix DNS once and it covers every device, including the ones that can't run a VPN app.
- Use your VPN provider's DNS for the tunnel. Most VPN router firmware has a setting to accept the provider's DNS or force DNS through the VPN. Turn it on.
- Redirect stubborn devices. Firmware that can redirect all DNS requests to the router stops TVs and streaming sticks from using their own servers. On AsusWRT-Merlin, DNS Director does this per device.
- Handle IPv6. If your VPN doesn't carry IPv6, turn IPv6 off on the router or block it for VPN devices.
- Line up browser settings. Turn off the browser's secure DNS on VPN devices, or point it at the same provider your VPN uses.
- Mind your exceptions. If you send only some devices through the VPN with policy-based routing, the others will use your ISP's DNS by design. That's expected, not a leak.
On a Privacy Hero 2, the guided setup in your browser walks you through your VPN provider and connection. If a test still shows your ISP afterward, contact us and we'll look at it with you.
FAQ
Frequently asked questions
Is a DNS leak dangerous?
It doesn't expose the contents of your traffic, which the VPN still encrypts. It does let your ISP or another DNS provider see which sites you visit, and it can make streaming services flag your connection.
Can a DNS leak happen on a VPN router?
Yes, if the router hands out your ISP's DNS, a device uses its own built-in DNS, the browser uses its own secure DNS, or IPv6 bypasses the tunnel. Each of these can be fixed in the router or the device.
Does a DNS leak test show my real IP address?
A good test shows your public IP and the DNS servers that answered. With the VPN working, the IP should belong to your VPN provider and the DNS servers should not belong to your ISP.
Should I use Google or Cloudflare DNS with my VPN?
Your VPN provider's DNS is usually best because it travels inside the tunnel and keeps your location consistent. A public resolver works if it is sent through the tunnel, but it adds another company that sees your lookups.
Why does my streaming stick still fail a DNS leak test?
Many streaming sticks and smart TVs use their own DNS servers and ignore the router. Use a firmware feature that redirects all DNS to the router, such as DNS Director on AsusWRT-Merlin.
For everything else about VPN routers, from setup behind your ISP's box to picking a provider, see our VPN Router Guide.
Still seeing your ISP in a DNS test?
Send us your router model and VPN provider. Our US-based team will tell you which setting is letting DNS out and how to close it.
Talk to an expertTake the Router Quiz
100,000+ Routers Shipped · 15+ Years of VPN Expertise · Official NordVPN Partner · US-Based Experts
About the author
FlashRouters Editorial
FlashRouters Editorial is the byline for pieces contributed by our sales, marketing, and technical teams, as well as freelance contributors writing in collaboration with our staff. Every piece under this byline is reviewed by the FlashRouters executive team before publication.
More from FlashRouters (93) → LinkedIn → How we write & fact-check
Find your next router
A better fit for your home.
Compare home, mesh, and travel routers, with VPN setup options for the way you use your network.
Compare VPN routers →Compare Privacy Hero bundlesMake setup easier.
Start with the part you need help with.
Smart TVs & streaming →Keep your ISP router? →Setup guides & troubleshooting →Need a VPN subscription?
Explore provider offers. Check your router’s compatibility before signing up.
We may earn a commission if you sign up through these links.