Installation and autoconfigure script for Linux-based systems and DNSCrypt.
This script will verify, build, and install DNSCrypt and finally set it up as a daemon service that runs on system startup. It also allows you to choose which DNSCrypt service to use and easily reconfigure DNSCrypt, as well as uninstall it.
Todo: systemd for Fedora/CentOS, download newest version, handle failed download
###Debian, Ubuntu:
wget https://raw.github.com/simonclausen/dnscrypt-autoinstall/master/dnscrypt-autoinstall.sh
chmod +x dnscrypt-autoinstall.sh
./dnscrypt-autoinstall.sh
###Fedora, CentOS:
wget https://raw.github.com/simonclausen/dnscrypt-autoinstall/master/dnscrypt-autoinstall-redhat.sh
chmod +x dnscrypt-autoinstall-redhat.sh
./dnscrypt-autoinstall-redhat.sh
###Arch Linux:
Install dnscrypt-autoinstall from the AUR:
https://aur.archlinux.org/packages/dnscrypt-autoinstall/
If the install fails at a particular stage and the script mentions DNSCrypt is already configured, use the forcedel
argument:
./dnscrypt-autoinstall.sh forcedel