dataset/seed/nsd/templates/risotto.conf

30 lines
761 B
Text
Raw Normal View History

2023-01-17 21:43:32 +01:00
#RISOTTO: do not compare
2022-03-08 19:42:28 +01:00
server:
interface: 127.0.0.1
2023-06-23 08:12:05 +02:00
{% for interface in range(zones_list|length) %}
interface: {{ general.network['interface_' + interface|string]['ip_eth' + interface|string] }}
{% endfor %}
2022-03-08 19:42:28 +01:00
do-ip4: yes
do-ip6: no
log-only-syslog: no
xfrdir: /var/tmp
remote-control:
control-enable: no
2023-06-23 08:12:05 +02:00
{% for zone in nsd_zones %}
2022-03-08 19:42:28 +01:00
zone:
2023-06-23 08:12:05 +02:00
name: "{{ zone }}"
zonefile: "{{ zone }}.zone.signed"
{% endfor %}
{% set reversed = [] %}
{% for reverse in nsd_reverse_network %}
{% if reverse.nsd_reverse_name not in reversed %}
2022-03-08 19:42:28 +01:00
2023-06-23 08:12:05 +02:00
{{ reversed.append(reverse.nsd_reverse_name) }}
2022-03-08 19:42:28 +01:00
zone:
2023-06-23 08:12:05 +02:00
name: "{{ reverse.nsd_reverse_name }}"
zonefile: "{{ reverse.nsd_reverse_name.replace('/', '-') }}reverse.signed"
{% endif %}
{% endfor %}