recurse for local
This commit is contained in:
parent
8cba8194b0
commit
2a8789e554
|
@ -1,6 +1,6 @@
|
|||
FROM ubuntu/bind9:9.18-22.04_beta
|
||||
|
||||
LABEL version="20240627.1.1"
|
||||
LABEL version="20240627.1.2"
|
||||
LABEL description="bind9 primary nameserver"
|
||||
|
||||
ENV BIND_LIB_DIR=/var/lib/bind
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
FROM ubuntu/bind9:9.18-22.04_beta
|
||||
|
||||
LABEL version="20240627.1.1"
|
||||
LABEL version="20240627.1.2"
|
||||
LABEL description="bind9 secondary nameserver"
|
||||
|
||||
ENV BIND_LIB_DIR=/var/lib/bind
|
||||
|
|
|
@ -18,7 +18,7 @@ services:
|
|||
container_name: ns1
|
||||
build:
|
||||
dockerfile: Dockerfile.primary
|
||||
image: docker-registry1.in.thelinuxpro.net:5000/tlp/bind9-primary:240627.1.1
|
||||
image: docker-registry1.in.thelinuxpro.net:5000/tlp/bind9-primary:240627.1.2
|
||||
restart: always
|
||||
user: root
|
||||
environment:
|
||||
|
@ -41,7 +41,7 @@ services:
|
|||
container_name: ns2
|
||||
build:
|
||||
dockerfile: Dockerfile.secondary
|
||||
image: docker-registry1.in.thelinuxpro.net:5000/tlp/bind9-secondary:240627.1.1
|
||||
image: docker-registry1.in.thelinuxpro.net:5000/tlp/bind9-secondary:240627.1.2
|
||||
restart: always
|
||||
user: root
|
||||
environment:
|
||||
|
|
|
@ -1,12 +1,3 @@
|
|||
options {
|
||||
directory "/var/lib/bind";
|
||||
dump-file "/var/log/named_dump.db";
|
||||
statistics-file "/var/log/named.stats";
|
||||
recursion no;
|
||||
version "PiSS 0FF D0nK3y.";
|
||||
notify yes;
|
||||
};
|
||||
|
||||
acl "internal-nets" {
|
||||
10.200.254.224/27; //Utility_net
|
||||
10.200.99.192/26; //client_net
|
||||
|
@ -20,6 +11,15 @@ acl "internal-nets" {
|
|||
10.99.23.0/24; //dev_infra
|
||||
};
|
||||
|
||||
options {
|
||||
directory "/var/lib/bind";
|
||||
dump-file "/var/log/named_dump.db";
|
||||
statistics-file "/var/log/named.stats";
|
||||
allow-recursion { internal-nets; };
|
||||
version "PiSS 0FF D0nK3y.";
|
||||
notify yes;
|
||||
};
|
||||
|
||||
zone "thelinuxpro.net" in {
|
||||
type master;
|
||||
file "/var/lib/bind/db.thelinuxpro.net";
|
||||
|
|
|
@ -1,13 +1,3 @@
|
|||
options {
|
||||
|
||||
directory "/var/lib/bind";
|
||||
dump-file "/var/log/named_dump.db";
|
||||
statistics-file "/var/log/named.stats";
|
||||
recursion no;
|
||||
version "PiSS 0FF D0nK3y.";
|
||||
notify yes;
|
||||
};
|
||||
|
||||
acl "internal-nets" {
|
||||
10.200.254.224/27; //Utility_net
|
||||
10.200.99.192/26; //client_net
|
||||
|
@ -21,6 +11,15 @@ acl "internal-nets" {
|
|||
10.99.23.0/24; //dev_infra
|
||||
};
|
||||
|
||||
options {
|
||||
directory "/var/lib/bind";
|
||||
dump-file "/var/log/named_dump.db";
|
||||
statistics-file "/var/log/named.stats";
|
||||
allow-recursion { internal-nets; };
|
||||
version "PiSS 0FF D0nK3y.";
|
||||
notify yes;
|
||||
};
|
||||
|
||||
zone "thelinuxpro.net" in {
|
||||
type secondary;
|
||||
primaries { 10.99.153.241; };
|
||||
|
|
Loading…
Reference in New Issue