From 783a011fdf78b491cb31025a5a6f6bb6f9bd5658 Mon Sep 17 00:00:00 2001 From: Remi Gacogne Date: Thu, 21 Feb 2019 14:43:09 +0100 Subject: [PATCH] dnsdist: Document setAllowEmptyResponse() --- pdns/dnsdistdist/docs/reference/config.rst | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pdns/dnsdistdist/docs/reference/config.rst b/pdns/dnsdistdist/docs/reference/config.rst index 694b4b7ef4..09ae786486 100644 --- a/pdns/dnsdistdist/docs/reference/config.rst +++ b/pdns/dnsdistdist/docs/reference/config.rst @@ -996,6 +996,12 @@ Other functions If this function exists, it is called every second to so regular tasks. This can be used for e.g. :doc:`Dynamic Blocks <../guides/dynblocks>`. +.. function: setAllowEmptyResponse() + + .. versionadded:: 1.4.0 + + Set to true (defaults to false) to allow empty responses (qdcount=0) with a NoError or NXDomain rcode (default) from backends. dnsdist drops these responses by default because it can't match them against the initial query since they don't contain the qname, qtype and qclass, and therefore the risk of collision is much higher than with regular responses. + TLSContext ~~~~~~~~~~ -- 2.47.3