I want to use DNSCrypt to encrypt all my DNS packets, so I tried to do this:
on /etc/rc.local :
/usr/local/sbin/dnscrypt-proxy -a 127.0.0.1:40 -u _dnscrypt-proxy -d -l /dev/null -R dnscrypt.eu-dk
Then I ran :
sudo /usr/local/sbin/dnscrypt-proxy -a 127.0.0.1:40 -u _dnscrypt-proxy -d -l /dev/null -R dnscrypt.eu-dk
Is that configured properly to route all my DNS requests via dnscrypt ?
When I do
host openbsd.org I get the same IP address I get when running the same command on another virtual OpenBSD machine, but when I try google.com and youtube.com I get different IP results? This made me think I did some mistake or the DNS resolver is rogue.
And how I can check that is actually doing DNS requests over port 80? If possible would like to know if can check that if it's using the DNS resolver and encrypting my requests since I only know I can resolve domains but not the route used.
My OS is OpenBSD 5.7 i386.