]> granicus.if.org Git - pdns/commitdiff
dnsdist: Fix the type of maxNegativeTTL (int, not bool) in the doc
authorRemi Gacogne <remi.gacogne@powerdns.com>
Wed, 11 Jul 2018 07:43:02 +0000 (09:43 +0200)
committerRemi Gacogne <remi.gacogne@powerdns.com>
Wed, 11 Jul 2018 07:43:02 +0000 (09:43 +0200)
pdns/dnsdistdist/docs/reference/config.rst

index 73060c93c7ea20f977b94a20d9fea484e4d40a69..8ec14356512afa57901794622acde096be9eba1e 100644 (file)
@@ -526,7 +526,7 @@ See :doc:`../guides/cache` for a how to.
   :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
-  :param bool maxNegativeTTL: Cache a NXDomain or NoData answer from the backend for at most this amount of seconds, even if the TTL of the SOA record is higher
+  :param int maxNegativeTTL: Cache a NXDomain or NoData answer from the backend for at most this amount of seconds, even if the TTL of the SOA record is higher
   :param bool parseECS: Whether any EDNS Client Subnet option present in the query should be extracted and stored to be able to detect hash collisions involving queries with the same qname, qtype and qclass but a different incoming ECS value. Enabling this option adds a parsing cost and only makes sense if at least one backend might send different responses based on the ECS value, so it's disabled by default
 
 .. class:: PacketCache