update Unbound conf % install script

This commit is contained in:
Zelo72 2021-10-28 13:23:00 +02:00
parent d748ed9870
commit 2a1c715e1b
2 changed files with 4 additions and 4 deletions

View File

@ -1,8 +1,8 @@
#!/bin/bash #!/bin/bash
# Script zur Installation und Konfiguration von Unbound als Pihole DNS-Server # Script zur Installation und Konfiguration von Unbound als Pihole/AdGuard DNS-Server
# #
# HINWEIS/WICHTIG: Erst Pihole, dann Unbound installieren! # HINWEIS/WICHTIG: Erst Pihole/AdGuard, dann Unbound installieren!
# Installation/Ausführen: # Installation/Ausführen:
# 1. sudo -i # 1. sudo -i
@ -23,9 +23,9 @@ apt-get install unbound dnsutils ntp ntpdate -y
echo "" echo ""
echo "" echo ""
echo "*** Unbound Pihole-Konfiguration und internic Root Server (root.hints) speichern" echo "*** Unbound Konfiguration und internic Root Server (root.hints) speichern"
echo "" echo ""
wget -O /etc/unbound/unbound.conf.d/pi-hole.conf https://raw.githubusercontent.com/Zelo72/rpi/master/unbound/pi-hole.conf wget -O /etc/unbound/unbound.conf.d/zelo72.conf https://raw.githubusercontent.com/Zelo72/rpi/master/unbound/zelo72.conf
echo "" echo ""
wget -O /var/lib/unbound/root.hints https://www.internic.net/domain/named.root wget -O /var/lib/unbound/root.hints https://www.internic.net/domain/named.root
echo "" echo ""