This is a Dns Server
$ dotnet add package EonaCat.DnsBlocky Blocking domains the way you want it. Copyright EonaCat (Jeroen Saey) 2017-2026 https://blocky.eonacat.com
It could be that you need to run the following command in CMD: net stop http
If you want to install Blocky on a Linux environment be sure that port 53 is free. (If there is no command output there is no other application using port 53)
You can check if the port is free using the following command:
sudo lsof -i :53
sudo nano /etc/systemd/resolved.conf
[Resolve]
DNS=127.0.0.1
#FallbackDNS=
#Domains=
#LLMNR=no
#MulticastDNS=no
#DNSSEC=no
#DNSOverTLS=no
#Cache=no
DNSStubListener=no
#ReadEtcHosts=yes
Save the file and quit.
Create a symbolic link for /run/systemd/resolve/resolv.conf with /etc/resolv.conf as the destination:
sudo ln -sf /run/systemd/resolve/resolv.conf /etc/resolv.conf
Reboot your system.
Port 53 is now free for Blocky to use.