Skip to content
Snippets Groups Projects
Verified Commit e9b55368 authored by Vladimír Čunát's avatar Vladimír Čunát
Browse files

NEWS + doc about TTL: forgotten minor tweaks

parent 7ad8b83b
Branches
Tags
1 merge request!1369NEWS + doc about TTL: forgotten minor tweaks
Pipeline #107468 waiting for manual action with stages
in 1 minute and 48 seconds
Knot Resolver 5.x.y (202y-mm-dd) Knot Resolver 5.6.0 (202y-mm-dd)
================================ ================================
Improvements Improvements
------------ ------------
- cache.max_ttl(): lower the default from six days to one day (!1323) - cache.max_ttl(): lower the default from six days to one day
and apply both limits to the first uncached answer already and apply both limits to the first uncached answer already (!1323 #127)
- depend on jemalloc, preferably, to improve memory usage (!1353) - depend on jemalloc, preferably, to improve memory usage (!1353)
- no longer accept DNS messages with trailing data (!1365) - no longer accept DNS messages with trailing data (!1365)
- policy.STUB: avoid applying aggressive DNSSEC denial proofs (!1364) - policy.STUB: avoid applying aggressive DNSSEC denial proofs (!1364)
......
...@@ -227,7 +227,7 @@ Configuration reference ...@@ -227,7 +227,7 @@ Configuration reference
:return: current maximum TTL :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)`. .. note:: The `ttl` value must be in range `(min_ttl, 2147483647)`.
...@@ -246,10 +246,10 @@ Configuration reference ...@@ -246,10 +246,10 @@ Configuration reference
.. KR_CACHE_DEFAULT_TTL_MIN ^^ .. KR_CACHE_DEFAULT_TTL_MIN ^^
:return: current maximum TTL :return: current minimum TTL
Get or set minimum TTL bound applied to all received records. Get or set lower TTL bound applied to all received records.
Forcing TTL higher than specified violates DNS standards, so use it with care. 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. TTL still won't be extended beyond expiration of the corresponding DNSSEC signature.
.. note:: The `ttl` value must be in range `<0, max_ttl)`. .. note:: The `ttl` value must be in range `<0, max_ttl)`.
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment