]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Don't delete the NSEC3PARAM immediately
authorMark Andrews <marka@isc.org>
Fri, 15 Dec 2023 05:07:46 +0000 (16:07 +1100)
committerMark Andrews <marka@isc.org>
Thu, 21 Dec 2023 09:12:09 +0000 (20:12 +1100)
Wait until the new NSEC or NSEC3 chain is generated then it should
be deleted.

lib/dns/nsec3.c

index 7a9d6becdd5154051f09007010fce21d6c7feabe..acecc41233a4d4ee6d7cd7df03af5ca07d080e30 100644 (file)
@@ -1133,12 +1133,6 @@ dns_nsec3param_deletechains(dns_db_t *db, dns_dbversion_t *ver,
                dns_rdata_t private = DNS_RDATA_INIT;
 
                dns_rdataset_current(&rdataset, &rdata);
-
-               CHECK(dns_difftuple_create(diff->mctx, DNS_DIFFOP_DEL, origin,
-                                          rdataset.ttl, &rdata, &tuple));
-               CHECK(do_one_tuple(&tuple, db, ver, diff));
-               INSIST(tuple == NULL);
-
                dns_nsec3param_toprivate(&rdata, &private, privatetype, buf,
                                         sizeof(buf));
                buf[2] = DNS_NSEC3FLAG_REMOVE;