]> git.ipfire.org Git - thirdparty/bind9.git/commit
dns_nsec3_addnsec3() can fail when iterating back
authorEvan Hunt <each@isc.org>
Sat, 21 Dec 2024 02:31:30 +0000 (18:31 -0800)
committerEvan Hunt <each@isc.org>
Fri, 10 Jan 2025 01:04:08 +0000 (17:04 -0800)
commit71e1c91695bacb39c649bf79b73d808e31fc5d9e
treeb202ac222795fee213d027ce3b2fedb6bf3437da
parent3e367a23f95569a8e08561ff7424666073b5edb2
dns_nsec3_addnsec3() can fail when iterating back

when adding a new NSEC3 record, dns_nsec3_addnsec3() uses a
dbiterator to seek to the newly created node and then find its
predecessor.  dbiterators in the qpzone use snapshots, so changes
to the database are not reflected in an already-existing iterator.
consequently, when we add a new node, we have to create a new iterator
before we can seek to it.
lib/dns/nsec3.c