From: phonedph1 Date: Tue, 31 Jul 2018 18:51:40 +0000 (-0600) Subject: Update config.rst X-Git-Tag: dnsdist-1.3.3~179^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c8d5c4ebfe17d6b59f70774f3970c7589713f961;p=pdns Update config.rst Try to clarify what staleTTL means in terms of the packet cache option. This hopefully aligns more with the text on https://dnsdist.org/guides/cache.html and real-world observations. --- diff --git a/pdns/dnsdistdist/docs/reference/config.rst b/pdns/dnsdistdist/docs/reference/config.rst index 8ec143565..3025b5cac 100644 --- a/pdns/dnsdistdist/docs/reference/config.rst +++ b/pdns/dnsdistdist/docs/reference/config.rst @@ -522,7 +522,7 @@ See :doc:`../guides/cache` for a how to. :param int maxTTL: Cap the TTL for records to his number :param int minTTL: Don't cache entries with a TTL lower than this :param int temporaryFailureTTL: On a SERVFAIL or REFUSED from the backend, cache for this amount of seconds - :param int staleTTL: When the backend servers are not reachable, send responses if the cache entry is expired at most this amount of seconds + :param int staleTTL: When the backend servers are not reachable, and global configuration ``setStaleCacheEntriesTTL`` is set appropriately, TTL that will be used when a stale cache entry is returned :param bool dontAge: Don't reduce TTLs when serving from the cache. Use this when :program:`dnsdist` fronts a cluster of authoritative servers :param int numberOfShards: Number of shards to divide the cache into, to reduce lock contention :param bool deferrableInsertLock: Whether the cache should give up insertion if the lock is held by another thread, or simply wait to get the lock