In this tutorial, you will learn how to install Blocky, a flexible and easy to use DNS resolver, on Debian Latest. Blocky is an open-source project hosted on Github and features features like adblocking, parental control and more.
It is recommended to update the system before proceeding to install any software. To do so, simply run the following commands,
sudo apt update
sudo apt upgrade
This will update the system packages to the latest version.
Blocky is hosted on Github, so you need to install Git to download it. Run the below command to install Git.
sudo apt install git
This will install the Git on your system.
Now, that you have Git installed, you can clone the Blocky repository from Github using the following command,
sudo git clone https://github.com/0xERR0R/blocky.git
This will download the source code from Github and store it in the directory named 'blocky'.
Blocky requires several dependencies to run, including Golang. Run the following commands to install the necessary dependencies.
sudo apt install golang
sudo apt install dnsmasq
Once the dependencies are installed, navigate to the 'blocky' directory by running,
cd blocky
Build and install Blocky by running the below command,
make build
sudo make install
This will compile and install Blocky to your Debian Latest System.
Blocky configuration is located/saved in the '/usr/local/etc/blocky' directory. Edit the file 'blocky.yml' to make any necessary configuration changes.
If you want to change the default Blocky configuration directory from '/usr/local/etc/blocky' to '/etc/blocky', then you need to update the configuration file to '/etc/blocky/blocky.yml'.
You can also run Blocky as a service by creating a systemd service file for it.
In this tutorial, you have learned how to install Blocky on Debian Latest. Blocky is a powerful DNS server and resolver that provides ad-blocking, parental control and other advanced filtering options. It's an easy to use and flexible tool that can help protect your privacy and security while browsing the web.
If you want to self-host in an easy, hands free way, need an external IP address, or simply want your data in your own hands, give IPv6.rs a try!
Alternatively, for the best virtual desktop, try Shells!