Hallo zusammen,
ich richte gerade Unbound ein und habe mir dazu verschiedene Videos und Konfigurationen angeschaut, und hab mir eine eigene Konfiguration zusammengestellt. Kennt sich hier jemand mit Unbound aus und könnte einen Blick darauf werfen, ob alles passt oder ob es noch Verbesserungspotenzial gibt?
Unbound und Pi-hole laufen auf einem Raspberry Pi 5 mit 4 GB RAM.
Hier meine Konfiguration:
Code
server:
# Logging und Debugging
verbosity: 1
logfile: "/var/log/unbound.log"
# Interfaces und Ports
interface: 127.0.0.1
port: 5335
# Unterstützte Protokolle
do-ip4: yes
do-ip6: no
do-udp: yes
do-tcp: yes
# Security Hardening
hide-identity: yes
hide-version: yes
harden-glue: yes
harden-dnssec-stripped: yes
harden-below-nxdomain: yes
harden-referral-path: yes
# DNSSEC
auto-trust-anchor-file: "/var/lib/unbound/root.key"
val-log-level: 2
# Minimale Informationen an externe Server senden
qname-minimisation: yes
qname-minimisation-strict: yes
aggressive-nsec: yes
cache-min-ttl: 3600
cache-max-ttl: 86400
rrset-cache-size: 256m
msg-cache-size: 128m
msg-cache-slabs: 8
rrset-cache-slabs: 8
infra-cache-numhosts: 50000
key-cache-size: 128m
neg-cache-size: 64m
serve-expired: yes
num-threads: 4
so-rcvbuf: 4m
so-sndbuf: 4m
unwanted-reply-threshold: 100000
ratelimit: 1000
do-not-query-localhost: yes
root-hints: "/var/lib/unbound/root.hints"
tls-cert-bundle: "/etc/ssl/certs/ca-certificates.crt"
private-address: 192.168.0.0/16
private-address: 10.0.0.0/8
private-address: 172.16.0.0/12
private-address: fd00::/8
private-address: fe80::/10
forward-zone:
name: "."
forward-tls-upstream: yes
forward-addr: 9.9.9.9@853
forward-addr: 149.112.112.112@853
Display More
Vielen Dank für eure Unterstützung
External Content
beta.ubiquiti-networks-forum.de
Content embedded from external sources will not be displayed without your consent.