file "/var/lib/bind/blacka.com";
dnssec-policy "simple_alg15";
inline-signing yes;
-
+
notify yes;
- also-notify {
- 66.92.146.115;
+ also-notify {
+ 66.92.146.115;
204.109.61.194;
};
allow-transfer {
- 127.0.0.1;
- key zeke-tornado.;
- key zeke-ogud2.;
- key zeke-ogud3;
+ 127.0.0.1;
+ key zeke-tornado.;
+ key zeke-ogud2.;
+ key zeke-ogud3;
};
};
type primary;
file "/var/lib/bind/ecotroph.net";
notify yes;
- allow-transfer {
- 127.0.0.1;
- key zeke-tornado.;
- key zeke-ogud2.;
- key zeke-ogud3;
+ allow-transfer {
+ 127.0.0.1;
+ key zeke-tornado.;
+ key zeke-ogud2.;
+ key zeke-ogud3;
};
};
# file "/var/lib/bind/hxr.us";
# notify yes;
# allow-transfer {
-# 127.0.0.1;
-# 66.92.146.115;
-# 204.109.61.194;
-# 66.92.146.160;
+# 127.0.0.1;
+# 66.92.146.115;
+# 204.109.61.194;
+# 66.92.146.160;
# 64.151.105.12;
# };
# };
# };
# Note: no longer registered
-zone "fallschurchdissident.us" {
+# zone "fallschurchdissident.us" {
# type primary;
# file "/var/lib/bind/fallschurchdissident.us";
# notify yes;
# };
# Note: no longer registered
-zone "fallschurchdissident.com" {
+# zone "fallschurchdissident.com" {
# type primary;
# file "/var/lib/bind/fallschurchdissident.com";
# notify yes;
-# allow-transfer {
+# allow-transfer {
# 127.0.0.1;
# 66.92.146.115;
# 204.109.61.194;
# type primary;
# file "/var/lib/bind/t.hxr.us";
# allow-transfer {
-# 127.0.0.1;
+# 127.0.0.1;
# 64.151.105.12;
# };
# };
# zone "dyn.hxr.us" {
# type primary;
# file "/var/lib/bind/dyn/dyn.hxr.us";
-# allow-transfer {
-# 127.0.0.1;
+# allow-transfer {
+# 127.0.0.1;
# 64.151.105.12;
# };
# update-policy { grant * self * A; };
type primary;
file "/var/lib/bind/kosters.net";
notify yes;
- also-notify {
+ also-notify {
65.201.175.12;
66.92.146.115;
204.109.61.194;
};
- allow-transfer {
+ allow-transfer {
127.0.0.1;
65.201.175.11;
65.201.175.12;
type primary;
file "/var/lib/bind/bjmk.com";
notify yes;
- also-notify {
- 65.201.175.12;
- 66.92.146.115;
+ also-notify {
+ 65.201.175.12;
+ 66.92.146.115;
204.109.61.194;
};
- allow-transfer {
+ allow-transfer {
127.0.0.1;
65.201.175.11;
65.201.175.12;
70.164.18.41;
70.164.18.42;
207.234.133.162;
- key zeke-ogud2.;
+ key zeke-ogud2.;
key zeke-ogud3;
};
};
# type primary;
# file "/var/lib/bind/gracecrc.org";
# notify yes;
-# also-notify {
-# 65.201.175.12;
-# 66.92.146.115;
-# 204.109.61.194;
+# also-notify {
+# 65.201.175.12;
+# 66.92.146.115;
+# 204.109.61.194;
# };
-# allow-transfer {
+# allow-transfer {
# 127.0.0.1;
# 65.201.175.11;
# 65.201.175.12;
# type primary;
# file "/var/lib/bind/toscano.org";
# notify yes;
-# allow-transfer {
+# allow-transfer {
# 127.0.0.1;
# 202.157.185.115;
# 202.157.182.142;
# type primary;
# file "/var/lib/bind/prevelige.org";
# notify yes;
-# allow-transfer {
+# allow-transfer {
# 127.0.0.1;
# 202.157.185.115;
# 202.157.182.142;
BASE_CONF_DIR=/etc/bind
: "${DNS_PORT:=53}"
: "${RNDC_PORT:=953}"
-[ "$1" = "interactive" ] && ARGS="-ti --entrypoint=/bin/bash"
+CMD="/usr/sbin/named -c /etc/bind/named.conf -4 -f"
+[ "$1" = "interactive" ] && ARGS="-ti --entrypoint=/bin/bash" && CMD=""
# shellcheck disable=SC2086
docker run $ARGS \
-v $BASE_CONF_DIR/cache:/var/cache/bind \
-v $BASE_CONF_DIR/zones:/var/lib/bind \
-v $BASE_CONF_DIR/log:/var/log \
- docker.io/internetsystemsconsortium/bind9:9.18 \
- /usr/sbin/named -c /etc/bind/named.conf -4 -f
+ docker.io/internetsystemsconsortium/bind9:9.18 $CMD