From 37a8680c8e7ef4d591f2dca95a99f6475d345a60 Mon Sep 17 00:00:00 2001 From: Astro Date: Thu, 20 Sep 2018 20:55:16 +0200 Subject: [PATCH] bind: allow multiple NS for reverse.zone --- salt/bind/reverse.zone | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/salt/bind/reverse.zone b/salt/bind/reverse.zone index 69fa2de..8d2e764 100644 --- a/salt/bind/reverse.zone +++ b/salt/bind/reverse.zone @@ -8,7 +8,9 @@ $TTL 10M 2H ; expire 5M ; minimum ) - IN NS {{ pillar['bind']['public-ns'][ctx] }}. +{%- for ns in pillar['bind']['public-ns'][ctx] %} + IN NS {{ ns }}. +{%- endfor %} {%- if ctx == 'dn42' %} {%- for net, hosts in pillar['hosts-inet'].items() %}