-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to avoid DNS leaks? #590
Comments
odd. can you figure out how curl does its DNS lookups ? if your analysis is correct, it would appear it doesn't use libc facilities but rather its own UDP code or another library that circumvents the libc APIs. |
I did strace of seems c-ares (AsynchDNS) is to blame:
|
nice research. |
DNS not leaked:
All is ok, DNS query went through system resolver on proxy server side (checked via tcpdump)
but:
Leaked, DNS query went through localhost system resolver (checked via tcpdump).
proxychains.conf:
I encountered this issue trying to find a solution for more generic problem: complete elimination "DNS leak" issue.
Of course, it can't be done at localhost, so I'm tunneling all traffic via "router" running tun2socks, but resolving is still a problem – tunneling DNS queries via proxy is a «leak» too. The one and only solution is a delegating resolve to a socks proxy and I'm trying to understang if it can be done with proxychains.
The text was updated successfully, but these errors were encountered: