I tried to install DNSCrypt on Centos 6.5. DNSCrypt is an encryption protocol/tool which makes dns queries encrypted. There are some dns servers which understand DNSCrypt eg. OpenDNS.com who innovated this protocol.
The download page is http://download.dnscrypt.org/dnscrypt-proxy/ . You download source files. One needs gcc to compile them. But they do depend on another library libsodium which is included in Centos repos. Unfortunately the one in Centos repos is older, and the compilation of DNSCrypt fails.
To resolve this issue, one needs to install libsodium from scratch. Download a recent tar ball from https://download.libsodium.org/libsodium/releases/ , then compile. Compilation is smooth. And after libsodium, compile DNSCrypt.
To start DNSCrypt daemon, a command like this
dnscrypt-proxy --daemonize -R opendns
is sufficient. You also need to change /etc/resolv.conf file to include
nameserver 127.0.0.1.
Then to test if daemon is working, one can give
dig debug.opendns.com txt
command.
Then you are done.
Hiç yorum yok:
Yorum Gönder