From e9b5536800d0a2e68b011c132a8c906a159275c4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20=C4=8Cun=C3=A1t?= <vladimir.cunat@nic.cz> Date: Thu, 14 Jul 2022 11:31:25 +0200 Subject: [PATCH] NEWS + doc about TTL: forgotten minor tweaks --- NEWS | 6 +++--- daemon/bindings/cache.rst | 8 ++++---- 2 files changed, 7 insertions(+), 7 deletions(-) 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)`. -- GitLab