bind9/lib/isccfg
Ondřej Surý b48e9ab201 Add stale-cache-enable option and disable serve-stable by default
The current serve-stale implementation in BIND 9 stores all received
records in the cache for a max-stale-ttl interval (default 12 hours).

This allows DNS operators to turn the serve-stale answers in an event of
large authoritative DNS outage.  The caching of the stale answers needs
to be enabled before the outage happens or the feature would be
otherwise useless.

The negative consequence of the default setting is the inevitable
cache-bloat that happens for every and each DNS operator running named.

In this MR, a new configuration option `stale-cache-enable` is
introduced that allows the operators to selectively enable or disable
the serve-stale feature of BIND 9 based on their decision.

The newly introduced option has been disabled by default,
e.g. serve-stale is disabled in the default configuration and has to be
enabled if required.

(cherry picked from commit ce53db34d6)
2020-08-05 09:09:16 +02:00
..
include Fix the discrepancy between cfg_pluginlist_foreach declaration and definition 2020-04-16 07:56:38 +02:00
tests Resolve the overlinking of the system libraries 2020-05-11 09:49:54 +02:00
win32 Disable MSB8028 warning 2020-04-16 07:56:38 +02:00
aclconf.c adjust the clang-format penalties to reduce string breaking 2020-02-17 14:43:46 -08:00
api prep 9.16.4 2020-06-18 10:25:50 +02:00
dnsconf.c Merge branch '46-just-use-clang-format-to-reformat-sources' into 'master' 2020-02-12 14:51:18 +00:00
kaspconf.c Merge branch 'each-style-tweak' into 'master' 2020-02-14 05:35:29 +00:00
Kyuafile regen master 2017-12-29 01:44:18 +00:00
log.c Merge branch 'each-style-tweak' into 'master' 2020-02-14 05:35:29 +00:00
Makefile.in Resolve the overlinking of the system libraries 2020-05-11 09:49:54 +02:00
namedconf.c Add stale-cache-enable option and disable serve-stable by default 2020-08-05 09:09:16 +02:00
parser.c Fix "array subscript is of type 'char'" 2020-06-04 16:27:43 +02:00
version.c Merge branch '46-just-use-clang-format-to-reformat-sources' into 'master' 2020-02-12 14:51:18 +00:00