rec_control [OPTION]... COMMAND [COMMAND-OPTION]...
rec_control allows the operator to control a running instance of the
The commands that can be passed to the recursor are described on
To stop the recursor by hand, run:
# rec_control quit
To dump the cache to disk, execute:
# rec_control dump-cache /tmp/the-cache
--help provide this helpful message.
Directory where the recursor.conf lives.
Where the controlsocket will live, please use --config-dir
When running in SMP mode, pid of pdns_recursor to control.
Number of seconds to wait for the remote PowerDNS Recursor to
respond. Set to 0 for infinite.
Shows the currently active queries.
Dumps the entire cache to FILENAME. This file should not exist
already, PowerDNS will refuse to overwrite it. While dumping,
the recursor will not answer questions.
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.
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 ques-
Retrieves QType statistics. Queries from cache aren't being
help Shows a list of supported commands.
ping Check if server is alive.
quit Request shutdown of the recursor.
Request nice shutdown of the recursor.
(Re)loads Lua script FILENAME. This replaces the script cur-
Reload authoritative and forward zones. Retains current config-
uration in case of errors.
Set minimum-ttl-override to NUM.
Shows the top-20 most active remote hosts. Statistics are over
the last 'stats-ringbuffer-entries' queries.
Emit resolution trace for matching queries. Empty regex to dis-
Unloads Lua script.
Report running version.
wipe-cache DOMAIN [DOMAIN] [...]
Wipe entries for DOMAIN from the cache. This is useful if, for
example, an important server has a new IP address, but the TTL
has not yet expired. Multiple domain names can be passed. Note
that you must terminate a domain with a .! So to wipe pow-
erdns.org, issue 'rec_control wipe-cache powerdns.org.'. Ver-
sions beyond 3.1 don't need the trailing dot. Consider not only
wiping 'www.domain.com.' but also 'domain.com.', as the cached
nameservers or target of CNAME may continue to be undesired.
None known. File new ones at https://github.com/PowerDNS/pdns/issues.
Man Pages Copyright Respective Owners. Site Copyright (C) 1994 - 2019
All Rights Reserved.