mirror of https://github.com/tteck/Proxmox.git
Compare commits
No commits in common. "4103d40622b4cf80775381595c9ed4b80f9fdbe3" and "2e36b903ada6c7ec0b5185e43edaf1e811d3207f" have entirely different histories.
4103d40622
...
2e36b903ad
|
@ -73,7 +73,6 @@ server:
|
||||||
infra-cache-slabs: 8
|
infra-cache-slabs: 8
|
||||||
key-cache-slabs: 8
|
key-cache-slabs: 8
|
||||||
serve-expired: yes
|
serve-expired: yes
|
||||||
root-hints: /var/lib/unbound/root.hints
|
|
||||||
serve-expired-ttl: 3600
|
serve-expired-ttl: 3600
|
||||||
edns-buffer-size: 1232
|
edns-buffer-size: 1232
|
||||||
prefetch: yes
|
prefetch: yes
|
||||||
|
@ -94,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 -qO /var/lib/unbound/root.hints https://www.internic.net/domain/named.root
|
wget -q https://www.internic.net/domain/named.root >/var/lib/unbound/root.hints
|
||||||
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