From 964370c475e844269a2993359fa60d59834de7ac Mon Sep 17 00:00:00 2001 From: Frank Brehm Date: Tue, 8 Mar 2016 12:36:33 +0100 Subject: [PATCH] Adding pillar infos for Bind configuration --- bind/common.sls | 106 +++++++++++++++++++++++++++++++++++++++++++++ bind/primary.sls | 3 ++ bind/secondary.sls | 3 ++ top.sls | 6 +++ 4 files changed, 118 insertions(+) create mode 100644 bind/common.sls create mode 100644 bind/primary.sls create mode 100644 bind/secondary.sls diff --git a/bind/common.sls b/bind/common.sls new file mode 100644 index 0000000..1e9d5ff --- /dev/null +++ b/bind/common.sls @@ -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 index 0000000..fdebe92 --- /dev/null +++ b/bind/primary.sls @@ -0,0 +1,3 @@ +bind: + role: primary + diff --git a/bind/secondary.sls b/bind/secondary.sls new file mode 100644 index 0000000..0f85660 --- /dev/null +++ b/bind/secondary.sls @@ -0,0 +1,3 @@ +bind: + role: secondary + diff --git a/top.sls b/top.sls index 0fc8808..a4666ff 100644 --- 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 -- 2.39.5