How to Use the Hostiger dnscrypt Installation Script
This script automates the installation and configuration of dnscrypt-proxy on your system. Here’s how to use it:
-
Download the script: You can download the script using
wget
orcurl
:wget https://hostiger.com/scripts/hostiger_dnscrypt_install.sh # or curl -O https://hostiger.com/scripts/hostiger_dnscrypt_install.sh
-
Make the script executable: Give the script execute permissions:
chmod +x hostiger_dnscrypt_install.sh
-
Run the script with root privileges: Execute the script using
sudo
:sudo ./hostiger_dnscrypt_install.sh
-
Follow the on-screen instructions: The script will guide you through the installation process. It will ask you to select a resolver.
-
Restart systemd-resolved: After the script finishes, restart the
systemd-resolved
service to apply the changes:sudo systemctl restart systemd-resolved
Important Notes:
- This script is designed for Debian/Ubuntu-based systems.
- Make sure your system is up-to-date before running the script:
sudo apt update && sudo apt upgrade -y
- You need root privileges (using
sudo
) to run the script. - The script automatically configures dnscrypt-proxy to start on boot.