To install Unbound on Debian or Ubuntu, follow these steps:
Open a terminal window.
Update the package list using the following command:
sudo apt-get update
Install Unbound using the following command:
sudo apt-get install unbound
Once the installation is complete, you can start the Unbound service using the following command:
sudo systemctl start unbound
To make sure that Unbound starts automatically on system boot, run the following command:
sudo systemctl enable unbound
Verify that the Unbound service is running by running the following command:
sudo systemctl status unbound
This command should display information about the Unbound service, including its status.
That’s it! Unbound is now installed and running on your Debian or Ubuntu system. You can configure Unbound by editing the configuration file located at /etc/unbound/unbound.conf
.