From: Jan Hilberath Date: Wed, 25 Mar 2020 05:55:37 +0000 (+0900) Subject: Fix layout in the dnsdist Caching Responses guide X-Git-Tag: dnsdist-1.5.0-rc1~28^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F8971%2Fhead;p=thirdparty%2Fpdns.git Fix layout in the dnsdist Caching Responses guide --- diff --git a/pdns/dnsdistdist/docs/guides/cache.rst b/pdns/dnsdistdist/docs/guides/cache.rst index 167c1503e1..0217ca6057 100644 --- a/pdns/dnsdistdist/docs/guides/cache.rst +++ b/pdns/dnsdistdist/docs/guides/cache.rst @@ -8,7 +8,7 @@ The first step is to define a cache with :func:`newPacketCache`, then to assign pc = newPacketCache(10000, {maxTTL=86400, minTTL=0, temporaryFailureTTL=60, staleTTL=60, dontAge=false}) getPool(""):setCache(pc) - + The first parameter (10000) is the maximum number of entries stored in the cache, and is the only one required. All the other parameters are optional and in seconds, except the last one which is a boolean. ++ The first parameter (10000) is the maximum number of entries stored in the cache, and is the only one required. All the other parameters are optional and in seconds, except the last one which is a boolean. + The second one (86400) is the maximum lifetime of an entry in the cache.