2 # Unbound configuration file for IPFire
4 # The full documentation is available at:
5 # https://www.unbound.net/documentation/unbound.conf.html
9 # Common Server Options
11 directory: "/etc/unbound"
19 do-not-query-localhost: yes
22 include: "/etc/unbound/tuning.conf"
31 statistics-interval: 0
32 statistics-cumulative: yes
33 extended-statistics: yes
39 # Randomise any cached responses
45 minimal-responses: yes
48 auto-trust-anchor-file: "/var/lib/unbound/root.key"
49 val-permissive-mode: no
50 val-clean-additional: yes
55 harden-short-bufsize: no
56 harden-large-queries: yes
57 harden-dnssec-stripped: yes
58 harden-referral-path: yes
59 harden-algo-downgrade: no
62 # Listen on all interfaces
63 interface-automatic: yes
66 # Allow access from everywhere
67 access-control: 0.0.0.0/0 allow
69 # Bootstrap root servers
70 root-hints: "/etc/unbound/root.hints"
73 include: "/etc/unbound/dhcp-leases.conf"
75 # Include any forward zones
76 include: "/etc/unbound/forward.conf"
81 control-interface: 127.0.0.1
82 server-key-file: "/etc/unbound/unbound_server.key"
83 server-cert-file: "/etc/unbound/unbound_server.pem"
84 control-key-file: "/etc/unbound/unbound_control.key"
85 control-cert-file: "/etc/unbound/unbound_control.pem"
87 # Import any local configurations
88 include: "/etc/unbound/local.d/*.conf"