From: Colin Vidal Date: Wed, 3 Dec 2025 15:26:22 +0000 (+0100) Subject: chg: dev: Add RRSIG if required as soon as they are found X-Git-Tag: v9.21.16~4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2955bb90c885d758addff2882e6d48bdaa500bd4;p=thirdparty%2Fbind9.git chg: dev: Add RRSIG if required as soon as they are found When EDNS DO flag (`dig +dnssec`) flag is set, an rdataset is allocated to hold the RRSIG of an RR, if present in DB. However, this allocation is not done if the zone DB is not considered as secure (`dns_db_issecure() == false`). Changes this behaviour by allocating the rdataset anyway, so the RRSIG can be associated in the answer section of the response as soon it is found from the DB. The fact we attach the rrsig potentially more often (though it probably occurs in edge cases) doesn't seems to affect performance in any ways: Merge branch 'colin/rrsig-nonsecure-db' into 'main' See merge request isc-projects/bind9!11317 --- 2955bb90c885d758addff2882e6d48bdaa500bd4