]> 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@sury.org>
Mon, 20 Apr 2026 09:21:14 +0000 (11:21 +0200)
commitab16e86a5035347df8a23feb78e135020a1403e5
treecf330800f3dbe914b98fdb3faf0a914d1a2df83b
parenta625a797e3a69f98877832e42e11f519ce813d37
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 83% similarity]