]> git.ipfire.org Git - thirdparty/bind9.git/commit
Remove 'unlimited' setting for the max-cache-size
authorOndřej Surý <ondrej@isc.org>
Sat, 17 Jan 2026 08:56:31 +0000 (09:56 +0100)
committerOndřej Surý <ondrej@isc.org>
Mon, 30 Mar 2026 19:46:44 +0000 (21:46 +0200)
commitd7c99c14fcc007314ea18ea7ff40bead4cdb519a
treeb3fb7e307c3e81d7798d37f97bca1a32cbcc9339
parent4891a6b14fe72ba92a2765d98ea936bec34ccaca
Remove 'unlimited' setting for the max-cache-size

Since TTL-based cache cleaning has been removed, an unlimited
max-cache-size would eventually exhaust system memory.

Both 'max-cache-size unlimited;' and 'max-cache-size 0;' now fall
back to the default value (90% of physical memory for recursive
views).
bin/named/server.c
doc/arm/reference.rst
lib/dns/cache.c
lib/dns/include/dns/cache.h