From 9f2b51db1ed9887ceef24d26d6ea273d1abdcb04 Mon Sep 17 00:00:00 2001 From: Astro Date: Mon, 23 Jan 2017 22:13:36 +0100 Subject: [PATCH] bind: don't use public-ns for internal reverse zones --- salt-pillar/bind/dns.sls | 2 +- salt/bind/reverse.zone | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/salt-pillar/bind/dns.sls b/salt-pillar/bind/dns.sls index a818432..8f81020 100644 --- a/salt-pillar/bind/dns.sls +++ b/salt-pillar/bind/dns.sls @@ -4,7 +4,7 @@ bind: public-ns: - ns.c3d2.de - spaceboyz.net - serial: 2017011300 + serial: 2017012300 reverse-zones-inet: - 72.20.172.in-addr.arpa diff --git a/salt/bind/reverse.zone b/salt/bind/reverse.zone index c4748d9..67e7e50 100644 --- a/salt/bind/reverse.zone +++ b/salt/bind/reverse.zone @@ -8,9 +8,7 @@ $TTL 10M 2H ; expire 5M ; minimum ) -{%- for ns in pillar['bind']['public-ns'] %} - IN NS {{ ns }}. -{%- endfor %} + IN NS {{ pillar['bind']['master-ns'] }}. {%- for net, hosts in pillar['hosts-inet'].items() %} {%- for host, aaaa in hosts.items() %}