1
0
mirror of https://github.com/tommytran732/Arch-Setup-Script synced 2024-11-14 06:01:33 -05:00
Arch-Setup-Script/etc/unbound/unbound.conf

40 lines
1.0 KiB
Plaintext
Raw Normal View History

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