mirror of
https://github.com/tteck/Proxmox.git
synced 2024-12-27 07:21:59 +00:00
Update pihole-install.sh
tweak
This commit is contained in:
parent
2e36b903ad
commit
3bcf2cece6
@ -93,7 +93,7 @@ EOF
|
|||||||
cat <<EOF >/etc/dnsmasq.d/99-edns.conf
|
cat <<EOF >/etc/dnsmasq.d/99-edns.conf
|
||||||
edns-packet-max=1232
|
edns-packet-max=1232
|
||||||
EOF
|
EOF
|
||||||
wget -q https://www.internic.net/domain/named.root >/var/lib/unbound/root.hints
|
wget -qO /var/lib/unbound/root.hints https://www.internic.net/domain/named.root
|
||||||
sed -i -e 's/PIHOLE_DNS_1=8.8.8.8/PIHOLE_DNS_1=127.0.0.1#5335/' -e 's/PIHOLE_DNS_2=8.8.4.4/#PIHOLE_DNS_2=8.8.4.4/' /etc/pihole/setupVars.conf
|
sed -i -e 's/PIHOLE_DNS_1=8.8.8.8/PIHOLE_DNS_1=127.0.0.1#5335/' -e 's/PIHOLE_DNS_2=8.8.4.4/#PIHOLE_DNS_2=8.8.4.4/' /etc/pihole/setupVars.conf
|
||||||
systemctl enable -q --now unbound
|
systemctl enable -q --now unbound
|
||||||
systemctl restart pihole-FTL.service
|
systemctl restart pihole-FTL.service
|
||||||
|
Loading…
Reference in New Issue
Block a user