+2015. [cleanup] use-additional-cache is now acache-enable for
+ consistancy. Default acache-enable off in BIND 9.4
+ as it requires memory usage to be configured.
+ It may be enabled by default in BIND 9.5 once we
+ have more experience with it.
+
2014. [func] Statistics about acache now recorded and sent
to log. [RT #15976]
* PERFORMANCE OF THIS SOFTWARE.
*/
-/* $Id: config.c,v 1.47.18.27 2006/03/09 23:38:20 marka Exp $ */
+/* $Id: config.c,v 1.47.18.28 2006/05/03 01:46:40 marka Exp $ */
/*! \file */
check-names slave warn;\n\
check-names response ignore;\n\
check-mx warn;\n\
- use-additional-cache true;\n\
+ acache-enable no;\n\
acache-cleaning-interval 60;\n\
max-acache-size 0;\n\
dnssec-enable yes;\n\
* PERFORMANCE OF THIS SOFTWARE.
*/
-/* $Id: server.c,v 1.419.18.44 2006/03/09 23:46:20 marka Exp $ */
+/* $Id: server.c,v 1.419.18.45 2006/05/03 01:46:40 marka Exp $ */
/*! \file */
/*
* Create additional cache for this view and zones under the view
- * unless explicitly disabled.
+ * if explicitly enabled.
+ * XXX950 default to on.
*/
obj = NULL;
- (void)ns_config_get(maps, "use-additional-cache", &obj);
- if (obj == NULL || cfg_obj_asboolean(obj)) {
+ (void)ns_config_get(maps, "acache-enable", &obj);
+ if (obj != NULL && cfg_obj_asboolean(obj)) {
cmctx = NULL;
CHECK(isc_mem_create(0, 0, &cmctx));
CHECK(dns_acache_create(&view->acache, cmctx, ns_g_taskmgr,
- PERFORMANCE OF THIS SOFTWARE.
-->
-<!-- File: $Id: Bv9ARM-book.xml,v 1.241.18.56 2006/03/09 23:38:20 marka Exp $ -->
+<!-- File: $Id: Bv9ARM-book.xml,v 1.241.18.57 2006/05/03 01:46:40 marka Exp $ -->
<book xmlns:xi="http://www.w3.org/2001/XInclude">
<title>BIND 9 Administrator Reference Manual</title>
<optional> root-delegation-only <optional> exclude { <replaceable>namelist</replaceable> } </optional> ; </optional>
<optional> querylog <replaceable>yes_or_no</replaceable> ; </optional>
<optional> disable-algorithms <replaceable>domain</replaceable> { <replaceable>algorithm</replaceable>; <optional> <replaceable>algorithm</replaceable>; </optional> }; </optional>
- <optional> use-additional-cache <replaceable>yes_or_no</replaceable> ; </optional>
+ <optional> acache-enable <replaceable>yes_or_no</replaceable> ; </optional>
<optional> acache-cleaning-interval <replaceable>number</replaceable>; </optional>
<optional> max-acache-size <replaceable>size_spec</replaceable> ; </optional>
<optional> clients-per-query <replaceable>number</replaceable> ; </optional>
Thus, if the response performance does not matter and memory
consumption is much more critical, the
<command>acache</command> mechanism can be
- disabled by setting <command>use-additional-cache</command> to
+ disabled by setting <command>acache-enable</command> to
<command>no</command>.
It is also possible to specify the upper limit of memory
consumption
<variablelist>
<varlistentry>
- <term><command>use-additional-cache</command></term>
+ <term><command>acache-enable</command></term>
<listitem>
<para>
- If <command>yes</command>, additional section caching is enabled.
- The default value is <command>yes</command>.
+ If <command>yes</command>, additional section caching is
+ enabled. The default value is <command>no</command>.
</para>
</listitem>
</varlistentry>
* PERFORMANCE OF THIS SOFTWARE.
*/
-/* $Id: namedconf.c,v 1.30.18.37 2006/03/09 23:38:21 marka Exp $ */
+/* $Id: namedconf.c,v 1.30.18.38 2006/05/03 01:46:40 marka Exp $ */
/*! \file */
CFG_CLAUSEFLAG_MULTI },
{ "dnssec-accept-expired", &cfg_type_boolean, 0 },
{ "ixfr-from-differences", &cfg_type_ixfrdifftype, 0 },
- { "use-additional-cache", &cfg_type_boolean, 0 },
+ { "acache-enable", &cfg_type_boolean, 0 },
{ "acache-cleaning-interval", &cfg_type_uint32, 0 },
{ "max-acache-size", &cfg_type_sizenodefault, 0 },
{ "clients-per-query", &cfg_type_uint32, 0 },