$0.00
A

Proxy glossary

DNS leak: what it is and how to fix it

A DNS leak happens when your traffic goes through a proxy or VPN but DNS queries, which turn domain names into IP addresses, still go straight to your ISP. External services can then learn your real region and ISP.

Why it happens

With an HTTP proxy, the proxy server resolves the domain, so there is usually no leak. With SOCKS5, it depends on the software: some pass the domain name to the proxy, others first resolve it through system DNS and only then connect through the proxy. In the second case DNS queries bypass the proxy.

How to fix it

1. In tools and scripts, enable remote name resolution: in curl and Python requests that is the socks5h scheme instead of socks5. 2. In antidetect browsers DNS usually already goes through the proxy; check the profile setting. 3. In Proxifier, enable name resolution through the proxy. 4. Run a DNS leak test after the setup.

How dangerous it is

The site you visit usually does not see your DNS queries itself. But testing services and advanced anti-fraud can match the DNS resolver with the IP, and a country mismatch reveals proxy use.

FAQ

Usually not: the proxy server resolves the domain.

A connection scheme in which the proxy, not your computer, resolves domains, so DNS does not leak.

Use a dedicated DNS leak test: it shows which DNS servers see your queries.

Related pages

Need proxies?

Pick residential, mobile, ISP or SOCKS5 proxies from 15+ providers in one account.