DNS Leak Test - Check for DNS Leaks

See which DNS servers answer your browser's lookups, and whether your VPN is sending them to your internet provider instead of through the tunnel.

Click the button to run the test. Your browser looks up 10 unique test addresses and the page shows which DNS servers answered. It takes a few seconds.

Your connection:
Your IP18.97.9.174
Internet providerAmazon.com, Inc.
CountryUnited States
VPN or proxy detectedYes

Understanding This Tool

What It Does

When you click Run DNS Leak Test, your browser looks up ten random addresses that nobody has ever used, under a test domain run by ip-api.com. Because the names are new, each lookup has to travel all the way to the DNS server your device really uses, and ip-api's name servers record which server asked. The page then lists those DNS servers next to your own public IP address and internet provider.

A DNS leak is when your web traffic goes through a VPN but your DNS lookups still go to your home internet provider, which can then see every site you look up. The test flags that case: you appear to be on a VPN, yet your DNS servers belong to a different, ordinary internet provider.

Understanding the Results

  • Result: one line that sums up the test. "No DNS leak found" means your lookups go to the same network as your VPN or to a public DNS service. "Possible DNS leak" means you appear to be on a VPN but a different internet provider answered your lookups.
  • DNS servers that answered for you: the IP address, company and country of each DNS server that handled the ten test lookups. Seeing several servers from the same company is normal, because large providers spread lookups over many machines.
  • Your connection: your public IP address, the internet provider and country it belongs to, and whether it looks like a VPN or proxy. Compare the provider here with the DNS servers above.

Common Use Cases

  • Checking a new VPN: connect, run the test, and make sure your home internet provider does not appear in the DNS list.
  • Confirming a DNS change: after switching to a service such as 1.1.1.1 or 8.8.8.8, the test shows whether your device actually uses it.
  • Public Wi-Fi: see whose DNS servers a hotel or cafe network hands you before you browse.
  • Router settings: check that the DNS servers set on your router are the ones your devices end up using.

Pro Tips & Best Practices

  • Run it twice: once with the VPN off and once with it on. The DNS servers should change from your internet provider's to your VPN's or a public service's.
  • Turn on leak protection: most VPN apps have a "DNS leak protection" or "use VPN DNS" setting. Switch it on and run the test again.
  • Browser secure DNS: if Chrome, Edge or Firefox has Secure DNS (DNS over HTTPS) turned on, the browser uses that service directly, so the test shows it instead of your system DNS.
  • Also check WebRTC: a VPN can hide your DNS and still expose your real IP through WebRTC. Run the WebRTC leak test too.
  • VPN detection has limits: the "VPN or proxy detected" line comes from IP reputation data and can miss a VPN. If you are on a VPN and the DNS list shows your home internet provider, treat it as a leak.

Frequently Asked Questions

What is a DNS leak?
Every time you open a website, your device first asks a DNS server for the site's address. A DNS leak happens when your VPN carries your web traffic but those DNS questions still go to your home internet provider. Your provider can then see a list of every site you look up, even though the pages themselves travel through the VPN.
How does this DNS leak test work?
Your browser looks up ten random addresses under a test domain run by ip-api.com. Nobody has used those names before, so each lookup goes all the way to the DNS server your device really uses, and ip-api's name servers report which server asked. The page lists those servers and compares them with the network of your public IP address.
Why does the test show several DNS servers?
Large DNS providers answer from pools of many machines, so ten lookups can be answered by three or four different addresses. That is normal. What matters is which company they belong to: your VPN's network or a public DNS service is fine, your home internet provider while the VPN is on is a leak.
The test shows Google or Cloudflare, not my VPN. Is that a leak?
Not a leak to your internet provider. Either your VPN sends DNS to that public service, or your browser has Secure DNS (DNS over HTTPS) turned on and talks to it directly. Your provider cannot see those lookups, but the DNS company can, so pick one whose privacy policy you trust.
How do I fix a DNS leak?
Turn on the DNS leak protection or "use VPN DNS" option in your VPN app, then reconnect and run the test again. If it still leaks, set your device or router to use your VPN's DNS servers, or turn on Secure DNS in your browser with a provider you trust. Restart the browser before you test again.
Do you store my test results?
No. The test runs in your browser: the lookups go from your device to ip-api.com, and the results are shown on this page only. We do not save them.
Last reviewed: Reviewed by the

How this tool works: This tool runs in your browser and on our server in real time. Depending on the tool, results are computed directly from the input you provide or retrieved from live, authoritative data sources at the moment you run a lookup. We do not sell your data, and your lookups are kept private — any history shown here is stored only on your device.