Browse Source

fixed permissions; moved masters to data

tags/v2.0.0
Robin Thoni 6 years ago
parent
commit
e719769782

+ 1
- 7
bind/config/named.conf View File

@@ -34,13 +34,7 @@ acl "acl-external" {
34 34
   any;
35 35
 };
36 36
 
37
-masters "masters-example.com-internal" {
38
-  10.10.0.1 key "key-internal";
39
-};
40
-
41
-masters "masters-example.com-external" {
42
-  10.10.0.1 key "key-external";
43
-};
37
+include "/etc/bind/config/masters.conf";
44 38
 
45 39
 options {
46 40
   directory "/var/cache/bind";

+ 2
- 2
bind/config/named.conf.local View File

@@ -6,7 +6,7 @@ view "view-internal" {
6 6
     any;
7 7
   };
8 8
   also-notify {
9
-    "masters-example.com-internal";
9
+    "masters-internal";
10 10
   };
11 11
   allow-transfer {
12 12
     key "key-internal";
@@ -29,7 +29,7 @@ view "view-external" {
29 29
     none;
30 30
   };
31 31
   also-notify {
32
-    "masters-example.com-external";
32
+    "masters-external";
33 33
   };
34 34
   allow-transfer {
35 35
     key "key-external";

+ 0
- 0
data_example/bind/config/common/db.example.com View File


+ 0
- 0
data_example/bind/config/external/.gitkeep View File


+ 0
- 0
data_example/bind/config/external/db.site1.example.com View File


+ 0
- 0
data_example/bind/config/internal/.gitkeep View File


+ 0
- 0
data_example/bind/config/internal/db.site1.example.com View File


+ 7
- 0
data_example/bind/config/masters.conf View File

@@ -0,0 +1,7 @@
1
+masters "masters-internal" {
2
+  10.10.0.1 key "key-internal";
3
+};
4
+
5
+masters "masters-external" {
6
+  10.10.0.1 key "key-external";
7
+};

+ 1
- 1
data_example/bind/config/named.conf.local.common View File

@@ -1,4 +1,4 @@
1 1
 zone "example.com" {
2 2
   type master;
3
-  file "/etc/bind/zones/common/db.example.com";
3
+  file "/etc/bind/config/common/db.example.com";
4 4
 };

+ 1
- 1
data_example/bind/config/named.conf.local.external View File

@@ -1,4 +1,4 @@
1 1
 zone "site1.example.com" {
2 2
   type master;
3
-  file "/etc/bind/zones/external/db.site1.example.com";
3
+  file "/etc/bind/config/external/db.site1.example.com";
4 4
 };

+ 3
- 3
data_example/bind/config/named.conf.local.internal View File

@@ -1,12 +1,12 @@
1 1
 zone "site1.example.com" {
2 2
   type master;
3
-  file "/etc/bind/zones/internal/db.site1.example.com";
3
+  file "/etc/bind/config/internal/db.site1.example.com";
4 4
 };
5 5
 zone "dhcp.site1.example.com" {
6 6
   type master;
7
-  file "/etc/bind/zones/internal/db.dhcp.site1.example.com";
7
+  file "/etc/bind/config/internal/db.dhcp.site1.example.com";
8 8
 };
9 9
 zone "100.15.10.in-addr.arpa" {
10 10
   type master;
11
-  file "/etc/bind/zones/internal/db.100.15.10.in-addr.arpa";
11
+  file "/etc/bind/config/internal/db.100.15.10.in-addr.arpa";
12 12
 };

+ 0
- 0
data_example/tftpd/tftp/ipxe-rthoni.kpxe View File


Loading…
Cancel
Save