OK ... well, I found at least how to use dnscrypt-proxy.
First, disable dnsmasq ...
> sudo gedit /etc/NetworkManager/NetworkManager.conf
and comment out the line which says:
dns=dnsmasq
so change it to:
#dns=dnsmasq
Now go to NetworkManager > Edit Connections, click your connection then "Edit" and click on "IP4 settings" tab. Select "Automatic (DHCP) addresses only". In the same dialog, set your DNS server to 127.0.0.2
Then:
> sudo restart network-manager
Now start your dnscrypt-proxy:
> sudo dnscrypt-proxy -a 127.0.0.2 -t 53
And you are good to go.
So to make the latter permanent, make sure the dnscrypt.conf script in /etc/init looks as follows:
Code:
description "dnscrypt startup script"
start on (local-filesystems and started dbus and stopped udevtrigger)
stop on runlevel [016]
script
exec /usr/sbin/dnscrypt-proxy -a 127.0.0.2 -t 53
end script
After a reboot dnscrypt should work fine.
I tried it also together with dnsmasq but for some reason it is horrendously slow !
I don't care so much about dnsmasq so the above will work without it.
Tested on Ubuntu 12.04.
Bookmarks