15 lines
388 B
Django/Jinja
15 lines
388 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
|
|
provide-xfr: 127.0.0.1 NOKEY
|
|
{% endfor %}
|
|
|
|
{% endfor -%}
|
|
|
|
# vim: set ft=yaml:
|