]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Use custom bindkeys-file in tests
authorMark Andrews <marka@isc.org>
Wed, 22 Nov 2023 01:48:27 +0000 (12:48 +1100)
committerMark Andrews <marka@isc.org>
Mon, 18 Dec 2023 23:46:03 +0000 (23:46 +0000)
Ensure the test doesn't use the system's bind.keys file by using the
bindkeys-file statement.

bin/tests/system/journal/ns1/named.conf.in
bin/tests/system/journal/ns2/named.conf.in

index 9f72a6f08476f11ccc23cc4c4995240de88febfa..7d43e04b8316f85635cf3315c880c2cfaebb4499 100644 (file)
@@ -21,6 +21,7 @@ options {
        listen-on { 10.53.0.1; };
        listen-on-v6 { none; };
        dnssec-validation auto;
+       bindkeys-file "../../../../../bind.keys";
        minimal-responses no;
        recursion no;
        notify yes;
index e7f185e7221b644bb78d59d751353eda0576b0f9..5cebf61f01d56cc9334f89acdccde2490eaa5bad 100644 (file)
@@ -21,6 +21,7 @@ options {
        listen-on { 10.53.0.2; };
        listen-on-v6 { none; };
        dnssec-validation auto;
+       bindkeys-file "../../../../../bind.keys";
        minimal-responses no;
        recursion no;
        notify yes;