Commit b809aa1861 for bind

commit b809aa1861b528facf41bf96d91f8e08cca59bd2
Author: Petr Špaček <pspacek@isc.org>
Date:   Fri Sep 11 11:14:03 2026 +0000

    Test minimal-responses for DLZ answer

    Related: #6407
    Assisted-by: Claude:claude-opus-5

diff --git a/bin/tests/system/allow_query_on/ns1/named.conf.j2 b/bin/tests/system/allow_query_on/ns1/named.conf.j2
index a5d757f359..2c7a6e5939 100644
--- a/bin/tests/system/allow_query_on/ns1/named.conf.j2
+++ b/bin/tests/system/allow_query_on/ns1/named.conf.j2
@@ -57,6 +57,7 @@ view "vdlz3" {
 	};
 	allow-query { any; };
 	allow-query-on { 10.53.0.1; };
+	minimal-responses yes;
 	zone "." {
 		type primary;
 		file "root.db";
diff --git a/bin/tests/system/allow_query_on/tests_allow_query_on.py b/bin/tests/system/allow_query_on/tests_allow_query_on.py
index 564965cff4..3f0c699757 100644
--- a/bin/tests/system/allow_query_on/tests_allow_query_on.py
+++ b/bin/tests/system/allow_query_on/tests_allow_query_on.py
@@ -32,3 +32,4 @@ def test_allow_query_on(ns1, qname, qtype, srcip, rcode):
     if qname == "example.nil" and rcode == NOERROR:
         assert res.answer
         isctest.check.aaflag(res)
+        assert not res.authority