From: Remi Gacogne Date: Mon, 20 May 2019 09:01:59 +0000 (+0200) Subject: Merge pull request #7830 from rgacogne/dnsdist-missing-completions X-Git-Tag: rec-4.2.0-rc1~4 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ab97726c246ffae0ad4ba4d098068589abf3147e;p=pdns Merge pull request #7830 from rgacogne/dnsdist-missing-completions dnsdist: Add missing completion options and fix some typos --- ab97726c246ffae0ad4ba4d098068589abf3147e diff --cc pdns/dnsdist-console.cc index aa60c82e0,dc626f048..f20f3cf8f --- a/pdns/dnsdist-console.cc +++ b/pdns/dnsdist-console.cc @@@ -393,13 -400,14 +400,16 @@@ const std::vector g_con { "getPoolServers", true, "pool", "return servers part of this pool" }, { "getQueryCounters", true, "[max=10]", "show current buffer of query counters, limited by 'max' if provided" }, { "getResponseRing", true, "", "return the current content of the response ring" }, + { "getRespRing", true, "", "return the qname/rcode content of the response ring" }, { "getServer", true, "n", "returns server with index n" }, { "getServers", true, "", "returns a table with all defined servers" }, + { "getStatisticsCounters", true, "", "returns a map of statistic counters" }, { "getTLSContext", true, "n", "returns the TLS context with index n" }, { "getTLSFrontend", true, "n", "returns the TLS frontend with index n" }, + { "HTTPHeaderRule", true, "name, regex", "matches DoH queries with a HTTP header 'name' whose content matches the regular expression 'regex'"}, + { "HTTPPathRule", true, "path", "matches DoH queries whose HTTP path is an exact match to 'path'"}, { "inClientStartup", true, "", "returns true during console client parsing of configuration" }, + { "includeDirectory", true, "path", "nclude configuration files from `path`" }, { "grepq", true, "Netmask|DNS Name|100ms|{\"::1\", \"powerdns.com\", \"100ms\"} [, n]", "shows the last n queries and responses matching the specified client address or range (Netmask), or the specified DNS Name, or slower than 100ms" }, { "leastOutstanding", false, "", "Send traffic to downstream server with least outstanding queries, with the lowest 'order', and within that the lowest recent latency"}, { "LogAction", true, "[filename], [binary], [append], [buffered]", "Log a line for each query, to the specified file if any, to the console (require verbose) otherwise. When logging to a file, the `binary` optional parameter specifies whether we log in binary form (default) or in textual form, the `append` optional parameter specifies whether we open the file for appending or truncate each time (default), and the `buffered` optional parameter specifies whether writes to the file are buffered (default) or not." },