From: Remi Gacogne Date: Thu, 21 Feb 2019 13:42:34 +0000 (+0100) Subject: dnsdist: Add setAllowEmptyResponse to console completion X-Git-Tag: auth-4.2.0-beta1~4^2~4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5b4e19ad4fbd3c8862d24f839316fc9fcb765fb5;p=thirdparty%2Fpdns.git dnsdist: Add setAllowEmptyResponse to console completion --- diff --git a/pdns/dnsdist-console.cc b/pdns/dnsdist-console.cc index 01458399d6..261e966e3d 100644 --- a/pdns/dnsdist-console.cc +++ b/pdns/dnsdist-console.cc @@ -437,6 +437,7 @@ const std::vector g_consoleKeywords{ { "sendCustomTrap", true, "str", "send a custom `SNMP` trap from Lua, containing the `str` string"}, { "setACL", true, "{netmask, netmask}", "replace the ACL set with these netmasks. Use `setACL({})` to reset the list, meaning no one can use us" }, { "setAddEDNSToSelfGeneratedResponses", true, "add", "set whether to add EDNS to self-generated responses, provided that the initial query had EDNS" }, + { "setAllowEmptyResponse", true, "allow", "Set to true (defaults to false) to allow empty responses (qdcount=0) with a NoError or NXDomain rcode (default) from backends" }, { "setAPIWritable", true, "bool, dir", "allow modifications via the API. if `dir` is set, it must be a valid directory where the configuration files will be written by the API" }, { "setConsoleACL", true, "{netmask, netmask}", "replace the console ACL set with these netmasks" }, { "setConsoleConnectionsLogging", true, "enabled", "whether to log the opening and closing of console connections" },