full-dns/templates/nsd-star.conf.j2
2020-08-03 19:25:51 +02:00

14 lines
357 B
Django/Jinja

{% for zone in zones -%}
zone:
name: {{ zone.name }}.
zonefile: /etc/nsd/zones/{{ zone.name }}.conf
outgoing-interface: {{ server.vpn.address }}
{% for satellite in satellites -%}
notify: {{ satellite.vpn.address }}@{{ satellite.nsd_port }} NOKEY
provide-xfr: {{ satellite.vpn.address }} NOKEY
{% endfor %}
{% endfor -%}
# vim: set ft=yaml: