From: Remi Gacogne Date: Fri, 2 Jul 2021 13:15:14 +0000 (+0200) Subject: dnsdist: Fix the documentation for setDropEmptyQueries() X-Git-Tag: dnsdist-1.7.0-alpha1~98^2~2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=56997417a8a4826f04617dd2049260c34f9f1c91;p=thirdparty%2Fpdns.git dnsdist: Fix the documentation for setDropEmptyQueries() --- diff --git a/pdns/dnsdistdist/docs/reference/config.rst b/pdns/dnsdistdist/docs/reference/config.rst index 752b1872d8..7fdc728e28 100644 --- a/pdns/dnsdistdist/docs/reference/config.rst +++ b/pdns/dnsdistdist/docs/reference/config.rst @@ -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)