dataset/seed/nsd/templates/risotto.conf

29 lines
761 B
Text

#RISOTTO: do not compare
server:
interface: 127.0.0.1
{% for interface in range(zones_list|length) %}
interface: {{ general.network['interface_' + interface|string]['ip_eth' + interface|string] }}
{% endfor %}
do-ip4: yes
do-ip6: no
log-only-syslog: no
xfrdir: /var/tmp
remote-control:
control-enable: no
{% for zone in nsd_zones %}
zone:
name: "{{ zone }}"
zonefile: "{{ zone }}.zone.signed"
{% endfor %}
{% set reversed = [] %}
{% for reverse in nsd_reverse_network %}
{% if reverse.nsd_reverse_name not in reversed %}
{{ reversed.append(reverse.nsd_reverse_name) }}
zone:
name: "{{ reverse.nsd_reverse_name }}"
zonefile: "{{ reverse.nsd_reverse_name.replace('/', '-') }}reverse.signed"
{% endif %}
{% endfor %}