]> git.ipfire.org Git - thirdparty/bind9.git/commit
Move ADB TTL-based cleanup into dump_adb()
authorOndřej Surý <ondrej@isc.org>
Sat, 14 Mar 2026 08:45:05 +0000 (09:45 +0100)
committerOndřej Surý <ondrej@isc.org>
Mon, 30 Mar 2026 19:46:44 +0000 (21:46 +0200)
commit03ff80a1f79deedfb597a070c3bfbff6d2c67b7d
tree1472b5bdd10d11a8df20295ea7c1a010c137c4b1
parentdc9564f14daf2b0bc16a67fe3ac6d39056a89781
Move ADB TTL-based cleanup into dump_adb()

Instead of doing a full sweep of all names and entries before dumping,
expire stale entries lazily as they are encountered during the dump
iteration.  This aligns with the QPcache approach of avoiding separate
TTL-based cleaning passes.

dns_adb_flush() retains its explicit full sweep since it needs to
force-expire everything.
lib/dns/adb.c