]> git.ipfire.org Git - thirdparty/bind9.git/commit
Unify the expiration time handling for all ADB expiration
authorOndřej Surý <ondrej@isc.org>
Wed, 3 Apr 2024 09:51:58 +0000 (11:51 +0200)
committerOndřej Surý <ondrej@isc.org>
Mon, 22 Apr 2024 08:36:36 +0000 (10:36 +0200)
commit6708da31124ab94d21702cd38dfe9dbe6990c1a0
tree786259efba4068633a179bb216a5ffcc32e82f7c
parent53cc00ee3f8d0497049e92a3ae96cc3430fb21fc
Unify the expiration time handling for all ADB expiration

The algorithm from the previous commit[1] is now used to calculate all
the expiration values through the code (ncache results, cname/dname
targets).

1. ISC_MIN(cur, ISC_MAX(now + ADB_ENTRY_WINDOW, now + rdataset->ttl))
lib/dns/adb.c