EnglishFrenchSpanish

OnWorks favicon

rec_control - Online in the Cloud

Run rec_control in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command rec_control that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

PROGRAM:

NAME


rec_control - control pdns_recursor

SYNOPSIS


rec_control [OPTION]... COMMAND [COMMAND-OPTION]...

DESCRIPTION
rec_control allows the operator to control a running instance of the pdns_recursor.

The commands that can be passed to the recursor are described on
http://doc.powerdns.com/md/recursor/running/#rec_control-commands

EXAMPLES


To stop the recursor by hand, run:

# rec_control quit

To dump the cache to disk, execute:

# rec_control dump-cache /tmp/the-cache

OPTIONS


--help provide this helpful message.

--config-dir=PATH
Directory where the recursor.conf lives.

--socket-dir=PATH
Where the controlsocket will live, please use --config-dir instead.

--socket-pid=PID
When running in SMP mode, pid of pdns_recursor to control.

--timeout=NUM
Number of seconds to wait for the remote PowerDNS Recursor to respond. Set to 0
for infinite.

COMMANDS


current-queries
Shows the currently active queries.

dump-cache FILENAME
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.

dump-edns 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 FILENAME
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 STATISTIC [STATISTIC]...
Retrieve a statistic. For items that can be queried, see
http://doc.powerdns.com/md/recursor/stats/

get-all
Retrieve all known statistics.

get-parameter KEY [KEY]...
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 FILENAME. This replaces the script currently loaded.

reload-zones
Reload authoritative and forward zones. Retains current configuration in case of
errors.

set-minimum-ttl NUM
Set minimum-ttl-override to NUM.

top-remotes
Shows the top-20 most active remote hosts. Statistics are over the last
'stats-ringbuffer-entries' queries.

trace-regex REGEX
Emit resolution trace for matching queries. Empty regex to disable trace.

unload-lua-script
Unloads Lua script.

version
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 powerdns.org, issue 'rec_control wipe-cache powerdns.org.'. Versions 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.

Use rec_control online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    AstrOrzPlayer
    AstrOrzPlayer
    AstrOrz Player is a free media player
    software, part based on WMP and VLC. The
    player is in a minimalist style, with
    more than ten theme colors, and can also
    b...
    Download AstrOrzPlayer
  • 2
    movistartv
    movistartv
    Kodi Movistar+ TV es un ADDON para XBMC/
    Kodi que permite disponer de un
    decodificador de los servicios IPTV de
    Movistar integrado en uno de los
    mediacenters ma...
    Download movistartv
  • 3
    Code::Blocks
    Code::Blocks
    Code::Blocks is a free, open-source,
    cross-platform C, C++ and Fortran IDE
    built to meet the most demanding needs
    of its users. It is designed to be very
    extens...
    Download Code::Blocks
  • 4
    Amidst
    Amidst
    Amidst or Advanced Minecraft Interface
    and Data/Structure Tracking is a tool to
    display an overview of a Minecraft
    world, without actually creating it. It
    can ...
    Download Amidst
  • 5
    MSYS2
    MSYS2
    MSYS2 is a collection of tools and
    libraries providing you with an
    easy-to-use environment for building,
    installing and running native Windows
    software. It con...
    Download MSYS2
  • 6
    libjpeg-turbo
    libjpeg-turbo
    libjpeg-turbo is a JPEG image codec
    that uses SIMD instructions (MMX, SSE2,
    NEON, AltiVec) to accelerate baseline
    JPEG compression and decompression on
    x86, x8...
    Download libjpeg-turbo
  • More »

Linux commands

Ad