]> git.ipfire.org Git - thirdparty/bind9.git/commit
Convert some chain shell-based system tests in python
authorColin Vidal <colin@isc.org>
Wed, 1 Jul 2026 08:59:01 +0000 (10:59 +0200)
committerMichał Kępień <michal@isc.org>
Fri, 10 Jul 2026 07:26:46 +0000 (09:26 +0200)
commit5033b9e51c8c8fa24b0378c4f8a3e16eade384bc
tree144c4dddd761c65b95ad562bb3b2deee352d752a
parent84d3734485cc7ee2d522f796a164a8d660a12c51
Convert some chain shell-based system tests in python

Rewriting a couple of shell-based chain system test into python. Those
tests exercise the dname resolution of either an authoritative or
resolver without extra queries (it is self resolver either because the
target is in an authoritative zone or in the same authoritative answer).

Also add an extra test checking the same mechanism, this time, from the
resolver cache (no resolver involed).

Those highlight the fact that `query_dname()` can be called in situation
where the query type is DNAME, and even though, it needs to be resolved.
bin/tests/system/chain/tests.sh
bin/tests/system/chain/tests_chain.py [new file with mode: 0644]