mirror of
https://github.com/community-scripts/ProxmoxVE
synced 2025-02-12 02:39:17 +00:00
Update unbound-install.sh
This commit is contained in:
parent
ed6df66772
commit
0e460108c9
@ -53,7 +53,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
|
||||||
@ -75,18 +74,12 @@ server:
|
|||||||
access-control: 127.0.0.1/32 allow
|
access-control: 127.0.0.1/32 allow
|
||||||
chroot: ""
|
chroot: ""
|
||||||
logfile: /var/log/unbound.log
|
logfile: /var/log/unbound.log
|
||||||
verbosity: 1
|
|
||||||
log-queries: yes
|
log-queries: yes
|
||||||
statistics-interval: 0
|
statistics-interval: 0
|
||||||
extended-statistics: yes
|
extended-statistics: yes
|
||||||
harden-below-nxdomain: yes
|
harden-below-nxdomain: yes
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
# Update Root hints from Internic (This file holds the information on root name servers needed to initialize cache of Internet domain name servers)
|
|
||||||
wget -qO /var/lib/unbound/root.hints https://www.internic.net/domain/named.root
|
|
||||||
# Set unbound user as owner of the root hints file
|
|
||||||
chown unbound:unbound /var/lib/unbound/root.hints
|
|
||||||
|
|
||||||
touch /var/log/unbound.log
|
touch /var/log/unbound.log
|
||||||
chown unbound:unbound /var/log/unbound.log
|
chown unbound:unbound /var/log/unbound.log
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user