Script to install dnscrypt-proxy 2 on linux targets from latest release, uses randomized Anonymous DNS and Oblivious DNS over HTTPS config by default.
This script will:
- Check for Linux target architecture
- Detect target architecture
- Check for existing dnscrypt-proxy
- Download dnscrypt-proxy 2 tarball
- Build + install (statically linked) minisign if not installed and verify tarball against minisig file. Uses the install_minisign submodule, skip this step by uncommenting SKIP_VERIFY=1
- Generate the dnscrypt-proxy.toml config with Anonymous DNS + ODoH routes exclusively with dnscrypt-proxy_config_generator submodule
- Makes a backup of /etc/resolv.conf -> /etc/resolv.conf.old and updates the file with the new listen_addresses
- Copy extracted dnscrypt binary/config to dir specified by variable: INSTALL_DIRECTORY, defaults to /etc/dnscrypt-proxy/
- Install, enable, and start the dnscrypt-proxy service
- Prompt user if they want to test DNS servers with the minimal_dnsleaktest submodule.
To install and configure dnscrypt-proxy 2, clone this repository, initialize the submodules, and trigger the install script:
git clone https://github.com/possiblynaught/install_anonymous_dnscrypt-proxy.git
cd install_anonymous_dnscrypt-proxy/
git submodule init
git submodule update
./install_dnscrypt.sh
- Add minisign submodule
- Add DNS tester to end of script
- Add instructions
- Create better install locations/perms