From: Remi Gacogne Date: Tue, 12 Mar 2019 11:27:06 +0000 (+0100) Subject: rec: Document 'ecs-ipv4-cache-bits' and 'ecs-ipv6-cache-bits' X-Git-Tag: dnsdist-1.4.0-alpha1~37^2~5^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=216dc60aab0a7ea1a2385d85706bd41721e6ed16;p=thirdparty%2Fpdns.git rec: Document 'ecs-ipv4-cache-bits' and 'ecs-ipv6-cache-bits' (cherry picked from commit 4d8c05df7a8fd6045061325693dcf8b17dbd364d) --- diff --git a/pdns/recursordist/docs/settings.rst b/pdns/recursordist/docs/settings.rst index 5d9b529bfb..d3d0727243 100644 --- a/pdns/recursordist/docs/settings.rst +++ b/pdns/recursordist/docs/settings.rst @@ -377,6 +377,17 @@ This defaults to not using the requestor address inside RFC1918 and similar "pri Number of bits of client IPv4 address to pass when sending EDNS Client Subnet address information. +.. _setting-ecs-ipv4-cache-bits: + +``ecs-ipv4-cache-bits`` +----------------- +.. versionadded:: 4.1.12 + +- Integer +- Default: 24 + +Maximum number of bits of client IPv4 address used by the authoritative server (as indicated by the EDNS Client Subnet scope in the answer) for an answer to be inserted into the query cache. + .. _setting-ecs-ipv6-bits: ``ecs-ipv6-bits`` @@ -388,6 +399,17 @@ Number of bits of client IPv4 address to pass when sending EDNS Client Subnet ad Number of bits of client IPv6 address to pass when sending EDNS Client Subnet address information. +.. _setting-ecs-ipv6-cache-bits: + +``ecs-ipv6-cache-bits`` +----------------- +.. versionadded:: 4.1.12 + +- Integer +- Default: 56 + +Maximum number of bits of client IPv6 address used by the authoritative server (as indicated by the EDNS Client Subnet scope in the answer) for an answer to be inserted into the query cache. + .. _setting-ecs-minimum-ttl-override: ``ecs-minimum-ttl-override``