]> git.ipfire.org Git - thirdparty/bind9.git/commit
Add test for SIG in prequisites of dynamic update
authorMatthijs Mekking <matthijs@isc.org>
Thu, 16 Apr 2026 14:17:34 +0000 (16:17 +0200)
committerOndřej Surý <ondrej@isc.org>
Fri, 17 Apr 2026 17:24:13 +0000 (19:24 +0200)
commit9c0e5da3aa1c2f0aaae115f10ebadb096ad55da5
tree52b28ca5d3bcf26f6e75d9f8f5175395cd76512e
parent8f75c7c3dd7897e8e43158ba7d038ec179c377a6
Add test for SIG in prequisites of dynamic update

Make sure the nameserver correctly handles SIG records in the
prerequisites of the dynamic update. The first check is to ensure that
the prerequisites are not examined prior to checking the credentials.

The second test case checks that the SIG present prerequisite is
examined and therefore refuses the update. Also this should not trigger
an assertion failure in dns__db_findrdataset() (due to the REQUIRE()
only accepted dns_rdatatype_rrsig when the covers parameter was set).

(cherry picked from commit 51f27fda46870acea69835f82835ca857c000bd0)
bin/tests/system/nsupdate/tests_sh_nsupdate.py
bin/tests/system/nsupdate/tests_update_sig.py [moved from bin/tests/system/nsupdate/tests_tcp_self_sig.py with 84% similarity]