DNS Leak Scan

Transparent DNS proxies: when your network answers for you

Updated November 23, 2026 · By the DNS Leak Scan team

The short answer

Some networks catch every plain DNS lookup that passes through them and answer it with their own resolver, whatever server your device asked for. Your settings still show the server you chose. Nothing on your device tells you it happened.

You can spot it by comparing the resolver you set with the resolver our test sees. Encrypted DNS and a VPN that carries DNS both get past it, because the network can no longer read or redirect the lookups. Typing in a different DNS server number doesn't.

How interception works

Plain DNS travels unencrypted, normally on port 53. A router or gateway that forwards your packets can recognise that traffic and hand it to a resolver of its own, then send the answer back as if it came from the server you asked. That is what people mean by a transparent DNS proxy. Transparent because, from your side, it is invisible.

Google's Public DNS documentation is frank about how common this is. Its FAQ says some internet providers and open resolvers block, filter or redirect DNS responses for commercial purposes. Its troubleshooting guide says different answers could be due to DNS hijacking by a captive Wi-Fi portal, malware on your router, your internet provider or its networks.

Captive portals are the most familiar case. RFC 8952 describes them as networks that limit devices to a few hosts until the user meets the portal's conditions, such as signing in or accepting terms.

Why changing the DNS server doesn't help

Setting 1.1.1.1 or 8.8.8.8 by hand changes the address your device puts on its DNS packets. The packets are still plain DNS on port 53, so the network catches them the same way. The proxy doesn't care which address was on them.

That is why "I set my DNS to Google and my provider still sees everything" is not a contradiction. The setting was honoured on your device and ignored on the network.

Spotting it with this test

The test doesn't know what you set. It only sees which resolver finally asks our DNS server for the test names. So the tell is a mismatch you have to notice yourself.

  1. Turn off secure DNS in your browser for this check. Otherwise the browser may send its lookups over HTTPS and skip the proxy, which hides what the rest of the system is going through.
  2. Set a public resolver by hand on the device, such as Cloudflare's 1.1.1.1.
  3. Run the Extended test with no VPN.

If the table shows Cloudflare with the "Public resolver" tag, your lookups reached the server you chose. If it shows your provider's network or the venue's network instead, with the "Same network as your IP" tag, something on the path answered for Cloudflare.

Note the verdict in that second case. It is "Looks fine", because a resolver on your own network is not a leak around a VPN. The verdict answers a different question. For this check, read the table.

One step matters before you blame the network. Chrome's help says its secure DNS is on by default in automatic mode, and the Chromium project describes that as an upgrade to your current provider's DoH server when Chrome knows one. With 1.1.1.1 set and secure DNS left on, Chrome may reach Cloudflare over HTTPS and the test will show Cloudflare even on an intercepting network. That is why step 1 turns it off.

A second check from the command line

Google publishes a test name for exactly this purpose. Its troubleshooting guide gives the commands. On macOS or Linux, dig -t TXT test.dns.google.com. '@dns.google.'. On Windows, nslookup -debug -type=TXT test.dns.google.com. dns.google..

If your question reaches Google Public DNS, the answer is a TXT record that reads "Thanks for using Google Public DNS." Google's guide says that if the output shows NXDOMAIN instead, you are reaching another DNS resolver. A timeout means DNS to Google Public DNS is blocked.

This checks the operating system's path, not the browser's. Run both checks. When the command says another resolver and our test shows the venue's network, the proxy is probably catching both. When only the command fails, a likely reason is that your browser uses its own secure DNS, but blocking aimed at one resolver can look the same. Check the browser's secure DNS setting to confirm.

Worked example: a hotel network

A laptop at a hotel has 1.1.1.1 set by hand and browser secure DNS turned off. No VPN. The public IP is 198.51.100.24 on Example Hotel Network (AS64502). The Extended test answers all 36 lookups.

Resolver IPOwnerTagLookups
198.51.100.53Example Hotel Network (AS64502)Same network as your IP36

The verdict is "Looks fine", but Cloudflare is nowhere in the table. The Google TXT check returns NXDOMAIN. Both checks agree that something on the hotel's network answers plain DNS, whatever address it was sent to.

Next, the browser's secure DNS is set to Cloudflare with no fallback, and the test is run again.

Resolver IPOwnerTagLookups
192.0.2.10Cloudflare (AS13335)Public resolver36

The browser's lookups now reach Cloudflare. The command-line check still returns NXDOMAIN, because the system still uses plain DNS. Only the browser changed. Turning on the VPN with its own DNS would change the system path too, as long as the VPN carries DNS through the tunnel.

What gets around it

DNS over HTTPS. RFC 8484 sends DNS inside HTTPS, normally on port 443. The proxy can't read the lookups, and it can't answer for the resolver without failing the encrypted connection's check of who is on the other end.

DNS over TLS. RFC 7858 sends DNS inside TLS, on port 853 by default. Same protection, but the dedicated port makes it easy to block. On a network that blocks it, the lookup fails or falls back to plain DNS, depending on your setting.

A VPN that carries DNS. With a full tunnel and the VPN's own resolver, the venue sees only an encrypted connection to the VPN server. The lookups travel inside it. Our test then shows the VPN's resolver.

What doesn't. A different DNS server number, or reconnecting to the Wi-Fi. Plain DNS on the same network meets the same proxy.

When the network has a reason

Not every network that controls DNS is up to something. Schools, workplaces and some public networks are required to filter or log traffic. Apple's guidance for network operators says some enterprise and school networks may be required to audit all traffic and can block iCloud Private Relay, and users are then told to turn it off for that network or pick another one. Chrome's help says secure DNS can't be used on a managed device or with parental controls on.

On a network like that, encrypted DNS may simply not work, or the network may block it on purpose. Going around it can break access to internal sites, and it may break the rules you agreed to when you joined. If it's your employer's or school's network, ask the administrator what is allowed. If it's a hotel or café, a VPN is the more reliable route.

What neither check can see

A proxy that catches your lookups and passes them on to the same resolver you asked for leaves no trace in our test. The table shows the resolver that finally asked our server, so it shows Cloudflare as expected. The proxy could still read every name on the way.

The test also can't tell you whether a lookup was encrypted. A public resolver tag means that resolver asked our server. It doesn't mean your device reached it over DoH, DoT or plain DNS. Your device and browser settings are the place to confirm that. The command-line check only shows where plain DNS from the operating system ends up.

If privacy from the local network matters to you, don't rely on plain DNS being left alone. Use encrypted DNS with a fixed provider, or a VPN that carries DNS, and confirm with the test that the resolver is the one you expect.

Sources

More guides