mirror of
https://github.com/tommytran732/Linux-Setup-Scripts
synced 2024-11-22 01:21:33 -05:00
Fix trust anchor permission
This commit is contained in:
parent
895cbfda49
commit
e239821b65
@ -18,6 +18,7 @@ sudo ufw allow 22/tcp
|
||||
sudo tuned-adm profile virtual-guest
|
||||
|
||||
echo 'server:
|
||||
trust-anchor-file: "/var/lib/unbound/root.key
|
||||
trust-anchor-signaling: yes
|
||||
root-key-sentinel: yes
|
||||
tls-cert-bundle: /etc/ssl/certs/ca-certificates.crt
|
||||
@ -50,6 +51,8 @@ forward-zone:
|
||||
forward-addr: 2606:4700:4700::1112@853#security.cloudflare-dns.com
|
||||
forward-addr: 2606:4700:4700::1002@853#security.cloudflare-dns.com' | sudo tee /etc/unbound/unbound.conf.d/custom.conf
|
||||
|
||||
sudo mv /etc/unbound/unbound.conf.d/root-auto-trust-anchor-file.conf /etc/unbound/unbound.conf.d/root-auto-trust-anchor-file.conf.bk
|
||||
|
||||
mkdir -p /etc/systemd/system/unbound.service.d
|
||||
echo $'[Service]
|
||||
CapabilityBoundingSet=CAP_NET_BIND_SERVICE CAP_SETGID CAP_SETUID CAP_SYS_CHROOT CAP_SYS_RESOURCE CAP_NET_RAW
|
||||
|
Loading…
Reference in New Issue
Block a user