So, this isn't really a question, more like an answer in case someone is wondering how to do this. Here is the problem I encountered:
I've got an OpenVPN account with a provider. I'm also using DNSCrypt. One doesn't work with the other automatically in my case. I tried various ways to get this to work, but to no avail. Forum searching on Google, on the VPN, or here revealed nothing specific to solve the problem.
In order to get this to work specifically with Viscosity (gave up on Tunnelblick last year) you need to do some extra configuration.
1. Go to Preferences in the Viscosity pull down menu.
2. Under Connections highlight the connection you use.
3. Click Edit
4. Under the Networking Tab in the DNS section you'll find a checkbox for Enable DNS Support.
5. Click that box.
6. In the field below enter the IP for the DNS that DNSCrypt is using - it's a 127.X.X.X number aka a localhost.
7. Click Save.
Viola! You're using DNSCrypt while connected to a VPN.
To get the DNS server from DNSCrypt you'll need to have DNSCrypt on before doing this. It's a localhost IP to your computer so the one I have may not be the same for you. In OS X this is how you find out:
1. Open System Preferences
2. Under Internet & Wireless click Network
3. Click the Advanced button on the bottom right are of the window.
4. Click the DNS Tab
5. Make note of the 127.X.X.X number.
Please sign in to leave a comment.