mirror of https://github.com/Zelo72/rpi
update Unbound conf % install script
This commit is contained in:
parent
d748ed9870
commit
2a1c715e1b
|
@ -1,8 +1,8 @@
|
|||
#!/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:
|
||||
# 1. sudo -i
|
||||
|
@ -23,9 +23,9 @@ apt-get install unbound dnsutils ntp ntpdate -y
|
|||
echo ""
|
||||
echo ""
|
||||
|
||||
echo "*** Unbound Pihole-Konfiguration und internic Root Server (root.hints) speichern"
|
||||
echo "*** Unbound Konfiguration und internic Root Server (root.hints) speichern"
|
||||
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 ""
|
||||
wget -O /var/lib/unbound/root.hints https://www.internic.net/domain/named.root
|
||||
echo ""
|
||||
|
|
Loading…
Reference in New Issue