]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
Merge pull request #7830 from rgacogne/dnsdist-missing-completions
authorRemi Gacogne <rgacogne@users.noreply.github.com>
Mon, 20 May 2019 09:01:59 +0000 (11:01 +0200)
committerGitHub <noreply@github.com>
Mon, 20 May 2019 09:01:59 +0000 (11:01 +0200)
dnsdist: Add missing completion options and fix some typos

1  2 
pdns/dnsdist-console.cc
pdns/dnsdistdist/docs/rules-actions.rst

index aa60c82e08d4502cd70edfeea9b5a2ca84ea021d,dc626f0484167672b7e8876c780e4cce971a25c4..f20f3cf8f671c30994f3d1e7951bd38d0cfa0d43
@@@ -393,13 -400,14 +400,16 @@@ const std::vector<ConsoleKeyword> 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." },