]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
rec: Document 'ecs-ipv4-cache-bits' and 'ecs-ipv6-cache-bits'
authorRemi Gacogne <remi.gacogne@powerdns.com>
Tue, 12 Mar 2019 11:27:06 +0000 (12:27 +0100)
committerRemi Gacogne <remi.gacogne@powerdns.com>
Mon, 25 Mar 2019 09:27:36 +0000 (10:27 +0100)
(cherry picked from commit 4d8c05df7a8fd6045061325693dcf8b17dbd364d)

pdns/recursordist/docs/settings.rst

index 5d9b529bfba408e4af43b8c375a41faefe1811de..d3d072724316e7ded811d4f47aae2a8f1f750a7e 100644 (file)
@@ -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``