-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)
: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)`.
.. 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)`.