2020-08-03 19:25:51 +02:00
|
|
|
server:
|
|
|
|
server-count: {{ ansible_processor_vcpus|default(2) }}
|
2020-08-19 18:47:56 +02:00
|
|
|
{% if server.nsd_addr is defined -%}
|
2020-08-03 19:25:51 +02:00
|
|
|
ip-address: {{ server.nsd_addr }}
|
2020-08-19 18:47:56 +02:00
|
|
|
{% endif -%}
|
|
|
|
{% if server.nsd_addr6 is defined -%}
|
|
|
|
ip-address: {{ server.nsd_addr6 }}
|
|
|
|
{% endif -%}
|
2020-08-03 19:25:51 +02:00
|
|
|
ip-address: {{ server.vpn.address }}
|
2020-08-19 18:47:56 +02:00
|
|
|
{% if server.non_local_ip|default(False) -%}
|
|
|
|
ip-freebind: yes
|
|
|
|
{% endif -%}
|
2020-08-03 19:25:51 +02:00
|
|
|
port: {{ server.nsd_port }}
|
2020-08-19 18:47:56 +02:00
|
|
|
do-ip4: {{ 'yes' if server.nsd_addr is defined else 'no' }}
|
|
|
|
do-ip6: {{ 'yes' if server.nsd_addr6 is defined else 'no' }}
|
2020-08-03 19:25:51 +02:00
|
|
|
hide-version: yes
|
|
|
|
refuse-any: {{ server.refuse_any|default('yes') }}
|
|
|
|
log-only-syslog: yes
|
|
|
|
verbosity: {{ dns_server.verbosity }}
|
|
|
|
|
|
|
|
# vim: set ft=yaml:
|