pdns_recursor man page

pdns_recursor — high-performance, simple and secure recursing nameserver


pdns_recursor [OPTION]...


pdns_recursor(1) is a high performance, simple and secure recursing nameserver. It currently powers over two million internet connections.

The recursor is configured via a configuration file, but each item in that file can be overridden on the command line.

This manpage lists the core set of features needed to get the PowerDNS recursor working, for full and up to date details head to http://doc.powerdns.com/built-in-recurs…


To listen on and allow the subnet to recurse, and run as a daemon, execute:

# pdns_recursor --local-address= --allow-from= --daemon

To stop the recursor by hand, run:

# rec_control quit

However, the recommended way of starting and stopping the recursor is to use the init.d script provided.


For authoritative listing of options, consult the online documentation at http://doc.powerdns.com/md/recursor/set…

If set, only allow these comma separated NETWORKs, with network mask to recurse. For example:,
Serve ZONENAME from FILENAME authoritatively. For example: ds9a.nl=/var/zones/ds9a.nl,powerdns.com=/var/zones/powerdns.com.
chroot the process to DIRECTORY.
Timeout in seconds when talking to TCP clients.
Location of configuration directory (recursor.conf), the default depends on the SYSCONFDIR option at build-time, which is usually /etc/powerdns. The default can be found with pdns_recursor --config | grep ' config-dir='.
Operate as a daemon.
Which domains we only accept delegations from (a Verisign special).
Read new entropy from FILE, defaults to /dev/urandom.
If set, this flag will export the hostnames and IP addresses mentioned in /etc/hosts.
Queries for ZONENAME will be forwarded to ADDRESS. ADDRESS should be an IP address, not a hostname (to prevent chicken and egg problems). Example: forward-zones= ds9a.nl=, powerdns.com=
Similar to --forward-zones, but read the options from FILENAME. FILENAME should contain one zone per line, like: ds9a.nl=
Show a summary of options.
Load root hints from this FILENAME
Listen on ADDRESS, separated by spaces or commas.
Listen on PORT.
If we should log rather common errors.
Maximum number of entries in the main cache.
maximum number of seconds to keep a negative cached entry in memory.
Maximum number of simultaneous TCP clients.
If set, maximum number of TCP sessions per client (IP address).
Use ADDRESS as Source IP address when sending queries.
Send out local IPv6 queries from ADDRESS. Disabled by default, which also disables outgoing IPv6 support. A useful setting is '::0'.
Suppress logging of questions and answers.
Return TEXT when queried for 'server.id' TXT, defaults to hostname.
On by default, this makes the server authoritatively aware of: 10.in-addr.arpa, 168.192.in-addr.arpa and 16-31.172.in-addr.arpa, which saves load on the AS112 servers. Individual parts of these zones can still be loaded or forwarded.
If set, change group id to GID for more security.
If set, change user id to UID for more security.
If set, only use a single socket for outgoing queries.
The controlsocket will live in DIRECTORY.
If non-zero, assume spoofing after this many near misses.
if we should output heaps of logging.
TEXT will be reported on version.pdns or version.bind queries.


None known. File new ones at https://github.com/PowerDNS/pdns/issues.


Website: http://www.powerdns.com, https://github.com/PowerDNS/pdns

See Also




Referenced By


Explore man page connections for pdns_recursor(1).

March 2008