From: Ondřej Surý Date: Wed, 3 Apr 2024 10:07:41 +0000 (+0200) Subject: Change the ADB_ENTRY_WINDOW to 60 seconds X-Git-Tag: v9.19.24~18^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=141e4c9805aa678dfe03939bf346c951ea89cd30;p=thirdparty%2Fbind9.git Change the ADB_ENTRY_WINDOW to 60 seconds The previous value of 30 minutes used to cache the ADB names and entries was quite long. Change the value to 60 seconds for faster recovery after cached intermittent failure of the remote nameservers. --- diff --git a/lib/dns/adb.c b/lib/dns/adb.c index 2d115d9ba42..4327aefb1b0 100644 --- a/lib/dns/adb.c +++ b/lib/dns/adb.c @@ -65,7 +65,7 @@ */ #define ADB_CACHE_MINIMUM 10 /*%< seconds */ #define ADB_CACHE_MAXIMUM 86400 /*%< seconds (86400 = 24 hours) */ -#define ADB_ENTRY_WINDOW 1800 /*%< seconds */ +#define ADB_ENTRY_WINDOW 60 /*%< seconds */ #ifndef ADB_HASH_BITS #define ADB_HASH_BITS 12