Add test cases for new allow-update-forwarding statement

This commit is contained in:
James Brister 2000-02-14 17:22:11 +00:00
parent e0df4c98c8
commit 31e471c6f1

View file

@ -106,7 +106,7 @@ options {
*/
transfer-format one-answer;
query-source-v6 address 8:7:6:5:4:3:2:1 port *;
query-source port * address 8:7:6:5:4:3:2:1 ;
query-source port * address 10.0.0.54 ;
/*
* The "forward" option is only meaningful if you've defined
* forwarders. "first" gives the normal BIND
@ -192,6 +192,7 @@ zone "master.demo.zone" {
file "master.demo.zone";
check-names fail;
allow-update { none; };
allow-update-forwarding { 10.0.0.5; !any; };
allow-transfer { any; };
allow-query { any; };
// notify yes; // send NOTIFY messages for this
@ -217,6 +218,7 @@ zone "slave.demo.zone" {
check-names warn;
allow-update { none; };
allow-transfer { any; };
allow-update-forwarding { any; };
allow-query { any; };
max-transfer-time-in 120; // if not set, global option is used.
max-transfer-time-out 1; // if not set, global option is used.
@ -230,8 +232,10 @@ zone "slave.demo.zone" {
};
view "test-view" {
allow-update-forwarding { 10.0.0.30;};
zone "view-zone.com" {
type master;
allow-update-forwarding { 10.0.0.34;};
file "view-zone-master";
};
};