Skip to Content
Platform.Ontology

DNS resolver leak test

A page makes the browser look up unique hostnames so the site learns which DNS resolver the visitor uses.

Gets silentlyNetwork and connectionDNSWeb browsersWhen the page loads

In one line

Can find which DNS service your device uses by having it look up odd names

A page makes the browser look up unique hostnames so the site learns which DNS resolver the visitor uses.

The page requests random-subdomain.example. The authoritative server logs which recursive resolver asked, revealing the ISP, a public DNS (Google, Cloudflare), or a VPN leak. DoH hides it from the local network, not from the site.

What it can and can't do

What the user does: Nothing. It happens when the page loads in the background

It can

  • Make your browser look up unique made up site names
  • See which DNS service answers, such as your ISP, Google or Cloudflare
  • Spot a VPN that leaks DNS

It cannot

  • See which sites you visit in other tabs from this test
  • Be hidden by encrypted DNS, which only hides it from your network, not from the site
  • Learn your name from it

Browser support

BrowserStatusFirst versionReleasedNote
ChromeSupported12008-12-11None
EdgeSupported792020-01-15None
FirefoxSupported12004-11-09None
SafariSupported12003-06-23None
Safari on iPhoneSupported12007-06-29None
Chrome on AndroidSupported1Not listedNone
Samsung InternetSupported5.02016-12-15None

How a site asks for it

APIfetch/img to unique subdomains; authoritative DNS logging
How access is grantednone
What the user seesNot listed
Needs a secure context (HTTPS)No
Needs a user gestureNo
How long it lastsNot listed
How to take it backNot listed
Inside an iframeNot listed

Typical flow

  1. Load unique subdomain resources
  2. Log resolver source IP
  3. Compare to client IP and VPN claim

Data you get

What comes back: Resolver IP and ASN
Shape: string

FieldTypeUnitRangePrecision
resolver ipstringNoneIPv4 or IPv6exact

Technical limits

  • ECS (EDNS client subnet) may leak a client prefix
  • Resolver may not map to a person

The story

What it is

A page makes your browser look up odd web names so it can see which DNS service you use.

For you

You see nothing. The page quietly asks your browser to look up random names, and the site's own server sees which DNS service asked. That can show your internet provider or whether a VPN is leaking.

For makers

VPN, privacy and security testers use it to check leaks. Fraud teams can use it as one more clue to where you really are, even behind a VPN.

Where you see it

TypeExampleApps
securityA VPN leak test website shows which DNS service your computer uses, and whether it matches the VPN.ipleak.net, dnsleaktest.com
securityA fraud system compares the DNS service with the claimed country and flags a mismatch.None named
gamesA game anti cheat or region lock service checks whether a player behind a VPN is faking a region.None named
mediaA streaming service checks for DNS tricks used to unlock other regions.Netflix
analyticsA privacy researcher measures which DNS services people use.None named
adsA tracker can use the resolver as an extra clue to link visits.None named

Risks

  • Can expose a VPN leak
  • Hidden extra requests

Good uses and abuse

Legitimate uses

  • Leak testing (dnsleaktest, browserleaks)

Known abuse

  • VPN bypass detection, network profiling

Scores

ScoreValueMeaning
Sensitivity2 of 5How revealing the data is
Utility4 of 5How useful it is to honest apps
Friction0 of 5How much the user has to do
Fingerprint bits2Rough identifying entropy, when known

History

  • 2020-02, Firefox: DoH default in the US
  • 2020-05, Chrome 83: Automatic DoH upgrade for supporting resolvers

Sources

How well checked: Based on official documentation.

On this page