Install DNSCrypt on Synology DSM 5

First of all, you must install the libsodium library.

You can download the lastest version from here.

Here are all the commands to install libsodium.

Then you can download the DNSCrypt from here.

Here are all the commands to install DNSCrypt.

After installed these, you can run the following command to make a clean.

And you can use the following command to test the DNS service with the Cisco OpenDNS.

If all goes well, you can run the following command to start DNSCrypt and set the DNS service.

Then you can visit http://www.opendns.com/welcome to make sure if you are using the Cisco OpenDNS service.

Finally you should add a script to rc.d to run DNSCrypt autostart whenever the Synology starts up.