forked from CCCHH/ansible-infra
add dns64 support to our unbound role
This commit is contained in:
parent
30420cf858
commit
6c20ffffc1
1 changed files with 9 additions and 0 deletions
|
|
@ -1,6 +1,8 @@
|
|||
# ref: https://unbound.docs.nlnetlabs.nl/en/latest/manpages/unbound.conf.html
|
||||
# unbound.conf(5) man page
|
||||
server:
|
||||
module-config: "{% if unbound_enable_dns64 %}dns64 {% endif %}validator iterator"
|
||||
|
||||
{% if unbound_enable_dnssec -%}
|
||||
# location of the trust anchor file that enables DNSSEC
|
||||
# this file is generated by the `unbound-anchor` command
|
||||
|
|
@ -43,6 +45,10 @@ server:
|
|||
private-domain: {{ i }}
|
||||
{% endfor -%}
|
||||
|
||||
{% if unbound_enable_dns64 -%}
|
||||
dns64-prefix: "{{ unbound_dns64_prefix }}"
|
||||
{% endif -%}
|
||||
|
||||
# The number of seconds between printing statistics to the log for every thread.
|
||||
statistics-interval: 0
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue