IP Leak Test — Four Paths, Three Networks, One Run
A test that probes one path answers one question. A browser opens at least four, and they do not share a route: TCP to a web server, a lookup to a resolver, UDP to a STUN server, an IPv6 socket that either exists or does not.
Probing them together changes the question. Instead of asking whether one path leaks, count how many networks answer for a single page load. Fifteen runs here returned three, every time, with no proxy configured.
The probes below run once and print side by side; the verdict counts operators, not addresses. Two addresses from one company is one network. Three addresses from three companies is not.
Thirty-one resolver lookups returned twenty-two addresses from two companies. The HTTP and UDP addresses did not change once in fifteen runs.
probed
Four-path probe
One run. HTTP exit, resolver operator, UDP address, IPv6 path.
Not run yet.
| Path | Answered by | Address | Detail |
|---|
Run the test to produce a copyable result.
Each probe calls one third-party service and closes the connection afterwards: an address echo, an EDNS echo that names the resolver which answered, three public STUN servers, and an IPv6-only echo. The IPv6 probe is given four and a half seconds and is reported as missing when it gets no answer, which is the normal result on a v4-only connection. No camera or microphone is requested, and no reading is stored or sent anywhere except back to this page.
1. One page load, four paths, three networks
The four paths are not variations of one measurement. Each leaves through a different socket, is answered by a different service, and obeys a different setting. A proxy touches the first, sometimes the second, and routinely misses the last two.
| Path | What answers | Result in 15 runs | Operator | Time |
|---|---|---|---|---|
| HTTP exit | api4.ipify.org | 177.201.235.115, 15 of 15 | HK, AS140227, Hong Kong Communications | 261–881 ms |
| DNS resolver | edns.ip-api.com | 11 different addresses | Cloudflare 10, Google 5 | 1,245–3,220 ms |
| UDP path | 3 public STUN servers | 14.155.233.50, 15 of 15 | CN Shenzhen, AS4134, Chinanet | 162–1,846 ms |
| IPv6 exit | api6.ipify.org | no answer, 0 of 15 | not reachable from here | 2,248–4,508 ms |
Fifteen runs, one profile, 250 ms apart, 09:09:39 to 09:12:03Z. Operator fields come from a separate geo lookup per address.
Three answered and no two agreed on a company: a Hong Kong hosting provider, an anycast resolver run by Cloudflare or Google, a mainland Chinese ISP. Counting operators per run gave three in all fifteen runs, which is the figure the verdict reports.
The IPv6 row is the quiet one: no answer fifteen times, and slow failures of 2.2 to 4.5 seconds, the signature of a name that resolves to an address with no route behind it. Without a v6 path there is nothing to leak. With one, it is a second family the proxy never sees, which is the case in the IPv6 test.
2. The resolver moved twice while the addresses stood still
The resolver column is the only one that cannot be read once. Three windows were recorded: fifteen runs, then two of eight, the second launched with the browser's secure-DNS feature disabled, to see whether a toggle was responsible.
| Window | Lookups | Distinct addresses | Operators | HTTP address |
|---|---|---|---|---|
| 09:09–09:12Z | 15 | 11 | Cloudflare 10, Google 5 | one, unchanged |
| 09:29:09Z, secure DNS off | 8 | 6 | Google 8 | not measured |
| 09:29:38Z, default | 8 | 7 | Google 8 | not measured |
Thirty-one lookups, twenty-two distinct addresses, two companies. Every lookup used a fresh random query on a one-time subdomain, so nothing came from cache.
Both later windows returned Google eight times each, feature on and off, so the toggle decided nothing. Whatever selects a resolver here does it above the browser, on a scale of minutes.
Hence the instruction to run the resolver line twice. An address that changes between runs is the weakest evidence here; an operator that changes is not evidence at all, it is weather. The resolver test reached the same conclusion from the other side: one operator answered from five addresses inside one network, which is a pool rather than a split.
Compare operators across paths, and an address only against itself in the same run. Two resolver addresses differing in the last octet mean nothing.
3. Who resolves is decided by the client, not by the proxy
A SOCKS5 request names its destination in one of two forms: an address, meaning the client already resolved, or a name, meaning the proxy will. The protocol has no opinion. The client decides, and the decision shows on the wire.
A local listener accepted the greeting, read the request header, recorded it, then refused the connection. Nothing upstream was contacted. Three clients were pointed at it.
| Client | What it sent | Address type | Destination received |
|---|---|---|---|
| curl --socks5 | an address | 1, IPv4 | 104.20.23.154 |
| curl --socks5-hostname | a name | 3, domain | example.com |
| Chrome 141, socks5:// | a name | 3, domain | example.com, 15 of 15 requests |
Seventeen requests in eight seconds, sixteen carrying a name. Chrome's fifteen included four sites the page asked for and eleven background requests; none carried an address.
The browser never sent an address, not for the pages asked for and not for its own update traffic. With a SOCKS5 proxy set in a browser, resolution happens on the proxy side by construction: no lookup reaches your ISP's resolver for that connection, because there is no lookup on your side.
That reframes what a DNS leak test is for. For browser traffic through a proxy the resolver line checks where the proxy resolves; it does not detect a leak. The paths a browser cannot route through SOCKS5 are the other two: UDP, which the protocol carries only in a form almost no client implements, and IPv6, which the tunnel never mentions.
One caveat keeps the row useful: a prefetch, a secure-DNS query or an application outside the browser still sends a lookup from your machine, and none of it passes through this page.
4. Reading the four lines as one result
Four lines produce more combinations than a pass or fail verdict can hold. The block above prints the count of operators; the table says what to do with it.
| What the lines show | What it means | What to change |
|---|---|---|
| All answered paths, one operator | Every path is carried by the same network | Nothing |
| HTTP differs from UDP | The proxy carries TCP and nothing else | Block non-proxied UDP, or relay through a server you control |
| Resolver operator differs from HTTP | A lookup left from somewhere the proxy does not carry | Re-run twice, then check the client's scheme and prefetch settings |
| IPv6 answers at all | A second address family exists and the tunnel does not cover it | Disable the v6 path or use a v6-capable exit |
| Nothing answers | No evidence was produced, which is not a clean result | Retry before reading anything into it |
The order matters when more than one row applies. IPv6 first, because it is binary: an address that answers is a path outside the tunnel. UDP second, because it needs a decision the browser will not make for you. DNS last, since it moves with a client setting and, as shown above, on its own as well.
Three operators is not a fault report. With no proxy it is the expected shape of a modern connection: a host for TCP, an anycast resolver for lookups, an ISP for UDP. It becomes a finding when the count fails to drop after you set a proxy, and the rows say which path refused to move.
Record the four lines before and after a change rather than reading one number twice. The block under the test is plain text for that reason: paste it into a ticket and the next reader sees which path was measured. Whether an exit carries one path or three is a specification question, worth asking when you pick a provider.
Frequently asked
Why does one page load produce three different IP addresses?
Because three different paths leave the machine and each one is answered by a different network. In fifteen consecutive runs the HTTP exit was 177.201.235.115, a Hong Kong hosting provider; the resolver that answered the lookup was Cloudflare or Google; and the STUN address was 14.155.233.50, a Shenzhen ISP. The count of distinct operators was three in all fifteen runs, on a machine with no proxy configured.
My resolver result changes every time. Is the test broken?
No. Thirty-one lookups across three windows returned twenty-two distinct resolver addresses from just two companies, and the operator itself changed between windows seventeen minutes apart. Eleven addresses in the first window came from Cloudflare and Google; the next two windows returned Google only. Read the operator, not the address, and run the resolver column twice before you believe a difference.
If my browser sends names to a SOCKS5 proxy, do I still need a DNS leak test?
For the connection itself, no: a local listener recorded seventeen SOCKS5 requests and sixteen of them carried a domain name, so resolution happened on the proxy side. But a prefetch, a secure-DNS query or any application outside the browser can still send a lookup from your machine, and this page cannot see those. That is why the resolver line is a check rather than a verdict.
Which of the four results should I fix first?
IPv6 first, because it is binary: an address that answers is a path your proxy does not carry. Then the UDP path, which needs a policy that blocks non-proxied UDP or a relay the browser is told to use. Leave DNS last, since it usually moves with a client setting and it changes on its own between runs.