From 0258849da23fbcfaa550579163ef6bd45daa2a6c Mon Sep 17 00:00:00 2001 From: Astro Date: Sat, 23 Jun 2018 02:57:46 +0200 Subject: [PATCH] dns slave updates --- salt-pillar/bind/dns.sls | 1 - salt/bind/named.conf | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/salt-pillar/bind/dns.sls b/salt-pillar/bind/dns.sls index 5f03b74..581faba 100644 --- a/salt-pillar/bind/dns.sls +++ b/salt-pillar/bind/dns.sls @@ -7,7 +7,6 @@ bind: up1: dns.serv.zentralwerk.org public-ns: - ns.c3d2.de - - ns.spaceboyz.net slaves: # bind.wetu.c3d2.de - 172.22.100.9 diff --git a/salt/bind/named.conf b/salt/bind/named.conf index 354936b..c202e4a 100644 --- a/salt/bind/named.conf +++ b/salt/bind/named.conf @@ -48,6 +48,7 @@ zone "{{ domain }}" IN { zone "{{ domain }}" IN { type master; file "/etc/bind/{{ domain }}.zone"; + {{ slaves() }} }; {%- endfor %} {%- endfor %}