What is DNS Leak?
A DNS leak happens when a client sends its name lookups outside the proxy tunnel, so queries travel over the real ISP connection while the traffic itself exits on the proxy IP. The resolver operator, and any authoritative server it contacts, then sees a lookup tied to your actual network, region and provider.
Leak tests work by handing the browser a set of unique hostnames under a zone the test operator controls, then recording which resolver addresses ask the authoritative server for them. The report lists those resolvers with their networks and countries. That is why a leak test shows resolver identities rather than your own address. The authoritative server never sees you; it sees whoever asked on your behalf. When those resolvers belong to your home ISP while the exit IP belongs to a carrier in another country, the split is plain.
Causes cluster in a few places. A SOCKS5 client configured to resolve names itself hands the proxy an address instead of a hostname. A browser running its own DNS over HTTPS resolver ignores the system configuration you changed. An IPv4-only proxy paired with native IPv6 connectivity sends AAAA traffic around the tunnel. Windows has historically queried every available interface in parallel for speed. Containers and routers push their own hardcoded resolvers, and a split-tunnel VPN rule can exempt port 53 without saying so.
What hurts is usually the contradiction rather than your exact address. Anti-fraud scoring compares the country and network of the exit against everything else the session reveals, and a resolver sitting on a residential line in one country behind an exit in another is a cheap signal to act on. EDNS Client Subnet can push part of your real subnet to authoritative servers as well. Across multiple accounts run from one machine, a shared resolver also links profiles that were meant to look unrelated.
Fixing it means forcing every lookup through the same path as the traffic. Use remote resolution in the SOCKS client, disable the browser's independent DoH resolver or point it at something reachable only through the proxy, and either disable IPv6 or use a dual-stack exit. Then retest inside the stack that does the work. A clean result in a desktop browser proves nothing about a headless Chromium instance or a Python client with different settings, and resolvers rotate, so run the check more than once.
Where you meet it
This comes up right after a proxy setup that looks correct still gets accounts flagged, or when an antidetect profile passes an IP check and fails a fingerprint audit. Run the DNS leak test on proxies.sx from the exact profile and client you use for production work, compare the resolvers it reports against the exit IP's country and network, and fix the mismatch before you scale the run.
Common questions
How do I test for a DNS leak?
Load a leak-test page through the proxy and compare every resolver it reports against the network and country of your exit IP. Repeat the test a few times, since resolvers rotate between runs, and do it from the same browser profile or client that runs your real workload.
Does a DNS leak expose my real IP address?
Usually it exposes your resolver rather than you. That is often enough, because ISP resolvers map to a provider and a region, and EDNS Client Subnet can forward part of your real subnet. Either way, the result contradicts the location your exit IP claims.
Why does curl leak DNS over SOCKS5?
The socks5:// scheme resolves the hostname locally and then sends the resulting address to the proxy, so the lookup runs on your own connection. Use socks5h:// instead, which passes the hostname to the proxy and lets it resolve from its own network.
Related terms
Real 4G/5G mobile and residential IPs
PROXIES.SX runs carrier IPs in 100+ countries with HTTP and SOCKS5 on every endpoint. $4/GB down to $2.40/GB at volume, free endpoints and rotation, and your GB never expire.