bind9/lib/isccfg
Evan Hunt 5ed3bebbf4 fix a "max-cache-size" configuration bug
"max-cache-size default;" is allowed, according to the documentation
and the parser, but when it's configured, named crashes due to an
INSIST that the only legal string value is "unlimited". this has
been fied.

the configuration has also been simplified. previously, we checked for
max-cache-size in view and options, then determined whether to look in
the global default options based on whether the view had recursion set.
the default value set there was only applicable to views with recursion.
now, the default is an explicit "default", which affects views with
and without recursion in different ways.

the cfg type for "max-cache-size" has been changed from
cfg_type_sizeorpercent to cfg_type_maxcachesize.

(cherry picked from commit cd921cc7ef)
2025-10-29 11:30:25 -07:00
..
include Change checkconf to include built-in dnssec-policy 2025-09-29 15:13:26 +02:00
aclconf.c Apply more SET_IF_NOT_NULL() changes 2024-12-13 13:50:05 +00:00
check.c Fix dnssec-keygen key collision checking for KEY rrtype keys 2025-10-22 12:55:41 +11:00
dnsconf.c Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
duration.c Remove redundant parentheses from the return statement 2024-11-19 14:26:52 +01:00
kaspconf.c Change checkconf to include built-in dnssec-policy 2025-09-29 15:13:26 +02:00
log.c Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
Makefile.am Move bind9/check to isccfg/check 2023-02-17 12:13:37 +00:00
namedconf.c fix a "max-cache-size" configuration bug 2025-10-29 11:30:25 -07:00
parser.c Use clang-format-20 to update formatting 2025-06-25 13:32:08 +10:00
tests Move all the unit tests to /tests/<libname>/ 2022-05-28 14:53:02 -07:00