]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
dnsdist: Document `setECSOverride()`
authorRemi Gacogne <remi.gacogne@powerdns.com>
Wed, 24 Apr 2019 13:34:43 +0000 (15:34 +0200)
committerRemi Gacogne <remi.gacogne@powerdns.com>
Wed, 24 Apr 2019 13:34:43 +0000 (15:34 +0200)
pdns/dnsdistdist/docs/reference/config.rst

index c6992f77c6e09103ffcc77245557a8b5411585a4..b4f6cc919c2c140a9c87ec75a5bcc4d35d1f10a3 100644 (file)
@@ -309,6 +309,12 @@ Access Control Lists
 EDNS Client Subnet
 ~~~~~~~~~~~~~~~~~~
 
+.. function:: setECSOverride(bool)
+
+  When ``useClientSubnet`` in :func:`newServer` is set and dnsdist adds an EDNS Client Subnet Client option to the query, override an existing option already present in the query, if any
+
+  :param bool: Whether to override an existing EDNS Client Subnet option present in the query. Defaults to false
+
 .. function:: setECSSourcePrefixV4(prefix)
 
   When ``useClientSubnet`` in :func:`newServer` is set and dnsdist adds an EDNS Client Subnet Client option to the query, truncate the requestors IPv4 address to ``prefix`` bits