From c145ab7654ea51e0c122e24a78a05593665680e4 Mon Sep 17 00:00:00 2001 From: Tom Laermans Date: Wed, 9 Jul 2014 17:10:39 +0200 Subject: [PATCH] Manpage: document all known options for rec_control The rec_control manpage was missing a number of options that were mentioned in rec_control help. Rectified. --- pdns/docs/rec_control.1.txt | 46 ++++++++++++++++++++++++++++++++++--- 1 file changed, 43 insertions(+), 3 deletions(-) diff --git a/pdns/docs/rec_control.1.txt b/pdns/docs/rec_control.1.txt index e28a4d3772..b24854c602 100644 --- a/pdns/docs/rec_control.1.txt +++ b/pdns/docs/rec_control.1.txt @@ -48,32 +48,72 @@ OPTIONS COMMANDS -------- +current-queries:: + Shows the currently active queries. + dump-cache filename:: Dumps the entire cache to the filename mentioned. This file should not exist already, PowerDNS will refuse to overwrite it. While dumping, the recursor will not answer questions. -get statistic:: +dump-edns[status] filename:: + Dumps the EDNS status to the filename mentioned. This file should + not exist already, PowerDNS will refuse to overwrite it. While + dumping, the recursor will not answer questions. + +dump-nsspeeds :: + Dumps the nameserver speed statistics to the filename mentioned. + This file should not exist already, PowerDNS will refuse to + overwrite it. While dumping, the recursor will not answer questions. + +get [statistic1]:: Retrieve a statistic. For items that can be queried, see http://doc.powerdns.com/recursor-stats.html get-all:: Retrieve all known statistics. +get-parameter [key1]:: + Retrieves the specified configuration parameter(s). + +get-qtypelist:: + Retrieves QType statistics. Queries from cache aren't being counted yet. + +help:: + Shows a list of supported commands. + ping:: Check if server is alive. quit:: Request shutdown of the recursor +quit-nicely:: + Request nice shutdown of the recursor + +reload-acls:: + Reloads ACLs. + +reload-lua-script [filename]:: + (Re)loads Lua script + reload-zones:: Reload authoritative and forward zones. Retains current configuration in case of errors. +set-minimul-ttl :: + Set minimum-ttl-override. + +trace-regex [regex]:: + Emit resolution trace for matching queries. Empty regex to disable trace. + top-remotes:: Shows the top-20 most active remote hosts. Statistics are over the last 'remotes-ringbuffer-entries' queries, which defaults to 0. +unload-lua-script:: + Unloads Lua script. + wipe-cache domain0 [domain1]:: Wipe entries from the cache. This is useful if, for example, an important server has a new IP address, but the TTL has not yet @@ -86,7 +126,7 @@ wipe-cache domain0 [domain1]:: BUGS ---- -None known. File new ones at http://wiki.powerdns.com. +None known. File new ones at https://github.com/PowerDNS/pdns/issues. AUTHOR ------ @@ -102,7 +142,7 @@ pdns_recursor(1) COPYING ------- -Copyright (C) 2006 PowerDNS.COM BV. Free use of this software +Copyright (C) 2006-2014 PowerDNS.COM BV. Free use of this software is granted under the terms of the GNU General Public License (GPL) version 2. -- 2.47.2