Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
dnscrypt and VPN #24
I've been a long time user of the streisand project.
Your instructions were crystal clear, and after the setup, everything worked fine... Until the moment that I connected to my VPN using tunnelblick.
Most VPNs override the DNS settings, and therefore they break with dnscrypt.
@Couto I have the same problem with some VPN, I have subscribed to 3 VPN by very cheap temporary deal/bundles.
For another VPN, I have extracted some country-servers settings and insert them in Apple Network and activate the 'country' I want through apple vpn icon in the menu bar.
For another VPN, don't use it often, I think it does not change the DNS, so DNSCrypt is launched then the VPN.
You can check your IP and DNS used on http://whoer.net/
It sounds like the VPN software is setting DNS settings, which makes sense. I'm not familiar with tunnelblick but will check it out. You'll probably want to edit the scripts or commands it uses to set DNS to localhost, so your packets take this route:
Most VPN are using google DNS which is not a good idea for privacy without mentionning censorship.
Some VPN have their own, providing an extra level of privacy.
Up to you to choose another free or paying DNS services.
Perhaps adding a list of alternative of (free) DNS would be helpful.
Find the fastest DNS around you with:
To get your IP and DNS IP:
To check your DNS:
To learn DNS:
Ok, so I was able to figure out my (specific) problem:
My solution was simply to manually add the VPN's preferred DNS server to my nameservers list, after the dnscrypt address.
I hope I was clear on my solution, just in case someone needs it.
Feel free to close, if you wish so :)