|
@@ -4,20 +4,12 @@ key "key-internal" {
|
4
|
4
|
secret "{{ salt['pillar.get']("model:dns:tsig:keys:internal") }}";
|
5
|
5
|
};
|
6
|
6
|
|
7
|
|
-zone {{ salt['pillar.get']("model:dhcp:dns:dynIpsDomain") }} {
|
8
|
|
- primary {{ salt['pillar.get']("model:dhcp:dns:master") }};
|
9
|
|
- key "key-internal";
|
10
|
|
-}
|
11
|
|
-
|
12
|
|
-zone {{ salt['pillar.get']("model:dhcp:dns:siteDomain") }} {
|
13
|
|
- primary {{ salt['pillar.get']("model:dhcp:dns:master") }};
|
14
|
|
- key "key-internal";
|
15
|
|
-}
|
16
|
|
-
|
17
|
|
-zone {{ salt['pillar.get']("model:dhcp:dns:revDomain") }} {
|
|
7
|
+{% for zone in (salt['pillar.get']("model:dhcp:dns:additionalZones", []) + [salt['pillar.get']("model:dhcp:dns:dynIpsDomain"), salt['pillar.get']("model:dhcp:dns:siteDomain"), salt['pillar.get']("model:dhcp:dns:revDomain")]) %}
|
|
8
|
+zone {{ zone }} {
|
18
|
9
|
primary {{ salt['pillar.get']("model:dhcp:dns:master") }};
|
19
|
10
|
key "key-internal";
|
20
|
11
|
}
|
|
12
|
+{% endfor %}
|
21
|
13
|
|
22
|
14
|
|
23
|
15
|
# Custom routes classes
|