This script with install a local DNS server with DNSSEC support on you GNU/Linux computer/server, that will directly communicate with the root servers. This ensures speed, neutrality and no dependance on any third-party server (like your ISP's).
Be sure to uninstall BIND, Unbound or any other DNS services on your machine before running the script.
You must run the scripts as root.
Later, if you want to edit /etc/resolv.conf
, run this command to allow modifications :
chattr -i /etc/resolv.conf
(+i
to disallow again)
wget https://raw.githubusercontent.com/Angristan/Local-DNS-resolver/master/arch-unbound.sh
chmod +x arch-unbound.sh
./arch-unbound.sh
wget https://raw.githubusercontent.com/Angristan/Local-DNS-resolver/master/arch-powerdns.sh
chmod +x arch-powerdns.sh
./arch-powerdns.sh
wget https://raw.githubusercontent.com/Angristan/Local-DNS-resolver/master/arch-bind.sh
chmod +x arch-bind.sh
./arch-bind.sh
wget https://raw.githubusercontent.com/Angristan/Local-DNS-resolver/master/debian-unbound.sh
chmod +x debian-unbound.sh
./debian-unbound.sh
wget https://raw.githubusercontent.com/Angristan/Local-DNS-resolver/master/ubuntu-unbound.sh
chmod +x ubuntu-unbound.sh
./ubuntu-unbound.sh
wget https://raw.githubusercontent.com/Angristan/Local-DNS-resolver/master/centos-unbound.sh
chmod +x centos-unbound.sh
./centos-unbound.sh
wget https://raw.githubusercontent.com/Angristan/Local-DNS-resolver/master/fedora-unbound.sh
chmod +x fedora-unbound.sh
./fedora-unbound.sh
The unlicense : do whatever you want with the code.