dnscrypt-autoinstall - Installation and automatic configuration of DNSCrypt
A script to install and configure DNSCrypt automatically on Linux-based systems.
Description
DNSCrypt is a protocol to secure communications between a client and a DNS resolution by encrypting DNS queries and responses. Verify that the answers you receive from a DNS provider have actually been sent by that provider and have not been tampered with.
This script will automatically and securely configure DNSCrypt as a background service that runs at system startup using DNSCrypt-proxy, the libsodium cryptography library, and the DNSCrypt service provider of your choice. The script also has options that allow you to change the service provider at any time, disable DNSCrypt to use regular unencrypted DNS, as well as uninstall DNSCrypt
This script will automatically and securely configure DNSCrypt as a background service that runs at system startup using DNSCrypt-proxy, the libsodium cryptography library, and the DNSCrypt service provider of your choice. The script also has options that allow you to change the service provider at any time, disable DNSCrypt to use regular unencrypted DNS, as well as uninstall DNSCrypt
Installation
The script is compatible with recent distributions based on Red Hat (CentOS, Fedora, Scientific Linux), based on Debian (Debian, Ubuntu, Linux Mint) and OpenSUSE.
user @ computer: $ wget https://raw.githubusercontent.com/simonclausen/dnscrypt-autoinstall/master/dnscrypt-autoinstall
chmod + x dnscrypt-autoinstall
su -c ./dnscrypt-autoinstall
chmod + x dnscrypt-autoinstall
su -c ./dnscrypt-autoinstall
Compatible providers
Vendors are retrieved from the latest published version of dnscrypt-resolvers.csv (github.com/jedisct1 ), with an alternative to those included with the DNSCrypt installation.
Problem solving
If the installation fails at a certain stage and the script mentions that DNSCrypt is already configured, use the forcedel argument to force an uninstall:
user @ computer: $ ./dnscrypt-autoinstall.sh forcedel




