]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
dnsdist: Document that setECSOverride has drawbacks under certain conditions. 10626/head
authorAndreas Jakum <aj-gh@users.noreply.github.com>
Tue, 3 Aug 2021 07:56:50 +0000 (09:56 +0200)
committerAndreas Jakum <aj-gh@users.noreply.github.com>
Tue, 3 Aug 2021 07:56:50 +0000 (09:56 +0200)
pdns/dnsdistdist/docs/reference/config.rst

index ec5debb4ea63c2a408ce7880943260a46c589ac6..101d68fc152e148eb53f1dbdaabf8dec00ecf541 100644 (file)
@@ -436,7 +436,8 @@ 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
+  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.
+  Note that it's not recommended to enable ``setECSOverride`` in front of an authoritative server responding with EDNS Client Subnet information as mismatching data (ECS scopes) can confuse clients and lead to SERVFAIL responses on downstream nameservers.
 
   :param bool: Whether to override an existing EDNS Client Subnet option present in the query. Defaults to false