aboutsummaryrefslogtreecommitdiff
path: root/bind
diff options
context:
space:
mode:
authorMike Crute <mike@crute.us>2019-12-30 22:17:25 +0000
committerMike Crute <mike@crute.us>2019-12-30 22:17:25 +0000
commit86d7e117a60ef08c1c9b94fd29a0a09ee851779a (patch)
treeb347c6f9a22a244110bc74df5411d13b11a87a7a /bind
parentdab2dedf68d07c506e569b69fdb9c454244a4b4f (diff)
downloaddockerfiles-86d7e117a60ef08c1c9b94fd29a0a09ee851779a.tar.bz2
dockerfiles-86d7e117a60ef08c1c9b94fd29a0a09ee851779a.tar.xz
dockerfiles-86d7e117a60ef08c1c9b94fd29a0a09ee851779a.zip
Update BIND slave configs
Diffstat (limited to 'bind')
-rw-r--r--bind/conf/slave_zones.conf149
1 files changed, 101 insertions, 48 deletions
diff --git a/bind/conf/slave_zones.conf b/bind/conf/slave_zones.conf
index 02c8694..b98cb4a 100644
--- a/bind/conf/slave_zones.conf
+++ b/bind/conf/slave_zones.conf
@@ -1,4 +1,4 @@
1// vi:ft=named 1// vi:ft=named noexpandtab
2 2
3key "${KEY_NAME}" { 3key "${KEY_NAME}" {
4 algorithm hmac-sha256; 4 algorithm hmac-sha256;
@@ -9,6 +9,90 @@ acl external-keys {
9 key ${KEY_NAME}; 9 key ${KEY_NAME};
10}; 10};
11 11
12view external {
13 match-clients {
14 !internal-nets;
15 external-keys;
16 any;
17 };
18
19 server 172.16.18.52 {
20 keys ${KEY_NAME};
21 };
22
23 rate-limit {
24 responses-per-second 15;
25 };
26
27 include "/etc/bind/named.conf.default-zones";
28
29 zone "crute.me" {
30 type slave;
31 file "external/db.crute.me";
32 masters { 172.16.18.52; };
33 };
34
35 zone "crute.us" {
36 type slave;
37 file "external/db.crute.us";
38 masters { 172.16.18.52; };
39 };
40
41 zone "crute.org" {
42 type slave;
43 file "external/db.crute.org";
44 masters { 172.16.18.52; };
45 };
46
47 zone "crute.dev" {
48 type slave;
49 file "external/db.crute.dev";
50 masters { 172.16.18.52; };
51 };
52
53 zone "softgroupcorp.com" {
54 type slave;
55 file "external/db.softgroupcorp.com";
56 masters { 172.16.18.52; };
57 };
58
59 zone "pomonaconsulting.com" {
60 type slave;
61 file "external/db.pomonaconsulting.com";
62 masters { 172.16.18.52; };
63 };
64
65 zone "pomonaconsulting.net" {
66 type slave;
67 file "external/db.pomonaconsulting.net";
68 masters { 172.16.18.52; };
69 };
70
71 zone "as398223.net" {
72 type slave;
73 file "external/db.as398223.net";
74 masters { 172.16.18.52; };
75 };
76
77 zone "59erdiner.com" {
78 type slave;
79 file "external/db.59erdiner.com";
80 masters { 172.16.18.52; };
81 };
82
83 zone "leavenworthsnowmobilerentals.com" {
84 type slave;
85 file "external/db.leavenworthsnowmobilerentals.com";
86 masters { 172.16.18.52; };
87 };
88
89 zone "lakewenatcheecabins.net" {
90 type slave;
91 file "external/db.lakewenatcheecabins.net";
92 masters { 172.16.18.52; };
93 };
94};
95
12view internal { 96view internal {
13 match-clients { 97 match-clients {
14 !external-keys; 98 !external-keys;
@@ -102,73 +186,42 @@ view internal {
102 }; 186 };
103 187
104 zone "crute.us" { 188 zone "crute.us" {
105 type slave; 189 in-view external;
106 file "internal/db.crute.us";
107 masters { 172.16.18.52; };
108 }; 190 };
109 191
110 zone "crute.org" { 192 zone "crute.org" {
111 type slave; 193 in-view external;
112 file "internal/db.crute.org";
113 masters { 172.16.18.52; };
114 }; 194 };
115 195
116 zone "crute.dev" { 196 zone "crute.dev" {
117 type slave; 197 in-view external;
118 file "internal/db.crute.dev";
119 masters { 172.16.18.52; };
120 }; 198 };
121 199
122 zone "softgroupcorp.com" { 200 zone "softgroupcorp.com" {
123 type slave; 201 in-view external;
124 file "internal/db.softgroupcorp.com";
125 masters { 172.16.18.52; };
126 }; 202 };
127};
128 203
129view external { 204 zone "pomonaconsulting.com" {
130 match-clients { 205 in-view external;
131 external-keys;
132 any;
133 }; 206 };
134 207
135 server 172.16.18.52 { 208 zone "pomonaconsulting.net" {
136 keys ${KEY_NAME}; 209 in-view external;
137 }; 210 };
138 211
139 rate-limit { 212 zone "as398223.net" {
140 responses-per-second 15; 213 in-view external;
141 };
142
143 include "/etc/bind/named.conf.default-zones";
144
145 zone "crute.me" {
146 type slave;
147 file "external/db.crute.me";
148 masters { 172.16.18.52; };
149 };
150
151 zone "crute.us" {
152 type slave;
153 file "external/db.crute.us";
154 masters { 172.16.18.52; };
155 }; 214 };
156 215
157 zone "crute.org" { 216 zone "59erdiner.com" {
158 type slave; 217 in-view external;
159 file "external/db.crute.org";
160 masters { 172.16.18.52; };
161 }; 218 };
162 219
163 zone "crute.dev" { 220 zone "leavenworthsnowmobilerentals.com" {
164 type slave; 221 in-view external;
165 file "external/db.crute.dev";
166 masters { 172.16.18.52; };
167 }; 222 };
168 223
169 zone "softgroupcorp.com" { 224 zone "lakewenatcheecabins.net" {
170 type slave; 225 in-view external;
171 file "external/db.softgroupcorp.com";
172 masters { 172.16.18.52; };
173 }; 226 };
174}; 227};