summaryrefslogtreecommitdiffstats
path: root/daemon/bindings/cache.rst
diff options
context:
space:
mode:
authorVladimír Čunát <vladimir.cunat@nic.cz>2022-07-14 11:31:25 +0200
committerVladimír Čunát <vladimir.cunat@nic.cz>2022-12-13 14:48:36 +0100
commite9b5536800d0a2e68b011c132a8c906a159275c4 (patch)
tree41103ff58a9dfa8901488cedcec2438eac38a68e /daemon/bindings/cache.rst
parentMerge !1323: TTL tweaks (diff)
downloadknot-resolver-e9b5536800d0a2e68b011c132a8c906a159275c4.tar.xz
knot-resolver-e9b5536800d0a2e68b011c132a8c906a159275c4.zip
NEWS + doc about TTL: forgotten minor tweaks
Diffstat (limited to 'daemon/bindings/cache.rst')
-rw-r--r--daemon/bindings/cache.rst8
1 files changed, 4 insertions, 4 deletions
diff --git a/daemon/bindings/cache.rst b/daemon/bindings/cache.rst
index fe614bf9..36114d22 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)`.