The script supports recent Red Hat-based (CentOS, Fedora, Scientific Linux), Debian-based (Debian, Ubuntu, Linux Mint) distributions and OpenSUSE.
|Note||Scripts with sysvinit support were moved to the “legacy” branch (CentOS 6, Debian 7, Ubuntu < 16.04)|
wget https://raw.githubusercontent.com/simonclausen/dnscrypt-autoinstall/master/dnscrypt-autoinstall chmod +x dnscrypt-autoinstall su -c ./dnscrypt-autoinstall
Providers are retrieved from the latest published dnscrypt-resolvers.csv (github.com/jedisct1), with a fallback to those included with the DNSCrypt installation.
If the install fails at a particular stage and the script mentions DNSCrypt is already configured, use the
forcedel argument to force an uninstallation: