lucaspetter / dnscrypt-autoinstall

Automatic installation and configuration of DNSCrypt (on Debian + Redhat like systems). This script will install DNSCrypt and configure it to start on boot and use an optional dnscrypt service.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

dnscrypt-autoinstall

A script for installing and automatically configuring DNSCrypt on Linux-based systems.

Description

DNSCrypt is a protocol for securing communications between a client and a DNS resolver by encrypting DNS queries and responses. It verifies that responses you get from a DNS provider have actually been sent by that provider, and haven't been tampered with.

This script will automatically and securely set up 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, turn off DNSCrypt to use regular unencrypted DNS, as well as uninstall DNSCrypt.

Installation

Debian, Ubuntu, Linux Mint:

wget https://raw.github.com/simonclausen/dnscrypt-autoinstall/master/dnscrypt-autoinstall.sh
chmod +x dnscrypt-autoinstall.sh
./dnscrypt-autoinstall.sh

Fedora, CentOS, Scientific Linux:

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/

Supported providers

Provider Location Note
DNSCrypt.eu Europe No logs, DNSSEC
OpenDNS Anycast
CloudNS Australia No logs, DNSSEC
OpenNIC Japan No logs
OpenNIC Europe No logs
Soltysiak.com Europe No logs, DNSSEC

Troubleshooting

If the install fails at a particular stage and the script mentions DNSCrypt is already configured, use the forcedel argument to force an uninstallation:

./dnscrypt-autoinstall.sh forcedel

About

Automatic installation and configuration of DNSCrypt (on Debian + Redhat like systems). This script will install DNSCrypt and configure it to start on boot and use an optional dnscrypt service.


Languages

Language:Shell 100.0%