Add a test for update-policy 'subdomain'
The new test checks that 'update-policy subdomain' is properly enforced.
This commit is contained in:
committed by
Michał Kępień
parent
7630a64141
commit
5bf457e89a
@@ -37,6 +37,11 @@ key altkey {
|
||||
secret "1234abcd8765";
|
||||
};
|
||||
|
||||
key restricted.example.nil {
|
||||
algorithm hmac-md5;
|
||||
secret "1234abcd8765";
|
||||
};
|
||||
|
||||
include "ddns.key";
|
||||
|
||||
zone "example.nil" {
|
||||
@@ -46,6 +51,7 @@ zone "example.nil" {
|
||||
check-mx ignore;
|
||||
update-policy {
|
||||
grant ddns-key.example.nil subdomain example.nil ANY;
|
||||
grant restricted.example.nil subdomain restricted.example.nil ANY;
|
||||
};
|
||||
allow-transfer { any; };
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user