Browse Source

moved /etc/bind/zones to /etc/bind/config

tags/v2.0.0
Robin Thoni 6 years ago
parent
commit
fd8ef8bb12
2 changed files with 5 additions and 5 deletions
  1. 4
    4
      bind/config/named.conf.local
  2. 1
    1
      docker-compose.yml

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

17
 
17
 
18
   include "/etc/bind/named.conf.default-zones";
18
   include "/etc/bind/named.conf.default-zones";
19
   include "/etc/bind/zones.rfc1918";
19
   include "/etc/bind/zones.rfc1918";
20
-  include "/etc/bind/zones/named.conf.local.common";
21
-  include "/etc/bind/zones/named.conf.local.internal";
20
+  include "/etc/bind/config/named.conf.local.common";
21
+  include "/etc/bind/config/named.conf.local.internal";
22
 };
22
 };
23
 
23
 
24
 view "view-external" {
24
 view "view-external" {
38
     key "key-external";
38
     key "key-external";
39
   };
39
   };
40
 
40
 
41
-  include "/etc/bind/zones/named.conf.local.common";
42
-  include "/etc/bind/zones/named.conf.local.external";
41
+  include "/etc/bind/config/named.conf.local.common";
42
+  include "/etc/bind/config/named.conf.local.external";
43
 };
43
 };

+ 1
- 1
docker-compose.yml View File

6
         container_name: dhcp-bind
6
         container_name: dhcp-bind
7
 #        restart: unless-stopped
7
 #        restart: unless-stopped
8
         volumes:
8
         volumes:
9
-            - ./data/bind/zones:/etc/bind/zones
9
+            - ./data/bind/config:/etc/bind/zones
10
         ports:
10
         ports:
11
             - "0.0.0.0:53:53/udp"
11
             - "0.0.0.0:53:53/udp"
12
             - "0.0.0.0:53:53/tcp"
12
             - "0.0.0.0:53:53/tcp"

Loading…
Cancel
Save