Blocky is an open-source DNS server that secures and protects your network by blocking unwanted domains, allowing you to control your internet usage. In this tutorial, we will cover how to install Blocky on Arch Linux.
Before installing Blocky, some dependencies need to be installed. Open the terminal and run the following command to update your system's package list.
$ sudo pacman -Syy
Once the packages list is updated, run the following command to install the dependencies.
$ sudo pacman -S go git libcap
To install Blocky, follow the steps below:
$ git clone https://github.com/0xERR0R/blocky.git
$ cd blocky
$ go build
$ sudo setcap 'cap_net_bind_service=+ep' ./blocky
Before running Blocky, a configuration file needs to be created. Follow the steps below to create the configuration file.
$ cp blocky.yml.example blocky.yml
$ nano blocky.yml
To run Blocky, execute the following command:
$ sudo ./blocky
Blocky will start and listen on the port specified in the configuration file.
Blocky is now installed and running on your Arch Linux system. You can now use it to block unwanted domains, secure and control your network usage. Congratulations!
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!