1
0
mirror of https://github.com/Mailu/Mailu.git synced 2024-12-14 10:53:30 +02:00
Mailu/optional/unbound/unbound.conf

23 lines
498 B
Plaintext
Raw Normal View History

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 }}
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
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"
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