# unbound-sec base configuration # Drop-in overrides: any *.conf file in /config is included (lexicographic order). server: verbosity: 1 module-config: "validator cachedb iterator" statistics-interval: 600 statistics-cumulative: yes # 0 avoids the cachedb warning about serve-expired for external cache entries serve-expired-reply-ttl: 0 interface: 0.0.0.0@5053 do-ip4: yes do-ip6: no do-udp: yes do-tcp: yes so-sndbuf: 0 do-daemonize: no # LAN + loopback by default (drop-in compatible with crazymax/unbound). # Tighten via drop-in in /config for larger exposures, e.g.: # access-control: 10.0.0.0/8 refuse access-control: 10.0.0.0/8 allow access-control: 127.0.0.0/8 allow access-control: 172.16.0.0/12 allow access-control: 192.168.0.0/16 allow # Never return these ranges in responses private-address: 10.0.0.0/8 private-address: 169.254.0.0/16 private-address: 172.16.0.0/12 private-address: 192.168.0.0/16 # Do not leak software identity/version via CHAOS queries hide-identity: yes hide-version: yes directory: "/etc/unbound" logfile: "" pidfile: "/run/unbound/unbound.pid" identity: "unbound-sec" auto-trust-anchor-file: "/run/unbound/root.key" tls-cert-bundle: /etc/ssl/certs/ca-certificates.crt include: "/config/*.conf"