Arch Based distribution installation
Using the installer
Install
Run the following command:sh -c "$(curl -sL https://api.dnsadblock.com/install)"
Upgrade
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.
Troubleshooting
To troubleshoot the installation script you can prefix the command with a debugging flag:
DEBUG=1 sh -c "$(curl -sL https://api.dnsadblock.com/install)"
Using the official channels
Update your repo sources:
# yay or aurman will work
sudo pacman -S yay
yay -S dnsadblock
Once installed you can configure it like you would normally do:
For a workstation:
sudo dnsadblock install \
-config <your config id> \
-auto-activate
For a router/server:
sudo dnsadblock install \
-config <your config id> \
-setup-router