Debian based distribution installation

For debian-based operating systems we have 3 options. Pick the one that suits your scenario best.

Using the official repo


sudo wget -qO /usr/share/keyrings/dnsadblock.gpg
echo "deb [signed-by=/usr/share/keyrings/dnsadblock.gpg] stable main" | sudo tee /etc/apt/sources.list.d/dnsadblock.list

sudo apt install apt-transport-https
sudo apt update
sudo apt install dnsadblock
Once installed you can run dnsadblock as usual
For a workstation/desktop:
sudo dnsadblock install \
-config <config_id> \
-report-client-info \
-auto-activate \
-cache-size=10Mb ...
For a router:
sudo dnsadblock install \
  -config <your config id> \
  -report-client-info \
-setup-router \
-cache-size=10Mb ...


You will use the package manager to upgrade. Example:

apt update && apt upgrade

Using the installer


Run the following command: 

sh -c "$(curl -sL"


To upgrade you need to run the same command that you used to install. If there is a new version available, the install script will prompt you to upgrade.


To troubleshoot the installation script you can prefix the command with a debugging flag:

DEBUG=1 sh -c "$(curl -sL"

Using the GUI

If you prefer desktop GUI apps instead of playing with the terminal please head over to our tutorial for the desktop application.