From: Vladimír Čunát Date: Thu, 14 Jul 2022 09:31:25 +0000 (+0200) Subject: NEWS + doc about TTL: forgotten minor tweaks X-Git-Tag: v5.6.0~5^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e9b5536800d0a2e68b011c132a8c906a159275c4;p=thirdparty%2Fknot-resolver.git NEWS + doc about TTL: forgotten minor tweaks --- diff --git a/NEWS b/NEWS index f93929e40..b9d3894d9 100644 --- a/NEWS +++ b/NEWS @@ -1,10 +1,10 @@ -Knot Resolver 5.x.y (202y-mm-dd) +Knot Resolver 5.6.0 (202y-mm-dd) ================================ Improvements ------------ -- cache.max_ttl(): lower the default from six days to one day (!1323) - and apply both limits to the first uncached answer already +- cache.max_ttl(): lower the default from six days to one day + and apply both limits to the first uncached answer already (!1323 #127) - depend on jemalloc, preferably, to improve memory usage (!1353) - no longer accept DNS messages with trailing data (!1365) - policy.STUB: avoid applying aggressive DNSSEC denial proofs (!1364) diff --git a/daemon/bindings/cache.rst b/daemon/bindings/cache.rst index fe614bf96..36114d226 100644 --- a/daemon/bindings/cache.rst +++ b/daemon/bindings/cache.rst @@ -227,7 +227,7 @@ Configuration reference :return: current maximum TTL - Get or set maximum TTL bound applied to all received records. + Get or set upper TTL bound applied to all received records. .. note:: The `ttl` value must be in range `(min_ttl, 2147483647)`. @@ -246,10 +246,10 @@ Configuration reference .. KR_CACHE_DEFAULT_TTL_MIN ^^ - :return: current maximum TTL + :return: current minimum TTL - Get or set minimum TTL bound applied to all received records. - Forcing TTL higher than specified violates DNS standards, so use it with care. + Get or set lower TTL bound applied to all received records. + Forcing TTL higher than specified violates DNS standards, so use higher values with care. TTL still won't be extended beyond expiration of the corresponding DNSSEC signature. .. note:: The `ttl` value must be in range `<0, max_ttl)`.