AnyProxy

Get Pro
Glossary · VPN & tunneling

DNS leak

Also calledvpn dns leak
Definition

A DNS leak is when your device keeps asking its usual DNS server (often the ISP's) to look up site names while you think a VPN or proxy is handling your traffic, so the network still learns which sites you visit.

Explanation

In depth

Before connecting to a site, a device asks a DNS resolver to turn the name into an address. Those questions are usually unencrypted and go to the resolver your network hands out. A VPN should send them through its tunnel to its own resolver; if it does not, the ISP or Wi-Fi operator can log every name you look up, and, in countries that filter by DNS, still return a fake or dead answer for blocked sites. Leak test sites detect this by making your browser look up random one-time names and recording which resolvers ask their servers. With a web proxy the picture is different, and we checked it. On browserleaks.com/dns opened through AnyProxy's Singapore region, all 30 resolvers detected belonged to Google LLC in Singapore: the proxy server's resolvers, not the test machine's. That is expected, because the proxy, not your device, looks up the sites you open in its tab. What is not hidden: your device still looks up anyproxy.site itself, and every app or tab outside the proxy uses your normal DNS. A web proxy does not change your device's DNS settings.

In practice

DNS leak in the real world

A DNS leak happens when your traffic goes through a VPN or proxy but your device still sends name lookups to the local ISP. In Iran that is more than a privacy issue: the ISP resolver answers a blocked domain with a dead private address such as 10.10.34.35, so the page fails even though the tunnel is up. A web proxy avoids the problem by design — your device only ever resolves the proxy's own name; every other lookup happens on the proxy server.

Sources: OONI - Iran censorship study (2025) · BrowserLeaks - DNS leak test

We checked

DNS and IP leak tests opened through AnyProxy

BrowserLeaks DNS Leak Test through AnyProxy Singapore: found 30 servers, 1 ISP, 1 location, every resolver Google LLC in Singapore, addresses hidden

DNS leak test on browserleaks.com/dns through AnyProxy

Worked · SG exit · 2026-10-15

Test result: 'Found 30 Servers, 1 ISP, 1 Location'. Every resolver listed is Google LLC in Singapore, i.e. the resolvers used by the proxy server, not the test machine's ISP.

ipleak.net through AnyProxy Frankfurt: main IP box shows Germany, Google LLC; IPv6 test not reachable; WebRTC box shows the test machine's own network; addresses hidden

IP, IPv6 and WebRTC check on ipleak.net through AnyProxy

Partly worked · FR exit · 2026-10-15

Your IP addresses box shows Germany - Hesse, Google LLC (the Frankfurt exit) and 'No forwarded IP detected'. The IPv6 test reports 'not reachable (error)'. The WebRTC detection box still shows two addresses of the test machine's own network (Cloudflare, India).

Questions about DNS leak

Can a web proxy leak DNS?
Not for the sites you open through it. Your browser only resolves anyproxy.site; the proxy server resolves everything else from outside your network.
How do I test for a DNS leak on a VPN?
Use a DNS leak test page while connected. If it lists your ISP's resolvers rather than the VPN provider's, your lookups are leaking.
Why did the test show Google as my DNS provider?
Through AnyProxy, the leak test sees the resolvers used by the proxy server, which in our Singapore test were all Google LLC. That reflects the proxy's network, not a change to your device's DNS.

Related terms

VPNA VPN (virtual private network) is software that sends all of a device's network traffic through an encrypted connection to a provider's server, which then contacts websites on the device's behalf.DNSDNS is the system that turns a site name such as vimeo.com into the numeric IP address your device actually connects to.WebRTC leakA WebRTC leak is when a website uses the browser's built-in calling technology (WebRTC) to discover your real public IP address, even though your normal page traffic goes through a proxy or VPN.IPv6 leakAn IPv6 leak is when a VPN protects your IPv4 traffic but your device still sends IPv6 traffic directly, exposing your real IPv6 address to websites.

Put the concept to work

Try AnyProxy free — no install, no signup, six regions.

Open a blocked page