Created
May 28, 2021 13:59
-
-
Save gallegogt/4a25393ec0174fb7e7f86d85cfeb56c1 to your computer and use it in GitHub Desktop.
Unbound DNS Config
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
include: "/etc/unbound/unbound.conf.d/*.conf" | |
server: | |
num-threads: 2 | |
verbosity: 1 | |
root-hints: /etc/unbound/root.hints | |
# auto-trust-anchor-file: /var/lib/unbound/root.key | |
interface: 0.0.0.0 | |
interface: ::0 | |
max-udp-size: 3072 | |
access-control: 0.0.0.0/0 refuse | |
access-control: 10.5.0.0/24 allow | |
access-control: 127.0.0.1 allow | |
private-address: 10.5.0.0/24 | |
hide-identity: yes | |
hide-version: yes | |
harden-glue: yes | |
harden-dnssec-stripped: yes | |
harden-referral-path: yes | |
unwanted-reply-threshold: 10000000 | |
val-log-level: 1 | |
cache-min-ttl: 1800 | |
cache-max-ttl: 14400 | |
prefetch: yes | |
qname-minimisation: yes | |
prefetch-key: yes | |
forward-zone: | |
name: "." | |
forward-addr: 172.31.0.2 | |
forward-addr: 1.1.1.1 | |
forward-addr: 8.8.8.8 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment