From 9a32faa3d73517b35dd99d5da9d35f81b5ce3cc9 Mon Sep 17 00:00:00 2001 From: Remi Gacogne Date: Mon, 31 Jul 2017 10:08:03 +0200 Subject: [PATCH] dnsdist: Add completion for `setStaleCacheEntriesTTL()` --- pdns/dnsdist-console.cc | 1 + 1 file changed, 1 insertion(+) 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 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" }, -- 2.40.0