diff --git a/bin/named/config.c b/bin/named/config.c index 8685c9543c..10a16f860a 100644 --- a/bin/named/config.c +++ b/bin/named/config.c @@ -195,7 +195,7 @@ options {\n\ # sortlist \n\ stale-answer-enable false;\n\ stale-answer-ttl 1; /* 1 second */\n\ - stale-cache-enable false;\n\ + stale-cache-enable true;\n\ synth-from-dnssec no;\n\ # topology \n\ transfer-format many-answers;\n\ diff --git a/bin/tests/system/serve-stale/ns3/named.conf.in b/bin/tests/system/serve-stale/ns3/named.conf.in index d5943a9a02..4d3cab3977 100644 --- a/bin/tests/system/serve-stale/ns3/named.conf.in +++ b/bin/tests/system/serve-stale/ns3/named.conf.in @@ -28,7 +28,6 @@ options { listen-on-v6 { none; }; recursion yes; dump-file "named_dump3.db"; - stale-cache-enable yes; }; zone "." { diff --git a/bin/tests/system/serve-stale/ns4/named.conf.in b/bin/tests/system/serve-stale/ns4/named.conf.in index 9c502ba0e4..cd255b06d4 100644 --- a/bin/tests/system/serve-stale/ns4/named.conf.in +++ b/bin/tests/system/serve-stale/ns4/named.conf.in @@ -29,7 +29,6 @@ options { recursion yes; dump-file "named_dump4.db"; stale-answer-enable no; - stale-cache-enable yes; }; zone "." { diff --git a/doc/arm/reference.rst b/doc/arm/reference.rst index 84f7e3a18d..c0d6a84a4e 100644 --- a/doc/arm/reference.rst +++ b/doc/arm/reference.rst @@ -1837,7 +1837,7 @@ Boolean Options log category. ``stale-cache-enable`` - If ``yes``, enable the retaining of "stale" cached answers. Default ``no``. + If ``yes``, enable the retaining of "stale" cached answers. Default ``yes``. ``nocookie-udp-size`` This sets the maximum size of UDP responses that are sent to queries diff --git a/doc/notes/notes-current.rst b/doc/notes/notes-current.rst index 25cb1648e8..d316b8b996 100644 --- a/doc/notes/notes-current.rst +++ b/doc/notes/notes-current.rst @@ -39,8 +39,6 @@ Feature Changes prevents interruption to query resolution when the hash tables need to be increased in size. [GL #1775] -- Keeping stale answers in cache has been disabled by default. - - The resource records received with 0 TTL are no longer kept in the cache to be used for stale answers. [GL #1829]