]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Check that badalg.secure.example resolves
authorMark Andrews <marka@isc.org>
Thu, 7 Aug 2025 06:27:32 +0000 (16:27 +1000)
committerMark Andrews <marka@isc.org>
Mon, 29 Sep 2025 01:16:24 +0000 (11:16 +1000)
Previously, badalg.secure.example would return SERVFAIL because the DS
records (from the parent) could not be validated.

(cherry picked from commit 21934102d3be19729af78cba08f974984de3488e)

bin/tests/system/dnssec/tests.sh

index 3702cf7eb400511658e44df245a036035688f772..a192f5e0049064ed42356f385d7de3d80caa983f 100644 (file)
@@ -3771,6 +3771,7 @@ echo_i "checking EDE code 1 for bad alg mnemonic ($n)"
 ret=0
 dig_with_opts @10.53.0.4 badalg.secure.example >dig.out.ns4.test$n || ret=1
 grep "; EDE: 1 (Unsupported DNSKEY Algorithm): (ECDSAP256SHA256 badalg.secure.example/A)" dig.out.ns4.test$n >/dev/null || ret=1
+grep "status: NOERROR" dig.out.ns4.test$n >/dev/null || ret=1
 grep "flags:.*ad.*QUERY" dig.out.ns4.test$n >/dev/null && ret=1
 n=$((n + 1))
 test "$ret" -eq 0 || echo_i "failed"