]> git.ipfire.org Git - thirdparty/bind9.git/commit
incrementally clean up old RPZ records during updates
authorEvan Hunt <each@isc.org>
Tue, 31 Mar 2020 22:04:20 +0000 (15:04 -0700)
committerEvan Hunt <each@isc.org>
Wed, 1 Apr 2020 08:32:55 +0000 (01:32 -0700)
commita288dee81e39b7cf6e79a136d7a7c329d9c224a1
tree3025e76bae9cf515e1dc8a500a82dfb73e588499
parent4e32fd130fa894081a3b6c4c68844df6e60b765f
incrementally clean up old RPZ records during updates

After an RPZ zone is updated via zone transfer, the RPZ summary
database is updated, inserting the newly added names in the policy
zone and deleting the newly removed ones. The first part of this
was quantized so it would not run too long and starve other tasks
during large updates, but the second part was not quantized, so
that an update in which a large number of records were deleted
could cause named to become briefly unresponsive.

(cherry picked from commit 32da119ed84ad93aa5d754ccc88a3257e2cba10a)
lib/dns/rpz.c