Add a test for update-policy 'subdomain'

The new test checks that 'update-policy subdomain' is properly enforced.
This commit is contained in:
Mark Andrews
2020-07-29 23:36:03 +10:00
committed by Michał Kępień
parent 7630a64141
commit 5bf457e89a
2 changed files with 31 additions and 0 deletions

View File

@@ -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; };
};