]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Add a named acl example
authorMark Andrews <marka@isc.org>
Mon, 25 Jan 2021 05:21:35 +0000 (16:21 +1100)
committerMark Andrews <marka@isc.org>
Thu, 28 Jan 2021 01:54:59 +0000 (01:54 +0000)
bin/tests/system/nsupdate/ns1/named.conf.in

index f79a6f223a1180fbca27cbed8eb2fcfcc931e7bc..b51e7001858677011ca49ff54d82fc8312015a19 100644 (file)
@@ -23,6 +23,10 @@ options {
        minimal-responses no;
 };
 
+acl named-acl {
+       any;
+};
+
 key rndc_key {
        secret "1234abcd8765";
        algorithm hmac-sha256;
@@ -67,7 +71,7 @@ zone "max-ttl.nil" {
        file "max-ttl.db";
        max-zone-ttl 300;
        check-integrity no;
-       allow-update { any; };
+       allow-update { named-acl; };
        allow-transfer { any; };
 };