From: Remi Gacogne <remi.gacogne@powerdns.com> Date: Mon, 31 Jul 2017 08:08:03 +0000 (+0200) Subject: dnsdist: Add completion for `setStaleCacheEntriesTTL()` X-Git-Tag: dnsdist-1.2.0~51^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9a32faa3d73517b35dd99d5da9d35f81b5ce3cc9;p=pdns dnsdist: Add completion for `setStaleCacheEntriesTTL()` --- diff --git a/pdns/dnsdist-console.cc b/pdns/dnsdist-console.cc index 9c2d3a0ae..2034989b2 100644 --- a/pdns/dnsdist-console.cc +++ b/pdns/dnsdist-console.cc @@ -379,6 +379,7 @@ const std::vector<ConsoleKeyword> g_consoleKeywords{ { "setServerPolicy", true, "policy", "set server selection policy to that policy" }, { "setServerPolicyLua", true, "name, function", "set server selection policy to one named 'name' and provided by 'function'" }, { "setServFailWhenNoServer", true, "bool", "if set, return a ServFail when no servers are available, instead of the default behaviour of dropping the query" }, + { "setStaleCacheEntriesTTL", true, "n", "allows using cache entries expired for at most n seconds when there is no backend available to answer for a query" }, { "setTCPDownstreamCleanupInterval", true, "interval", "minimum interval in seconds between two cleanups of the idle TCP downstream connections" }, { "setTCPUseSinglePipe", true, "bool", "whether the incoming TCP connections should be put into a single queue instead of using per-thread queues. Defaults to false" }, { "setTCPRecvTimeout", true, "n", "set the read timeout on TCP connections from the client, in seconds" },