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
   any;
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
 options {
39
 options {
46
   directory "/var/cache/bind";
40
   directory "/var/cache/bind";

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

6
     any;
6
     any;
7
   };
7
   };
8
   also-notify {
8
   also-notify {
9
-    "masters-example.com-internal";
9
+    "masters-internal";
10
   };
10
   };
11
   allow-transfer {
11
   allow-transfer {
12
     key "key-internal";
12
     key "key-internal";
29
     none;
29
     none;
30
   };
30
   };
31
   also-notify {
31
   also-notify {
32
-    "masters-example.com-external";
32
+    "masters-external";
33
   };
33
   };
34
   allow-transfer {
34
   allow-transfer {
35
     key "key-external";
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

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
 zone "example.com" {
1
 zone "example.com" {
2
   type master;
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
 zone "site1.example.com" {
1
 zone "site1.example.com" {
2
   type master;
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
 zone "site1.example.com" {
1
 zone "site1.example.com" {
2
   type master;
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
 zone "dhcp.site1.example.com" {
5
 zone "dhcp.site1.example.com" {
6
   type master;
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
 zone "100.15.10.in-addr.arpa" {
9
 zone "100.15.10.in-addr.arpa" {
10
   type master;
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