2018-02-14 13:15:45 +02:00
|
|
|
server:
|
|
|
|
verbosity: 1
|
|
|
|
interface: 0.0.0.0
|
2021-11-23 11:17:51 +02:00
|
|
|
{{- ' interface: ::0' if SUBNET6 }}
|
2020-09-21 16:06:43 +02:00
|
|
|
logfile: ""
|
2018-02-14 13:15:45 +02:00
|
|
|
do-ip4: yes
|
2021-09-25 16:25:59 +02:00
|
|
|
do-ip6: {{ 'yes' if SUBNET6 else 'no' }}
|
2018-02-14 13:15:45 +02:00
|
|
|
do-udp: yes
|
|
|
|
do-tcp: yes
|
|
|
|
do-daemonize: no
|
2018-10-23 14:07:49 +02:00
|
|
|
access-control: {{ SUBNET }} allow
|
2021-11-23 11:17:51 +02:00
|
|
|
{%- if SUBNET6 %}
|
|
|
|
access-control: {{ SUBNET6 }} allow
|
|
|
|
{%- endif %}
|
2018-02-14 13:15:45 +02:00
|
|
|
directory: "/etc/unbound"
|
2019-01-19 21:52:59 +02:00
|
|
|
username: unbound
|
2018-02-14 13:15:45 +02:00
|
|
|
auto-trust-anchor-file: trusted-key.key
|
|
|
|
root-hints: "/etc/unbound/root.hints"
|
|
|
|
hide-identity: yes
|
|
|
|
hide-version: yes
|
2021-09-25 16:25:59 +02:00
|
|
|
cache-min-ttl: 300
|
|
|
|
|