ansible-collection-nameserver/roles/replica/templates/etc/nsd/nsd.conf.d/00-server.conf.j2

19 lines
611 B
Text
Raw Normal View History

2020-11-19 00:21:11 +01:00
{{ ansible_managed | comment }}
server:
2020-11-19 00:59:06 +01:00
hide-version: {{ nsd_server_hide_version | ternary('yes', 'no') }}
2020-11-19 00:21:11 +01:00
verbosity: {{ nsd_server_verbosity }}
2020-11-19 00:59:06 +01:00
database: "{{ nsd_server_database }}"
2020-11-19 00:21:11 +01:00
zonefiles-write: {{ nsd_server_zonefile_write }}
2020-11-19 00:59:06 +01:00
{% for addr in nsd_server_listen %}
ip-address: "{{ addr }}"
{% endfor %}
2020-11-19 00:21:11 +01:00
2020-11-19 00:59:06 +01:00
minimal-responses: {{ nsd_server_minimal_responses | ternary('yes', 'no') }}
refuse-any: {{ nsd_server_refuse_any | ternary('yes', 'no') }}
2020-11-19 00:21:11 +01:00
remote-control:
2020-11-19 00:59:06 +01:00
control-enable: {{ nsd_remote_control_enable | ternary('yes', 'no') }}
2020-11-19 00:21:11 +01:00
control-interface: {{ nsd_remote_control_interface }}