DNS leak test
A DNS leak happens when your device sends DNS requests outside your VPN's encrypted tunnel, so your internet provider can see which sites you visit and your real location is revealed, even though the rest of your traffic still looks protected.
Run the test below. With KeepYourHomeIP, the DNS servers you see should belong to your home network. If they belong to your current location instead, you have a leak.
How to read your DNS leak test results
A DNS server in your results doesn't automatically mean a leak.
What's normal depends on how you connect.
Possible leak, if this isn't the DNS you meant to use. Check your VPN's DNS settings, turn on DNS leak protection and test again.
Your DNS requests go through your home connection, as designed.
Expected if your VPN uses its own DNS servers.
Check whether another VPN app is running on your device.
Fine if you chose it in your VPN app or device settings. If you didn't, check your browser's secure DNS setting.
Fine if your home network uses it. If it doesn't, check your browser's secure DNS setting.
Providers use more than one server for speed and backup.
Providers use more than one server for speed and backup
Likely a leak. Your DNS requests are going to the local network instead of through your VPN. Turn on DNS leak protection in your VPN app and test again.
Your DNS isn't going through your home connection. Check that your device is connected to the travel router, not the local Wi-Fi, and test again.
Check your browser's secure DNS setting and any other VPN apps, then test again.
Check your browser's secure DNS setting and any other VPN apps, then test again.
What is a DNS leak?
A DNS leak means your VPN isn’t hiding you as completely as you think. Every time you open a website, your device also sends a quiet, separate request to look up that site’s address. Your VPN is supposed to carry that request through its encrypted tunnel along with everything else, so no one outside can see where you’re going.
A DNS leak happens when that request skips the tunnel and goes straight to your internet provider instead, like sealing a letter in an envelope but writing the real recipient’s name on the outside. The post office still can’t read what’s inside, but it knows exactly who you’re writing to. Same here: your provider can see every site you visit, though not the specific pages you open or what you do on them.
What causes DNS leaks?
Most leaks come down to a setting that sends DNS requests around the VPN instead of through it. The most common causes:
Your device is on the local Wi-Fi instead of your VPN or travel router, or Wi-Fi reconnects to the local network on its own.
The VPN connection has dropped or was set up incorrectly.
Manually set DNS servers on your device or router can override the ones your VPN provides.
Some VPNs only handle IPv4 traffic, so IPv6 DNS requests can go around the tunnel.
Many browsers have their own secure DNS or DNS over HTTPS
Work VPN such as GlobalProtect, AnyConnect or Zscaler may handle DNS for some or all of your traffic, so seeing your company’s DNS servers while it’s on is usually normal.
Setting in your VPN app that leaves some apps or sites outside the VPN.
What can a DNS leak expose?
A DNS leak can show the domains you request, like your bank, your email or your company’s tools, to whoever runs the DNS server that receives them. It can also show which network those requests came from.
Say you’re working from a hotel in Lisbon with your VPN switched on. Your browsing goes through the VPN, but an IPv6 or browser setting quietly sends your DNS requests to the hotel’s internet provider instead. That provider can now see the domains you request, and your test results show a Portuguese provider instead of the one you expected. With KeepYourHomeIP, the same thing can happen if your laptop reconnects to the hotel Wi-Fi instead of your travel router: your results show the hotel’s provider instead of your home one.
A DNS leak doesn’t expose what you do on HTTPS sites, only the domains you request.
How to fix a DNS leak
Most leaks have an everyday cause, like a laptop that jumped back onto the hotel Wi-Fi. If your results don't look right, work through these steps in order:
Make sure your VPN is connected. With KeepYourHomeIP, make sure the home server and the travel router are both powered on and online.
With KeepYourHomeIP, plug your laptop into the travel router's LAN port with an Ethernet cable and turn off Wi-Fi. With Wi-Fi on, your laptop can drop back to the hotel network and send DNS requests there.
Run an IP address check right after the DNS test. With KeepYourHomeIP, it should show your home internet provider. With a regular VPN, it should show your VPN provider.
With a regular VPN, turn on DNS leak protection in the app or use the VPN's own DNS servers. With KeepYourHomeIP, you don't need to change anything: your travel router sends your DNS requests home through the encrypted tunnel, so your results should show your home internet provider. If they don't, go back to steps 1 and 2. If your work VPN is on, run the test with it on and off and compare the results.
KeepYourHomeIP devices have IPv6 turned off by default. On other setups, turn off IPv6 on your device or check that your VPN covers it.
Many browsers have their own secure DNS or DNS over HTTPS setting, usually in the privacy or security settings. Turn it off while you test.
Run the test and compare your results with the table above.
KeepYourHomeIP user and these steps didn't fix it?
Get in touch before you change any advanced router settings.
Can DNS leaks happen with a hardware VPN?
Yes. A hardware VPN covers every device connected to it, with no apps to install, but the result still depends on how it handles DNS.
KeepYourHomeIP uses two devices you own: a home server that stays plugged into your router at home, and a travel router that goes with you. Your devices connect to the travel router, which sends their traffic through an encrypted WireGuard tunnel to the home server. Your traffic exits through your home internet connection, so you keep your home IP address.
By default, your DNS requests travel through the same encrypted tunnel and are answered by your home network's DNS, so your results should show your home internet provider. You may also see other DNS servers, such as Google Public DNS or Cloudflare, if your home internet provider uses custom DNS servers or you've set them up yourself on your home network. That's normal. If you see anything else, start with the steps above.
Frequently asked questions
Quick explanations to help you get started and move faster.
Run the test with your VPN on and compare the DNS servers with the setup you expect. An unexpected internet provider or local-network DNS server can be a sign of a leak. With KeepYourHomeIP, connect to your travel router first; you should see your home network’s DNS.
Yes, if it's set up correctly. Browser secure DNS, IPv6, and split tunneling can still let DNS requests slip out, so it's worth testing after any change to your setup.
Yes. Most providers use several servers for speed and backup. It's only a problem if they belong to a provider or country you don't expect.
Not to the websites you visit. The DNS server that receives your queries sees the IP address they came from, which could be your network, a router, a VPN server or another intermediary. So a DNS leak test shows where your DNS requests go, not necessarily where you are. With KeepYourHomeIP, websites see your home IP because your traffic goes through your home connection.
A DNS leak sends your DNS requests outside your VPN. A WebRTC leak happens inside your browser, when its video and voice call features reveal your IP address. They're separate issues, so check them separately.