From 4e16bbce15c5375da87bb59e85d26db5c17c4d1e Mon Sep 17 00:00:00 2001 From: Mark Andrews Date: Wed, 22 Nov 2023 12:48:27 +1100 Subject: [PATCH] Use custom bindkeys-file in tests 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 | 1 + bin/tests/system/journal/ns2/named.conf.in | 1 + 2 files changed, 2 insertions(+) diff --git a/bin/tests/system/journal/ns1/named.conf.in b/bin/tests/system/journal/ns1/named.conf.in index 9f72a6f084..7d43e04b83 100644 --- a/bin/tests/system/journal/ns1/named.conf.in +++ b/bin/tests/system/journal/ns1/named.conf.in @@ -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; diff --git a/bin/tests/system/journal/ns2/named.conf.in b/bin/tests/system/journal/ns2/named.conf.in index e7f185e722..5cebf61f01 100644 --- a/bin/tests/system/journal/ns2/named.conf.in +++ b/bin/tests/system/journal/ns2/named.conf.in @@ -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;