]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
dnsdist: Fix the documentation for setDropEmptyQueries()
authorRemi Gacogne <remi.gacogne@powerdns.com>
Fri, 2 Jul 2021 13:15:14 +0000 (15:15 +0200)
committerRemi Gacogne <remi.gacogne@powerdns.com>
Fri, 2 Jul 2021 13:15:14 +0000 (15:15 +0200)
pdns/dnsdistdist/docs/reference/config.rst

index 752b1872d8d8f84199a05e34212d80bbe0f8f62b..7fdc728e286029f6a59e8f27ac4b3f9ef89a34ca 100644 (file)
@@ -1455,7 +1455,7 @@ Other functions
 
   .. versionadded:: 1.6.0
 
-  Set to true (defaults to false) to drop empty queries (qdcount=0) right away with a NotImp rcode. dnsdist used to drop these queries by default because most rules and existing Lua code expects a query to have a qname, qtype and qclass. However :rfc:`7873` uses these queries to request a server cookie, and :rfc:`8906` as a conformance test, so answering these queries with NotImp is much better than not answering at all.
+  Set to true (defaults to false) to drop empty queries (qdcount=0) right away, instead of answering with a NotImp rcode. dnsdist used to drop these queries by default because most rules and existing Lua code expects a query to have a qname, qtype and qclass. However :rfc:`7873` uses these queries to request a server cookie, and :rfc:`8906` as a conformance test, so answering these queries with NotImp is much better than not answering at all.
 
   :param bool drop: Whether to drop these queries (defaults to false)