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 %}