1
0
mirror of https://github.com/tommytran732/Arch-Setup-Script synced 2024-11-08 11:51:33 -05:00
Arch-Setup-Script/etc/unbound/unbound.conf
Tommy d17763aaa5
Add unbound config for Docker
Signed-off-by: Tommy <contact@tommytran.io>
2024-06-24 18:23:48 -07:00

40 lines
1.0 KiB
Plaintext

server:
trust-anchor-file: "/etc/unbound/trusted-key.key"
root-key-sentinel: yes
tls-cert-bundle: /etc/ssl/certs/ca-certificates.crt
hide-http-user-agent: yes
hide-identity: yes
hide-trustanchor: yes
hide-version: yes
deny-any: yes
harden-algo-downgrade: yes
harden-large-queries: yes
harden-referral-path: yes
harden-short-bufsize: yes
ignore-cd-flag: yes
max-udp-size: 3072
module-config: "validator iterator"
qname-minimisation-strict: yes
unwanted-reply-threshold: 10000000
use-caps-for-id: yes
outgoing-port-permit: 1024-65535
prefetch: yes
prefetch-key: yes
# ip-transparent: yes
# interface: 127.0.0.1
# interface: ::1
# interface: 242.242.0.1
# access-control: 242.242.0.0/16 allow
forward-zone:
name: "."
forward-tls-upstream: yes
forward-addr: 1.1.1.2@853#security.cloudflare-dns.com
forward-addr: 1.0.0.2@853#security.cloudflare-dns.com
forward-addr: 2606:4700:4700::1112@853#security.cloudflare-dns.com
forward-addr: 2606:4700:4700::1002@853#security.cloudflare-dns.com