]> Frank Brehm's Git Trees - salt/pillar.git/commitdiff
Adding pillar infos for Bind configuration
authorFrank Brehm <frank@brehm-online.com>
Tue, 8 Mar 2016 11:36:33 +0000 (12:36 +0100)
committerFrank Brehm <frank@brehm-online.com>
Tue, 8 Mar 2016 11:36:33 +0000 (12:36 +0100)
bind/common.sls [new file with mode: 0644]
bind/primary.sls [new file with mode: 0644]
bind/secondary.sls [new file with mode: 0644]
top.sls

diff --git a/bind/common.sls b/bind/common.sls
new file mode 100644 (file)
index 0000000..1e9d5ff
--- /dev/null
@@ -0,0 +1,106 @@
+bind:
+  acl:
+    common-allow-transfer:
+      # ns1.boreus.de
+      - 85.199.64.7
+      # ns2.boreus.de
+      - 46.189.56.7
+      # ns3.boreus.de
+      - 85.199.64.7
+      # uhu1.uhu-banane.de
+      - 46.16.73.175
+      - 2001:4dd0:ff00:cd3::2
+      # helga.brehm-online.com
+      - 85.214.134.152
+      - 2a01:238:4225:6e00:8f8c:808a:7fb8:88df
+      # maria.acwain.net
+      - 144.76.221.169
+      - 2a01:4f8:200:94a8::2
+      # ns1.uhu-banane.de
+      - 185.48.118.128
+      # ns2.uhu-banane.de
+      - 162.254.24.33
+      # ns3.uhu-banane.de
+      - 185.102.95.107
+      - 2a06:2380:0:1::3a
+      # bruni.home.brehm-online.com
+      - 2a02:8109:ae3f:fa04:5604:a6ff:fe38:99f9
+      # localhost
+      - 127.0.0.1
+      - ::1
+    allow-dyn-update:
+      # uhu1.uhu-banane.de
+      - 46.16.73.175
+      - 2001:4dd0:ff00:cd3::2
+      # helga.brehm-online.com
+      - 85.214.134.152
+      - 2a01:238:4225:6e00:8f8c:808a:7fb8:88df
+      # maria.acwain.net
+      - 144.76.221.169
+      - 2a01:4f8:200:94a8::2
+      # ns1.uhu-banane.de
+      - 185.48.118.128
+      # ns2.uhu-banane.de
+      - 162.254.24.33
+      # ns3.uhu-banane.de
+      - 185.102.95.107
+      - 2a06:2380:0:1::3a
+      # bruni.home.brehm-online.com
+      - 2a02:8109:ae3f:fa04:5604:a6ff:fe38:99f9
+      # localhost
+      - 127.0.0.1
+      - ::1
+    also-notify-acwain:
+      # maria.acwain.net
+      - 144.76.221.169
+      - 2a01:4f8:200:94a8::2
+      # bruni.home.brehm-online.com
+      - 2a02:8109:ae3f:fa04:5604:a6ff:fe38:99f9
+    also-notify-boreus:
+      # ns1.boreus.de
+      - 85.199.64.7
+      # ns2.boreus.de
+      - 46.189.56.7
+      # ns3.boreus.de
+      - 85.199.64.7
+    local-host-ips:
+      - 127.0.0.1/8
+      - ::1/128
+    local-net-ips:
+      - 127.0.0.0/8;
+      - 10.0.0.0/8;
+      - 172.16.0.0/12;
+      - 192.168.0.0/16;
+      - ::1/128
+      - fe80::/10
+    private-net-ips:
+      - 10.12.11.0/24
+      # uhu1.uhu-banane.de
+      - 46.16.73.175
+      - 2001:4dd0:ff00:cd3::2
+      # bruni.home.brehm-online.com
+      - 2a02:8109:ae3f:fa04:5604:a6ff:fe38:99f9
+      # helga.brehm-online.com
+      - 85.214.134.152
+      - 2a01:238:4225:6e00:8f8c:808a:7fb8:88df
+      # ns3.uhu-banane.de
+      - 185.102.95.107
+      - 2a06:2380:0:1::3a
+  my-zones:
+    - uhu-banane.eu:
+      - master:
+        - ns3.uhu-banane.de
+      - slaves:
+        - ns1.uhu-banane.de
+        - ns2.uhu-banane.de
+    - uhu-banane.org:
+      - master:
+        - ns3.uhu-banane.de
+      - slaves:
+        - ns1.uhu-banane.de
+        - ns2.uhu-banane.de
+  soa-defaults:
+    - refresh: 10800
+    - retry: 3600
+    - expire: 604800
+    - minimum: 86400
diff --git a/bind/primary.sls b/bind/primary.sls
new file mode 100644 (file)
index 0000000..fdebe92
--- /dev/null
@@ -0,0 +1,3 @@
+bind:
+  role: primary
+
diff --git a/bind/secondary.sls b/bind/secondary.sls
new file mode 100644 (file)
index 0000000..0f85660
--- /dev/null
@@ -0,0 +1,3 @@
+bind:
+  role: secondary
+
diff --git a/top.sls b/top.sls
index 0fc88085c73384585f5b117f9a6fd8629d6babd5..a4666ff39f7eebe84a522a044107bd4a54a6486b 100644 (file)
--- a/top.sls
+++ b/top.sls
@@ -2,12 +2,18 @@ base:
   'ns1.uhu-banane.de':
     - postfix.satellite
     - debian.openssh
+    - bind.common
+    - bind.secondary
 
   'ns2.uhu-banane.de':
     - postfix.satellite
     - debian.openssh
+    - bind.common
+    - bind.secondary
 
   'ns3.uhu-banane.de':
     - postfix.satellite
     - debian.openssh
+    - bind.common
+    - bind.primary