mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-22 18:19:42 +00:00
change allow-transfer default to "none"
Changed the default value for 'allow-transfer' to 'none'; zone transfers now require explicit authorization. Updated all system tests to specify an allow-transfer ACL when needed. Revised the ARM to specify that the default is 'none'.
This commit is contained in:
parent
74cbaf46c9
commit
c3d3d12911
@ -207,7 +207,7 @@ options {\n\
|
|||||||
/* zone */\n\
|
/* zone */\n\
|
||||||
allow-query {any;};\n\
|
allow-query {any;};\n\
|
||||||
allow-query-on {any;};\n\
|
allow-query-on {any;};\n\
|
||||||
allow-transfer {any;};\n\
|
allow-transfer {none;};\n\
|
||||||
# also-notify <none>\n\
|
# also-notify <none>\n\
|
||||||
check-integrity yes;\n\
|
check-integrity yes;\n\
|
||||||
check-mx-cname warn;\n\
|
check-mx-cname warn;\n\
|
||||||
|
@ -25,6 +25,7 @@ options {
|
|||||||
pid-file "named.pid";
|
pid-file "named.pid";
|
||||||
listen-on { 10.53.0.1; };
|
listen-on { 10.53.0.1; };
|
||||||
listen-on-v6 { none; };
|
listen-on-v6 { none; };
|
||||||
|
allow-transfer { any; };
|
||||||
allow-query { any; };
|
allow-query { any; };
|
||||||
allow-new-zones yes;
|
allow-new-zones yes;
|
||||||
recursion no;
|
recursion no;
|
||||||
|
@ -23,6 +23,7 @@ options {
|
|||||||
listen-on { 10.53.0.3; };
|
listen-on { 10.53.0.3; };
|
||||||
listen-on-v6 { none; };
|
listen-on-v6 { none; };
|
||||||
allow-query { any; };
|
allow-query { any; };
|
||||||
|
allow-transfer { any; };
|
||||||
recursion no;
|
recursion no;
|
||||||
allow-new-zones yes;
|
allow-new-zones yes;
|
||||||
dnssec-validation no;
|
dnssec-validation no;
|
||||||
|
@ -23,6 +23,7 @@ options {
|
|||||||
listen-on { 10.53.0.3; };
|
listen-on { 10.53.0.3; };
|
||||||
listen-on-v6 { none; };
|
listen-on-v6 { none; };
|
||||||
allow-query { any; };
|
allow-query { any; };
|
||||||
|
allow-transfer { any; };
|
||||||
recursion no;
|
recursion no;
|
||||||
allow-new-zones yes;
|
allow-new-zones yes;
|
||||||
dnssec-validation no;
|
dnssec-validation no;
|
||||||
|
@ -25,6 +25,8 @@ options {
|
|||||||
};
|
};
|
||||||
|
|
||||||
view main in {
|
view main in {
|
||||||
|
allow-transfer { any; };
|
||||||
|
|
||||||
zone example.net {
|
zone example.net {
|
||||||
type primary;
|
type primary;
|
||||||
file "example.net.db";
|
file "example.net.db";
|
||||||
|
@ -21,6 +21,7 @@ options {
|
|||||||
pid-file "named.pid";
|
pid-file "named.pid";
|
||||||
listen-on { 10.53.0.1; };
|
listen-on { 10.53.0.1; };
|
||||||
listen-on-v6 { none; };
|
listen-on-v6 { none; };
|
||||||
|
allow-transfer { any; };
|
||||||
recursion no;
|
recursion no;
|
||||||
notify yes;
|
notify yes;
|
||||||
dnssec-validation yes;
|
dnssec-validation yes;
|
||||||
|
@ -21,6 +21,7 @@ options {
|
|||||||
pid-file "named.pid";
|
pid-file "named.pid";
|
||||||
listen-on { 10.53.0.2; };
|
listen-on { 10.53.0.2; };
|
||||||
listen-on-v6 { none; };
|
listen-on-v6 { none; };
|
||||||
|
allow-transfer { any; };
|
||||||
recursion no;
|
recursion no;
|
||||||
notify yes;
|
notify yes;
|
||||||
dnssec-validation yes;
|
dnssec-validation yes;
|
||||||
|
@ -24,6 +24,7 @@ options {
|
|||||||
pid-file "named.pid";
|
pid-file "named.pid";
|
||||||
listen-on { 10.53.0.3; };
|
listen-on { 10.53.0.3; };
|
||||||
listen-on-v6 { none; };
|
listen-on-v6 { none; };
|
||||||
|
allow-transfer { any; };
|
||||||
recursion no;
|
recursion no;
|
||||||
notify yes;
|
notify yes;
|
||||||
dnssec-validation yes;
|
dnssec-validation yes;
|
||||||
|
@ -19,6 +19,7 @@ options {
|
|||||||
pid-file "named.pid";
|
pid-file "named.pid";
|
||||||
listen-on { 10.53.0.1; };
|
listen-on { 10.53.0.1; };
|
||||||
listen-on-v6 { none; };
|
listen-on-v6 { none; };
|
||||||
|
allow-transfer { any; };
|
||||||
recursion no;
|
recursion no;
|
||||||
dnssec-validation no;
|
dnssec-validation no;
|
||||||
notify yes;
|
notify yes;
|
||||||
|
@ -19,6 +19,7 @@ options {
|
|||||||
pid-file "named.pid";
|
pid-file "named.pid";
|
||||||
listen-on { 10.53.0.1; };
|
listen-on { 10.53.0.1; };
|
||||||
listen-on-v6 { none; };
|
listen-on-v6 { none; };
|
||||||
|
allow-transfer { any; };
|
||||||
recursion no;
|
recursion no;
|
||||||
notify yes;
|
notify yes;
|
||||||
ixfr-from-differences yes;
|
ixfr-from-differences yes;
|
||||||
|
@ -19,6 +19,7 @@ options {
|
|||||||
pid-file "named.pid";
|
pid-file "named.pid";
|
||||||
listen-on { 10.53.0.2; };
|
listen-on { 10.53.0.2; };
|
||||||
listen-on-v6 { none; };
|
listen-on-v6 { none; };
|
||||||
|
allow-transfer { any; };
|
||||||
recursion no;
|
recursion no;
|
||||||
notify yes;
|
notify yes;
|
||||||
ixfr-from-differences yes;
|
ixfr-from-differences yes;
|
||||||
|
@ -25,6 +25,7 @@ options {
|
|||||||
pid-file "named.pid";
|
pid-file "named.pid";
|
||||||
listen-on { 10.53.0.2; };
|
listen-on { 10.53.0.2; };
|
||||||
listen-on-v6 { fd92:7065:b8e:ffff::2; };
|
listen-on-v6 { fd92:7065:b8e:ffff::2; };
|
||||||
|
allow-transfer { any; };
|
||||||
notify no;
|
notify no;
|
||||||
notify-delay 0;
|
notify-delay 0;
|
||||||
recursion no;
|
recursion no;
|
||||||
|
@ -25,6 +25,7 @@ options {
|
|||||||
pid-file "named.pid";
|
pid-file "named.pid";
|
||||||
listen-on { 10.53.0.2; };
|
listen-on { 10.53.0.2; };
|
||||||
listen-on-v6 { fd92:7065:b8e:ffff::2; };
|
listen-on-v6 { fd92:7065:b8e:ffff::2; };
|
||||||
|
allow-transfer { any; };
|
||||||
notify no;
|
notify no;
|
||||||
notify-delay 0;
|
notify-delay 0;
|
||||||
recursion no;
|
recursion no;
|
||||||
|
@ -27,6 +27,7 @@ options {
|
|||||||
provide-ixfr no;
|
provide-ixfr no;
|
||||||
listen-on { 10.53.0.3; };
|
listen-on { 10.53.0.3; };
|
||||||
listen-on-v6 { fd92:7065:b8e:ffff::3; };
|
listen-on-v6 { fd92:7065:b8e:ffff::3; };
|
||||||
|
allow-transfer { any; };
|
||||||
notify no;
|
notify no;
|
||||||
notify-delay 0;
|
notify-delay 0;
|
||||||
recursion no;
|
recursion no;
|
||||||
|
@ -26,6 +26,7 @@ options {
|
|||||||
pid-file "named.pid";
|
pid-file "named.pid";
|
||||||
listen-on { 10.53.0.4; };
|
listen-on { 10.53.0.4; };
|
||||||
listen-on-v6 { fd92:7065:b8e:ffff::4; };
|
listen-on-v6 { fd92:7065:b8e:ffff::4; };
|
||||||
|
allow-transfer { any; };
|
||||||
notify no;
|
notify no;
|
||||||
notify-delay 0;
|
notify-delay 0;
|
||||||
recursion no;
|
recursion no;
|
||||||
|
@ -19,6 +19,7 @@ options {
|
|||||||
pid-file "named.pid";
|
pid-file "named.pid";
|
||||||
listen-on { 10.53.0.4; };
|
listen-on { 10.53.0.4; };
|
||||||
listen-on-v6 { none; };
|
listen-on-v6 { none; };
|
||||||
|
allow-transfer { any; };
|
||||||
recursion yes;
|
recursion yes;
|
||||||
dnssec-validation yes;
|
dnssec-validation yes;
|
||||||
check-names primary ignore;
|
check-names primary ignore;
|
||||||
|
@ -19,6 +19,7 @@ options {
|
|||||||
pid-file "named.pid";
|
pid-file "named.pid";
|
||||||
listen-on { 10.53.0.5; };
|
listen-on { 10.53.0.5; };
|
||||||
listen-on-v6 { none; };
|
listen-on-v6 { none; };
|
||||||
|
allow-transfer { any; };
|
||||||
recursion yes;
|
recursion yes;
|
||||||
dnssec-validation yes;
|
dnssec-validation yes;
|
||||||
check-names master ignore;
|
check-names master ignore;
|
||||||
|
@ -21,6 +21,7 @@ options {
|
|||||||
pid-file "named.pid";
|
pid-file "named.pid";
|
||||||
listen-on { 10.53.0.1; };
|
listen-on { 10.53.0.1; };
|
||||||
listen-on-v6 { none; };
|
listen-on-v6 { none; };
|
||||||
|
allow-transfer { any; };
|
||||||
heartbeat-interval 1;
|
heartbeat-interval 1;
|
||||||
recursion no;
|
recursion no;
|
||||||
dnssec-validation no;
|
dnssec-validation no;
|
||||||
|
@ -21,6 +21,7 @@ options {
|
|||||||
pid-file "named.pid";
|
pid-file "named.pid";
|
||||||
listen-on { 10.53.0.2; };
|
listen-on { 10.53.0.2; };
|
||||||
listen-on-v6 { none; };
|
listen-on-v6 { none; };
|
||||||
|
allow-transfer { any; };
|
||||||
heartbeat-interval 1;
|
heartbeat-interval 1;
|
||||||
recursion no;
|
recursion no;
|
||||||
dnssec-validation no;
|
dnssec-validation no;
|
||||||
|
@ -21,6 +21,7 @@ options {
|
|||||||
pid-file "named.pid";
|
pid-file "named.pid";
|
||||||
listen-on { 10.53.0.2; };
|
listen-on { 10.53.0.2; };
|
||||||
listen-on-v6 { none; };
|
listen-on-v6 { none; };
|
||||||
|
allow-transfer { any; };
|
||||||
recursion no;
|
recursion no;
|
||||||
notify yes;
|
notify yes;
|
||||||
dnssec-validation yes;
|
dnssec-validation yes;
|
||||||
|
@ -21,6 +21,7 @@ options {
|
|||||||
pid-file "named.pid";
|
pid-file "named.pid";
|
||||||
listen-on { 10.53.0.3; };
|
listen-on { 10.53.0.3; };
|
||||||
listen-on-v6 { none; };
|
listen-on-v6 { none; };
|
||||||
|
allow-transfer { any; };
|
||||||
recursion no;
|
recursion no;
|
||||||
notify yes;
|
notify yes;
|
||||||
dnssec-validation yes;
|
dnssec-validation yes;
|
||||||
|
@ -23,6 +23,7 @@ options {
|
|||||||
pid-file "named.pid";
|
pid-file "named.pid";
|
||||||
listen-on { 10.53.0.1; };
|
listen-on { 10.53.0.1; };
|
||||||
listen-on-v6 { none; };
|
listen-on-v6 { none; };
|
||||||
|
allow-transfer { any; };
|
||||||
recursion no;
|
recursion no;
|
||||||
notify yes;
|
notify yes;
|
||||||
dnssec-validation yes;
|
dnssec-validation yes;
|
||||||
|
@ -27,6 +27,7 @@ options {
|
|||||||
pid-file "named.pid";
|
pid-file "named.pid";
|
||||||
listen-on { 10.53.0.2; };
|
listen-on { 10.53.0.2; };
|
||||||
listen-on-v6 { none; };
|
listen-on-v6 { none; };
|
||||||
|
allow-transfer { any; };
|
||||||
recursion no;
|
recursion no;
|
||||||
notify yes;
|
notify yes;
|
||||||
notify-delay 0;
|
notify-delay 0;
|
||||||
|
@ -28,6 +28,7 @@ options {
|
|||||||
listen-on { 10.53.0.3; };
|
listen-on { 10.53.0.3; };
|
||||||
listen-on-v6 { none; };
|
listen-on-v6 { none; };
|
||||||
recursion no;
|
recursion no;
|
||||||
|
allow-transfer { any; };
|
||||||
notify yes;
|
notify yes;
|
||||||
try-tcp-refresh no;
|
try-tcp-refresh no;
|
||||||
notify-delay 0;
|
notify-delay 0;
|
||||||
|
@ -21,6 +21,7 @@ options {
|
|||||||
pid-file "named.pid";
|
pid-file "named.pid";
|
||||||
listen-on { 10.53.0.4; };
|
listen-on { 10.53.0.4; };
|
||||||
listen-on-v6 { none; };
|
listen-on-v6 { none; };
|
||||||
|
allow-transfer { any; };
|
||||||
recursion no;
|
recursion no;
|
||||||
notify yes;
|
notify yes;
|
||||||
notify-delay 0;
|
notify-delay 0;
|
||||||
|
@ -19,6 +19,7 @@ options {
|
|||||||
pid-file "named.pid";
|
pid-file "named.pid";
|
||||||
listen-on { 10.53.0.1; };
|
listen-on { 10.53.0.1; };
|
||||||
listen-on-v6 { none; };
|
listen-on-v6 { none; };
|
||||||
|
allow-transfer { any; };
|
||||||
recursion no;
|
recursion no;
|
||||||
notify yes;
|
notify yes;
|
||||||
dnssec-validation no;
|
dnssec-validation no;
|
||||||
|
@ -19,6 +19,7 @@ options {
|
|||||||
pid-file "named.pid";
|
pid-file "named.pid";
|
||||||
listen-on { 10.53.0.4; };
|
listen-on { 10.53.0.4; };
|
||||||
listen-on-v6 { none; };
|
listen-on-v6 { none; };
|
||||||
|
allow-transfer { any; };
|
||||||
recursion no;
|
recursion no;
|
||||||
notify yes;
|
notify yes;
|
||||||
dnssec-validation no;
|
dnssec-validation no;
|
||||||
|
@ -19,6 +19,7 @@ options {
|
|||||||
pid-file "named.pid";
|
pid-file "named.pid";
|
||||||
listen-on { 10.53.0.5; };
|
listen-on { 10.53.0.5; };
|
||||||
listen-on-v6 { none; };
|
listen-on-v6 { none; };
|
||||||
|
allow-transfer { any; };
|
||||||
recursion no;
|
recursion no;
|
||||||
notify yes;
|
notify yes;
|
||||||
provide-ixfr no;
|
provide-ixfr no;
|
||||||
|
@ -64,6 +64,7 @@ options {
|
|||||||
pid-file "named.pid";
|
pid-file "named.pid";
|
||||||
listen-on { 10.53.0.4; };
|
listen-on { 10.53.0.4; };
|
||||||
listen-on-v6 { none; };
|
listen-on-v6 { none; };
|
||||||
|
allow-transfer { any; };
|
||||||
recursion no;
|
recursion no;
|
||||||
dnssec-policy "test";
|
dnssec-policy "test";
|
||||||
dnssec-validation no;
|
dnssec-validation no;
|
||||||
|
@ -49,6 +49,7 @@ options {
|
|||||||
pid-file "named.pid";
|
pid-file "named.pid";
|
||||||
listen-on { 10.53.0.5; };
|
listen-on { 10.53.0.5; };
|
||||||
listen-on-v6 { none; };
|
listen-on-v6 { none; };
|
||||||
|
allow-transfer { any; };
|
||||||
recursion no;
|
recursion no;
|
||||||
dnssec-policy "none";
|
dnssec-policy "none";
|
||||||
dnssec-validation no;
|
dnssec-validation no;
|
||||||
|
@ -19,6 +19,7 @@ options {
|
|||||||
pid-file "named.pid";
|
pid-file "named.pid";
|
||||||
listen-on { 10.53.0.1; };
|
listen-on { 10.53.0.1; };
|
||||||
listen-on-v6 { none; };
|
listen-on-v6 { none; };
|
||||||
|
allow-transfer { any; };
|
||||||
recursion no;
|
recursion no;
|
||||||
notify yes;
|
notify yes;
|
||||||
dnssec-validation no;
|
dnssec-validation no;
|
||||||
|
@ -21,6 +21,7 @@ options {
|
|||||||
pid-file "named.pid";
|
pid-file "named.pid";
|
||||||
listen-on { 10.53.0.2; };
|
listen-on { 10.53.0.2; };
|
||||||
listen-on-v6 { none; };
|
listen-on-v6 { none; };
|
||||||
|
allow-transfer { any; };
|
||||||
recursion no;
|
recursion no;
|
||||||
notify yes;
|
notify yes;
|
||||||
dnssec-validation yes;
|
dnssec-validation yes;
|
||||||
|
@ -19,6 +19,7 @@ options {
|
|||||||
pid-file "named.pid";
|
pid-file "named.pid";
|
||||||
listen-on { 10.53.0.1; };
|
listen-on { 10.53.0.1; };
|
||||||
listen-on-v6 { none; };
|
listen-on-v6 { none; };
|
||||||
|
allow-transfer { any; };
|
||||||
recursion no;
|
recursion no;
|
||||||
dnssec-validation no;
|
dnssec-validation no;
|
||||||
};
|
};
|
||||||
|
@ -28,6 +28,7 @@ options {
|
|||||||
pid-file "named.pid";
|
pid-file "named.pid";
|
||||||
listen-on { 10.53.0.2; };
|
listen-on { 10.53.0.2; };
|
||||||
listen-on-v6 { none; };
|
listen-on-v6 { none; };
|
||||||
|
allow-transfer { any; };
|
||||||
recursion no;
|
recursion no;
|
||||||
dnssec-validation no;
|
dnssec-validation no;
|
||||||
};
|
};
|
||||||
|
@ -20,6 +20,7 @@ options {
|
|||||||
pid-file "named.pid";
|
pid-file "named.pid";
|
||||||
listen-on { 10.53.0.2; };
|
listen-on { 10.53.0.2; };
|
||||||
listen-on-v6 { none; };
|
listen-on-v6 { none; };
|
||||||
|
allow-transfer { any; };
|
||||||
recursion no;
|
recursion no;
|
||||||
notify yes;
|
notify yes;
|
||||||
startup-notify-rate 5;
|
startup-notify-rate 5;
|
||||||
|
@ -19,6 +19,7 @@ options {
|
|||||||
pid-file "named.pid";
|
pid-file "named.pid";
|
||||||
listen-on { 10.53.0.4; };
|
listen-on { 10.53.0.4; };
|
||||||
listen-on-v6 { none; };
|
listen-on-v6 { none; };
|
||||||
|
allow-transfer { any; };
|
||||||
recursion yes;
|
recursion yes;
|
||||||
notify yes;
|
notify yes;
|
||||||
dnssec-validation no;
|
dnssec-validation no;
|
||||||
|
@ -34,6 +34,7 @@ options {
|
|||||||
pid-file "named.pid";
|
pid-file "named.pid";
|
||||||
listen-on { 10.53.0.5; };
|
listen-on { 10.53.0.5; };
|
||||||
listen-on-v6 { none; };
|
listen-on-v6 { none; };
|
||||||
|
allow-transfer { any; };
|
||||||
recursion yes;
|
recursion yes;
|
||||||
notify yes;
|
notify yes;
|
||||||
dnssec-validation no;
|
dnssec-validation no;
|
||||||
|
@ -20,6 +20,7 @@ options {
|
|||||||
pid-file "named.pid";
|
pid-file "named.pid";
|
||||||
listen-on { 10.53.0.1; };
|
listen-on { 10.53.0.1; };
|
||||||
listen-on-v6 { none; };
|
listen-on-v6 { none; };
|
||||||
|
allow-transfer { any; };
|
||||||
notify no;
|
notify no;
|
||||||
minimal-responses no;
|
minimal-responses no;
|
||||||
dnssec-validation no;
|
dnssec-validation no;
|
||||||
|
@ -20,6 +20,7 @@ options {
|
|||||||
session-keyfile "session.key";
|
session-keyfile "session.key";
|
||||||
listen-on { 10.53.0.10; };
|
listen-on { 10.53.0.10; };
|
||||||
listen-on-v6 { none; };
|
listen-on-v6 { none; };
|
||||||
|
allow-transfer { any; };
|
||||||
notify no;
|
notify no;
|
||||||
minimal-responses no;
|
minimal-responses no;
|
||||||
recursion yes;
|
recursion yes;
|
||||||
|
@ -20,6 +20,7 @@ options {
|
|||||||
session-keyfile "session.key";
|
session-keyfile "session.key";
|
||||||
listen-on { 10.53.0.2; };
|
listen-on { 10.53.0.2; };
|
||||||
listen-on-v6 { none; };
|
listen-on-v6 { none; };
|
||||||
|
allow-transfer { any; };
|
||||||
notify no;
|
notify no;
|
||||||
minimal-responses no;
|
minimal-responses no;
|
||||||
recursion yes;
|
recursion yes;
|
||||||
|
@ -25,6 +25,7 @@ options {
|
|||||||
session-keyfile "session.key";
|
session-keyfile "session.key";
|
||||||
listen-on { 10.53.0.3; };
|
listen-on { 10.53.0.3; };
|
||||||
listen-on-v6 { none; };
|
listen-on-v6 { none; };
|
||||||
|
allow-transfer { any; };
|
||||||
notify yes;
|
notify yes;
|
||||||
minimal-responses no;
|
minimal-responses no;
|
||||||
recursion yes;
|
recursion yes;
|
||||||
|
@ -20,6 +20,7 @@ options {
|
|||||||
session-keyfile "session.key";
|
session-keyfile "session.key";
|
||||||
listen-on { 10.53.0.4; };
|
listen-on { 10.53.0.4; };
|
||||||
listen-on-v6 { none; };
|
listen-on-v6 { none; };
|
||||||
|
allow-transfer { any; };
|
||||||
notify no;
|
notify no;
|
||||||
minimal-responses no;
|
minimal-responses no;
|
||||||
recursion yes;
|
recursion yes;
|
||||||
|
@ -25,6 +25,7 @@ options {
|
|||||||
session-keyfile "session.key";
|
session-keyfile "session.key";
|
||||||
listen-on { 10.53.0.5; };
|
listen-on { 10.53.0.5; };
|
||||||
listen-on-v6 { none; };
|
listen-on-v6 { none; };
|
||||||
|
allow-transfer { any; };
|
||||||
ixfr-from-differences yes;
|
ixfr-from-differences yes;
|
||||||
notify-delay 0;
|
notify-delay 0;
|
||||||
notify yes;
|
notify yes;
|
||||||
|
@ -21,6 +21,7 @@ options {
|
|||||||
session-keyfile "session.key";
|
session-keyfile "session.key";
|
||||||
listen-on { 10.53.0.6; };
|
listen-on { 10.53.0.6; };
|
||||||
listen-on-v6 { none; };
|
listen-on-v6 { none; };
|
||||||
|
allow-transfer { any; };
|
||||||
forward only;
|
forward only;
|
||||||
forwarders { 10.53.0.3; };
|
forwarders { 10.53.0.3; };
|
||||||
minimal-responses no;
|
minimal-responses no;
|
||||||
|
@ -21,6 +21,7 @@ options {
|
|||||||
session-keyfile "session.key";
|
session-keyfile "session.key";
|
||||||
listen-on { 10.53.0.7; };
|
listen-on { 10.53.0.7; };
|
||||||
listen-on-v6 { none; };
|
listen-on-v6 { none; };
|
||||||
|
allow-transfer { any; };
|
||||||
minimal-responses no;
|
minimal-responses no;
|
||||||
recursion yes;
|
recursion yes;
|
||||||
dnssec-validation yes;
|
dnssec-validation yes;
|
||||||
|
@ -25,6 +25,7 @@ options {
|
|||||||
session-keyfile "session.key";
|
session-keyfile "session.key";
|
||||||
listen-on { 10.53.0.8; };
|
listen-on { 10.53.0.8; };
|
||||||
listen-on-v6 { none; };
|
listen-on-v6 { none; };
|
||||||
|
allow-transfer { any; };
|
||||||
notify yes;
|
notify yes;
|
||||||
minimal-responses no;
|
minimal-responses no;
|
||||||
recursion yes;
|
recursion yes;
|
||||||
|
@ -25,6 +25,7 @@ options {
|
|||||||
session-keyfile "session.key";
|
session-keyfile "session.key";
|
||||||
listen-on { 10.53.0.9; };
|
listen-on { 10.53.0.9; };
|
||||||
listen-on-v6 { none; };
|
listen-on-v6 { none; };
|
||||||
|
allow-transfer { any; };
|
||||||
notify yes;
|
notify yes;
|
||||||
minimal-responses no;
|
minimal-responses no;
|
||||||
recursion yes;
|
recursion yes;
|
||||||
|
@ -19,6 +19,7 @@ options {
|
|||||||
pid-file "named.pid";
|
pid-file "named.pid";
|
||||||
listen-on { 10.53.0.1; };
|
listen-on { 10.53.0.1; };
|
||||||
listen-on-v6 { none; };
|
listen-on-v6 { none; };
|
||||||
|
allow-transfer { any; };
|
||||||
recursion no;
|
recursion no;
|
||||||
dnssec-validation no;
|
dnssec-validation no;
|
||||||
notify no;
|
notify no;
|
||||||
|
@ -28,6 +28,7 @@ options {
|
|||||||
pid-file "named.pid";
|
pid-file "named.pid";
|
||||||
listen-on { 10.53.0.1; };
|
listen-on { 10.53.0.1; };
|
||||||
listen-on-v6 { none; };
|
listen-on-v6 { none; };
|
||||||
|
allow-transfer { any; };
|
||||||
recursion yes;
|
recursion yes;
|
||||||
dnssec-validation no;
|
dnssec-validation no;
|
||||||
max-stale-ttl 3600;
|
max-stale-ttl 3600;
|
||||||
|
@ -28,6 +28,7 @@ options {
|
|||||||
pid-file "named.pid";
|
pid-file "named.pid";
|
||||||
listen-on { 10.53.0.1; };
|
listen-on { 10.53.0.1; };
|
||||||
listen-on-v6 { none; };
|
listen-on-v6 { none; };
|
||||||
|
allow-transfer { any; };
|
||||||
recursion yes;
|
recursion yes;
|
||||||
dnssec-validation no;
|
dnssec-validation no;
|
||||||
max-stale-ttl 3600;
|
max-stale-ttl 3600;
|
||||||
|
@ -28,6 +28,7 @@ options {
|
|||||||
pid-file "named.pid";
|
pid-file "named.pid";
|
||||||
listen-on { 10.53.0.1; };
|
listen-on { 10.53.0.1; };
|
||||||
listen-on-v6 { none; };
|
listen-on-v6 { none; };
|
||||||
|
allow-transfer { any; };
|
||||||
recursion yes;
|
recursion yes;
|
||||||
dnssec-validation no;
|
dnssec-validation no;
|
||||||
max-stale-ttl 20;
|
max-stale-ttl 20;
|
||||||
|
@ -28,6 +28,7 @@ options {
|
|||||||
pid-file "named.pid";
|
pid-file "named.pid";
|
||||||
listen-on { 10.53.0.1; };
|
listen-on { 10.53.0.1; };
|
||||||
listen-on-v6 { none; };
|
listen-on-v6 { none; };
|
||||||
|
allow-transfer { any; };
|
||||||
recursion yes;
|
recursion yes;
|
||||||
dnssec-validation no;
|
dnssec-validation no;
|
||||||
max-stale-ttl 20;
|
max-stale-ttl 20;
|
||||||
|
@ -25,6 +25,7 @@ options {
|
|||||||
pid-file "named.pid";
|
pid-file "named.pid";
|
||||||
listen-on { 10.53.0.1; };
|
listen-on { 10.53.0.1; };
|
||||||
listen-on-v6 { none; };
|
listen-on-v6 { none; };
|
||||||
|
allow-transfer { any; };
|
||||||
dnssec-validation no;
|
dnssec-validation no;
|
||||||
recursion no;
|
recursion no;
|
||||||
notify no;
|
notify no;
|
||||||
|
@ -25,6 +25,8 @@ options {
|
|||||||
};
|
};
|
||||||
|
|
||||||
view "in" {
|
view "in" {
|
||||||
|
allow-transfer { any; };
|
||||||
|
|
||||||
zone "example." {
|
zone "example." {
|
||||||
type primary;
|
type primary;
|
||||||
file "example-in.db";
|
file "example-in.db";
|
||||||
|
@ -26,6 +26,7 @@ options {
|
|||||||
listen-on { 10.53.0.1; };
|
listen-on { 10.53.0.1; };
|
||||||
listen-on tls ephemeral { 10.53.0.1; };
|
listen-on tls ephemeral { 10.53.0.1; };
|
||||||
listen-on-v6 { none; };
|
listen-on-v6 { none; };
|
||||||
|
allow-transfer { any; };
|
||||||
recursion yes;
|
recursion yes;
|
||||||
dnssec-validation no;
|
dnssec-validation no;
|
||||||
notify yes;
|
notify yes;
|
||||||
|
@ -19,6 +19,7 @@ options {
|
|||||||
pid-file "named.pid";
|
pid-file "named.pid";
|
||||||
listen-on { 10.53.0.2; };
|
listen-on { 10.53.0.2; };
|
||||||
listen-on-v6 { none; };
|
listen-on-v6 { none; };
|
||||||
|
allow-transfer { any; };
|
||||||
recursion yes;
|
recursion yes;
|
||||||
dnssec-validation no;
|
dnssec-validation no;
|
||||||
notify yes;
|
notify yes;
|
||||||
|
@ -21,6 +21,7 @@ options {
|
|||||||
listen-on { 10.53.0.3; };
|
listen-on { 10.53.0.3; };
|
||||||
listen-on tls ephemeral { 10.53.0.3; };
|
listen-on tls ephemeral { 10.53.0.3; };
|
||||||
listen-on-v6 { none; };
|
listen-on-v6 { none; };
|
||||||
|
allow-transfer { any; };
|
||||||
recursion no;
|
recursion no;
|
||||||
dnssec-validation no;
|
dnssec-validation no;
|
||||||
notify yes;
|
notify yes;
|
||||||
|
@ -21,6 +21,7 @@ options {
|
|||||||
listen-on { 10.53.0.3; };
|
listen-on { 10.53.0.3; };
|
||||||
listen-on tls ephemeral { 10.53.0.3; };
|
listen-on tls ephemeral { 10.53.0.3; };
|
||||||
listen-on-v6 { none; };
|
listen-on-v6 { none; };
|
||||||
|
allow-transfer { any; };
|
||||||
recursion no;
|
recursion no;
|
||||||
dnssec-validation no;
|
dnssec-validation no;
|
||||||
notify yes;
|
notify yes;
|
||||||
|
@ -19,6 +19,7 @@ options {
|
|||||||
pid-file "named.pid";
|
pid-file "named.pid";
|
||||||
listen-on { 10.53.0.2; };
|
listen-on { 10.53.0.2; };
|
||||||
listen-on-v6 { none; };
|
listen-on-v6 { none; };
|
||||||
|
allow-transfer { any; };
|
||||||
recursion yes;
|
recursion yes;
|
||||||
dnssec-validation no;
|
dnssec-validation no;
|
||||||
notify yes;
|
notify yes;
|
||||||
|
@ -19,6 +19,7 @@ options {
|
|||||||
pid-file "named.pid";
|
pid-file "named.pid";
|
||||||
listen-on { 10.53.0.2; 10.53.0.4; };
|
listen-on { 10.53.0.2; 10.53.0.4; };
|
||||||
listen-on-v6 { none; };
|
listen-on-v6 { none; };
|
||||||
|
allow-transfer { any; };
|
||||||
recursion yes;
|
recursion yes;
|
||||||
dnssec-validation no;
|
dnssec-validation no;
|
||||||
notify yes;
|
notify yes;
|
||||||
|
@ -19,6 +19,7 @@ options {
|
|||||||
pid-file "named.pid";
|
pid-file "named.pid";
|
||||||
listen-on { 10.53.0.2; };
|
listen-on { 10.53.0.2; };
|
||||||
listen-on-v6 { none; };
|
listen-on-v6 { none; };
|
||||||
|
allow-transfer { any; };
|
||||||
recursion no;
|
recursion no;
|
||||||
dnssec-validation no;
|
dnssec-validation no;
|
||||||
notify no;
|
notify no;
|
||||||
|
@ -25,6 +25,7 @@ options {
|
|||||||
pid-file "named.pid";
|
pid-file "named.pid";
|
||||||
listen-on { 10.53.0.1; };
|
listen-on { 10.53.0.1; };
|
||||||
listen-on-v6 { none; };
|
listen-on-v6 { none; };
|
||||||
|
allow-transfer { any; };
|
||||||
recursion no;
|
recursion no;
|
||||||
dnssec-validation no;
|
dnssec-validation no;
|
||||||
notify yes;
|
notify yes;
|
||||||
|
@ -25,6 +25,7 @@ options {
|
|||||||
pid-file "named.pid";
|
pid-file "named.pid";
|
||||||
listen-on { 10.53.0.1; };
|
listen-on { 10.53.0.1; };
|
||||||
listen-on-v6 { none; };
|
listen-on-v6 { none; };
|
||||||
|
allow-transfer { any; };
|
||||||
recursion no;
|
recursion no;
|
||||||
dnssec-validation no;
|
dnssec-validation no;
|
||||||
notify yes;
|
notify yes;
|
||||||
|
@ -25,6 +25,7 @@ options {
|
|||||||
pid-file "named.pid";
|
pid-file "named.pid";
|
||||||
listen-on { 10.53.0.1; };
|
listen-on { 10.53.0.1; };
|
||||||
listen-on-v6 { none; };
|
listen-on-v6 { none; };
|
||||||
|
allow-transfer { any; };
|
||||||
recursion no;
|
recursion no;
|
||||||
dnssec-validation no;
|
dnssec-validation no;
|
||||||
notify yes;
|
notify yes;
|
||||||
|
@ -19,6 +19,7 @@ options {
|
|||||||
pid-file "named.pid";
|
pid-file "named.pid";
|
||||||
listen-on { 10.53.0.2; };
|
listen-on { 10.53.0.2; };
|
||||||
listen-on-v6 { none; };
|
listen-on-v6 { none; };
|
||||||
|
allow-transfer { any; };
|
||||||
recursion no;
|
recursion no;
|
||||||
dnssec-validation no;
|
dnssec-validation no;
|
||||||
notify yes;
|
notify yes;
|
||||||
|
@ -19,6 +19,7 @@ options {
|
|||||||
pid-file "named.pid";
|
pid-file "named.pid";
|
||||||
listen-on { 10.53.0.3; };
|
listen-on { 10.53.0.3; };
|
||||||
listen-on-v6 { none; };
|
listen-on-v6 { none; };
|
||||||
|
allow-transfer { any; };
|
||||||
recursion yes;
|
recursion yes;
|
||||||
dnssec-validation no;
|
dnssec-validation no;
|
||||||
notify yes;
|
notify yes;
|
||||||
|
@ -19,6 +19,7 @@ options {
|
|||||||
pid-file "named.pid";
|
pid-file "named.pid";
|
||||||
listen-on { 10.53.0.4; };
|
listen-on { 10.53.0.4; };
|
||||||
listen-on-v6 { none; };
|
listen-on-v6 { none; };
|
||||||
|
allow-transfer { any; };
|
||||||
recursion no;
|
recursion no;
|
||||||
dnssec-validation no;
|
dnssec-validation no;
|
||||||
notify yes;
|
notify yes;
|
||||||
|
@ -25,6 +25,7 @@ options {
|
|||||||
pid-file "named.pid";
|
pid-file "named.pid";
|
||||||
listen-on { 10.53.0.6; };
|
listen-on { 10.53.0.6; };
|
||||||
listen-on-v6 { none; };
|
listen-on-v6 { none; };
|
||||||
|
allow-transfer { any; };
|
||||||
recursion no;
|
recursion no;
|
||||||
dnssec-validation no;
|
dnssec-validation no;
|
||||||
notify yes;
|
notify yes;
|
||||||
|
@ -25,6 +25,7 @@ options {
|
|||||||
pid-file "named.pid";
|
pid-file "named.pid";
|
||||||
listen-on { 10.53.0.7; };
|
listen-on { 10.53.0.7; };
|
||||||
listen-on-v6 { none; };
|
listen-on-v6 { none; };
|
||||||
|
allow-transfer { any; };
|
||||||
recursion no;
|
recursion no;
|
||||||
dnssec-validation no;
|
dnssec-validation no;
|
||||||
notify yes;
|
notify yes;
|
||||||
|
@ -25,6 +25,7 @@ options {
|
|||||||
pid-file "named.pid";
|
pid-file "named.pid";
|
||||||
listen-on { 10.53.0.8; };
|
listen-on { 10.53.0.8; };
|
||||||
listen-on-v6 { none; };
|
listen-on-v6 { none; };
|
||||||
|
allow-transfer { any; };
|
||||||
recursion no;
|
recursion no;
|
||||||
dnssec-validation no;
|
dnssec-validation no;
|
||||||
notify no;
|
notify no;
|
||||||
|
@ -255,7 +255,7 @@ status=$((status + tmp))
|
|||||||
|
|
||||||
n=$((n + 1))
|
n=$((n + 1))
|
||||||
echo_i "check that a multi-message uncompressable zone transfers ($n)"
|
echo_i "check that a multi-message uncompressable zone transfers ($n)"
|
||||||
$DIG axfr . -p ${PORT} @10.53.0.4 | grep SOA >axfr.out
|
$DIG axfr . -p ${PORT} @10.53.0.4 | grep SOA >axfr.out || tmp=1
|
||||||
if test $(wc -l <axfr.out) != 2; then
|
if test $(wc -l <axfr.out) != 2; then
|
||||||
echo_i "failed"
|
echo_i "failed"
|
||||||
status=$((status + 1))
|
status=$((status + 1))
|
||||||
|
@ -19,6 +19,7 @@ options {
|
|||||||
pid-file "named.pid";
|
pid-file "named.pid";
|
||||||
listen-on { 10.53.0.1; };
|
listen-on { 10.53.0.1; };
|
||||||
listen-on-v6 { none; };
|
listen-on-v6 { none; };
|
||||||
|
allow-transfer { any; };
|
||||||
recursion no;
|
recursion no;
|
||||||
dnssec-validation no;
|
dnssec-validation no;
|
||||||
notify yes;
|
notify yes;
|
||||||
|
@ -19,6 +19,7 @@ options {
|
|||||||
pid-file "named.pid";
|
pid-file "named.pid";
|
||||||
listen-on { 10.53.0.2; };
|
listen-on { 10.53.0.2; };
|
||||||
listen-on-v6 { none; };
|
listen-on-v6 { none; };
|
||||||
|
allow-transfer { any; };
|
||||||
recursion no;
|
recursion no;
|
||||||
dnssec-validation no;
|
dnssec-validation no;
|
||||||
notify no;
|
notify no;
|
||||||
|
@ -21,6 +21,7 @@ options {
|
|||||||
listen-on-v6 { none; };
|
listen-on-v6 { none; };
|
||||||
recursion no;
|
recursion no;
|
||||||
dnssec-validation no;
|
dnssec-validation no;
|
||||||
|
allow-transfer { any; };
|
||||||
};
|
};
|
||||||
|
|
||||||
zone "example" {
|
zone "example" {
|
||||||
|
@ -3054,8 +3054,7 @@ for details on how to specify IP address lists.
|
|||||||
This specifies which hosts are allowed to receive zone transfers from the
|
This specifies which hosts are allowed to receive zone transfers from the
|
||||||
server. :any:`allow-transfer` may also be specified in the :any:`zone`
|
server. :any:`allow-transfer` may also be specified in the :any:`zone`
|
||||||
statement, in which case it overrides the :any:`allow-transfer`
|
statement, in which case it overrides the :any:`allow-transfer`
|
||||||
statement set in :namedconf:ref:`options` or :any:`view`. If not specified, the
|
statement set in :namedconf:ref:`options` or :any:`view`.
|
||||||
default is to allow transfers to all hosts.
|
|
||||||
|
|
||||||
The transport level limitations can also be specified. In particular,
|
The transport level limitations can also be specified. In particular,
|
||||||
zone transfers can be restricted to a specific port and/or DNS
|
zone transfers can be restricted to a specific port and/or DNS
|
||||||
@ -3068,6 +3067,9 @@ for details on how to specify IP address lists.
|
|||||||
allows outgoing zone transfers to any host using the TLS transport
|
allows outgoing zone transfers to any host using the TLS transport
|
||||||
over port 853.
|
over port 853.
|
||||||
|
|
||||||
|
If :any:`allow-transfer` is not specified, then the default is
|
||||||
|
``none``; outgoing zone transfers are disabled.
|
||||||
|
|
||||||
.. warning::
|
.. warning::
|
||||||
|
|
||||||
Please note that incoming TLS connections are
|
Please note that incoming TLS connections are
|
||||||
|
Loading…
x
Reference in New Issue
Block a user