]> git.ipfire.org Git - thirdparty/bind9.git/commit
Add extra expired RRSIGs test to dnssec_py 11808/head
authorNicki Křížek <nicki@isc.org>
Fri, 3 Apr 2026 13:57:01 +0000 (15:57 +0200)
committerOndřej Surý <ondrej@isc.org>
Wed, 24 Jun 2026 13:09:38 +0000 (15:09 +0200)
commitfe2fea73a496948fe32f33690eff43e5ceceb10f
treeb35954b74a3a034d86147586eb3238e6f55a519d
parentc2723d91624aff1411c33f8f825b5a4c05aa4eda
Add extra expired RRSIGs test to dnssec_py

The test verifies that a validating resolver enforces the
max-validations-per-fetch limit when encountering a record with multiple
expired RRSIGs followed by a valid one. One of the records is signed
three times: twice with expired timestamps (to produce two expired
RRSIGs for a.rrsigs-extra-expired/A) and once with valid timestamps,
after which the expired RRSIGs are injected back into the signed zone
file. max-validations-per-fetch is set to 2 via the template variable so
that the third (valid) RRSIG is never reached, causing SERVFAIL.

Assisted-by: Claude:claude-opus-4-8
bin/tests/system/dnssec_py/tests_rrsigs_extra_expired.py [new file with mode: 0644]