bind: allow multiple NS for reverse.zone

This commit is contained in:
Astro 2018-09-20 20:55:16 +02:00
parent 2e14493363
commit 37a8680c8e

View File

@ -8,7 +8,9 @@ $TTL 10M
2H ; expire 2H ; expire
5M ; minimum 5M ; minimum
) )
IN NS {{ pillar['bind']['public-ns'][ctx] }}. {%- for ns in pillar['bind']['public-ns'][ctx] %}
IN NS {{ ns }}.
{%- endfor %}
{%- if ctx == 'dn42' %} {%- if ctx == 'dn42' %}
{%- for net, hosts in pillar['hosts-inet'].items() %} {%- for net, hosts in pillar['hosts-inet'].items() %}