DNS Leak Test
Find out which DNS resolver is actually answering your browser's lookups — and whether it's bypassing your VPN.
Probing your system DNS resolver…
Forcing a fresh lookup on a unique subdomain so we can capture the resolver that actually answers your browser’s queries.
Test Details
- Your exit IP
- 216.73.217.177United States · AS16509 Amazon.com, Inc.
- System DNS resolver
- resolving…
Probe endpoint: edns.ip-api.com
What is a DNS leak?
Every time you visit a website, your browser first asks a DNS resolver to translate the domain name into an IP address. If that resolver sits outside your VPN tunnel — usually your ISP's default resolver — then the full list of domains you visit is visible to your ISP, to anyone wiretapping the local network, and to the resolver's operator, even if the page content itself is encrypted.
A proper DNS leak test confirms that your DNS queries are traveling through the VPN and resolving on a server you chose, not on your ISP's box. This page loads a diagnostic endpoint at edns.ip-api.com, which redirects your browser to a unique subdomain that your system resolver has never seen before — forcing a fresh lookup. ip-api's authoritative server records the resolver IP and echoes it back so we can check where it sits.
How to stop DNS leaks
Test limitations
This test checks one resolver at one moment in time using DNS-over-HTTPS. Some operating systems use different resolvers for different queries, so a single lookup may miss leaks that only occur on certain domains. For a thorough audit, run the test multiple times, disable extensions that force DoH (like 1.1.1.1 or NextDNS), and compare to command-line tools such as dig @1.1.1.1 whoami.cloudflare TXT.
Frequently Asked Questions
What is a DNS leak?
A DNS leak happens when your computer sends DNS queries to your ISP or another default resolver instead of through your VPN tunnel. Even if your HTTP traffic is encrypted and routed through a VPN exit, the list of websites you visit is still visible to whoever answers your DNS lookups.
How does this DNS leak test work?
The test loads a diagnostic endpoint at edns.ip-api.com. The endpoint redirects your browser to a unique, never-before-seen subdomain, which forces your system resolver to perform a fresh DNS lookup. ip-api operates the authoritative server for that subdomain and echoes back the IP address of the resolver that made the query, along with its country and ISP. We then compare that resolver to the IP your HTTP request came from — if the two live in different countries or autonomous systems, your DNS is leaking outside your VPN.
Why does DNS leak even when I use a VPN?
Some VPN clients tunnel only HTTP/HTTPS traffic and leave DNS on the default system resolver. Some operating systems (especially Windows) send DNS queries in parallel to every configured resolver and use the fastest answer, which is often the ISP. And some apps — browsers with DNS-over-HTTPS, smart-TV streaming apps, Docker containers — configure their own resolver independently of the VPN.
How do I fix a DNS leak?
First, enable the "Use VPN DNS" or "Block DNS outside tunnel" option in your VPN client. Second, set your system resolver manually to a trusted provider (Cloudflare 1.1.1.1, Quad9 9.9.9.9, or your VPN provider's own DNS). Third, in Firefox enable DNS-over-HTTPS (Settings → Privacy → DNS over HTTPS → Max protection); in Chrome enable Secure DNS under Privacy and security → Security. Re-run this test to confirm the leak is closed.
Is DNS-over-HTTPS (DoH) enough to stop leaks?
DoH hides your queries from your ISP and from anyone sniffing the local network, which is a large improvement. It does not automatically route queries through your VPN; the DoH resolver you pick still sees the full list of names you look up. For maximum privacy use a VPN that tunnels DNS alongside a trusted DoH provider (your VPN vendor, Cloudflare, or Quad9).
Why does the resolver IP not look like 1.1.1.1 or 8.8.8.8?
Public DNS operators run large fleets of recursive resolvers behind anycast. When you query 1.1.1.1, the actual server that answers is one of hundreds of IPs distributed across the global Cloudflare network, and it is that backend IP that appears in the whoami lookup. What matters for leak detection is whether the backend is in the same country/ASN as your VPN exit.
Why did the test fail?
The most common cause is a content blocker or tracker blocker stopping the fetch to edns.ip-api.com. Some corporate networks and captive portals also block third-party DNS diagnostic services. Disable blockers and retry. If the failure persists on public networks, the endpoint is probably being blocked by the network operator.
More Tools
Full Browser Inspector
See all 80+ data points your browser exposes
What Is My IP?
Check your public IP, location, and ISP
What Is My Browser?
Detect your browser, version, OS, and device type
IPv6 Leak Test
Check whether your IPv6 address leaks alongside your VPN's IPv4
WebRTC Leak Test
Detect local and public IPs exposed by WebRTC, even behind a VPN
JavaScript Information
Inspect your JS engine, supported features, and runtime capabilities
Canvas Fingerprint
See the unique image your browser renders and how trackers use it
Geolocation API Test
Check what coordinates your browser exposes via the Geolocation API
TLS Client Test
Inspect your ClientHello, cipher suites, and JA3 fingerprint
Incognito / Private Mode Test
Detect whether your browser is in Incognito or Private Browsing mode