1PDNS_RECURSOR(1)               PowerDNS Recursor              PDNS_RECURSOR(1)
2
3
4

NAME

6       pdns_recursor - The PowerDNS Recursor binary
7

SYNOPSIS

9       pdns_recursor [OPTION]...
10

DESCRIPTION

12       pdns_recursor  is a high performance, simple and secure recursing name‐
13       server. It currently powers hundreds of millions internet connections.
14
15       The recursor is configured via a configuration file, but each  item  in
16       that file can be overridden on the command line.
17
18       This  manpage lists the core set of features needed to get the PowerDNS
19       Recursor  working,  for  full  and  up  to   date   details   head   to
20       https://doc.powerdns.com/.
21

EXAMPLES

23       To  listen  on 192.0.2.53 and allow the 192.0.2.0/24 subnet to recurse,
24       and run as in the background, execute:
25
26          # pdns_recursor --local-address=192.0.2.53 --allow-from=192.0.2.0/24 --daemon
27
28       To stop the recursor by hand, run:
29
30          # rec_control quit
31
32       However, the recommended way of starting and stopping the  recursor  is
33       to use the init.d script or systemctl(1).
34

OPTIONS

36       For  authoritative listing of options, consult the online documentation
37       at <https://doc.powerdns.com/>
38
39       --allow-from=<networks>
40              If set, only allow these comma separated networks, with  network
41              mask to recurse. For example: 192.0.2.0/24,203.0.113.128/25.
42
43       --auth-zones=<authzones>
44              Where  authzone  is  <zonename>=<filename>.  Serve zonename from
45              filename         authoritatively.          For          example:
46              ds9a.nl=/var/zones/ds9a.nl,powerdns.com=/var/zones/powerdns.com.
47
48       --chroot=<directory>
49              chroot the process to directory.
50
51       --client-tcp-timeout=<num>
52              Timeout in seconds when talking to TCP clients.
53
54       --config
55              Show the current configuration. There are three optional values:
56              --config=default to  show  the  default  configuration.   --con‐
57              fig=diff     show modified options in the current configuration.
58              --config=check   to check the current configuration for errors.
59
60       --config-dir=<directory>
61              Location of configuration directory (recursor.conf), the default
62              depends on the SYSCONFDIR option at build-time, which is usually
63              /etc/powerdns. The  default  can  be  found  with  pdns_recursor
64              --config | grep ' config-dir='.
65
66       --daemon
67              Operate as a daemon.
68
69       --entropy-source=<file>
70              Read new entropy from file, defaults to /dev/urandom.
71
72       --export-etc-hosts
73              If  set,  this  flag  will export the hostnames and IP addresses
74              mentioned in /etc/hosts.
75
76       --forward-zones=<forwardzones>
77              Where forwardzone is <zonename>=<address>.  Queries for zonename
78              will  be  forwarded to address. address should be an IP address,
79              not a hostname (to prevent chicken and egg  problems).  Example:
80              forward-zones= ds9a.nl=213.244.168.210, powerdns.com=127.0.0.1.
81
82       --forward-zones-file=<filename>
83              Similar  to --forward-zones, but read the options from filename.
84              filename   should   contain   one   zone   per    line,    like:
85              ds9a.nl=213.244.168.210.
86
87       --help Show a summary of options.
88
89       --hint-file=<filename>
90              Load root hints from this filename
91
92       --local-address=<address>
93              Listen  on  address,  separated  by spaces or commas.  Addresses
94              specified can include port numbers; any  which  do  not  include
95              port numbers will listen on --local-port.
96
97       --local-port=<port>
98              Listen on port.
99
100       --log-common-errors
101              If we should log rather common errors.
102
103       --max-cache-entries=<num>
104              Maximum number of entries in the main cache.
105
106       --max-negative-ttl=<num>
107              maximum  number  of  seconds  to keep a negative cached entry in
108              memory.
109
110       --max-tcp-clients=<num>
111              Maximum number of simultaneous TCP clients.
112
113       --max-tcp-per-client=<num>
114              If set, maximum number of TCP sessions per client (IP address).
115
116       --query-local-address=<address[,address...]>
117              Use address as Source IP address when sending queries.
118
119       --quiet
120              Suppress logging of questions and answers.
121
122       --server-id=<text>
123              Return text WHen queried for 'id.server' TXT, defaults to  host‐
124              name.
125
126       --serve-rfc1918
127              On  by  default, this makes the server authoritatively aware of:
128              10.in-addr.arpa,            168.192.in-addr.arpa             and
129              16-31.172.in-addr.arpa,  which  saves load on the AS112 servers.
130              Individual parts of these zones can  still  be  loaded  or  for‐
131              warded.
132
133       --setgid=<gid>
134              If set, change group id to gid for more security.
135
136       --setuid=<uid>
137              If set, change user id to uid for more security.
138
139       --single-socket
140              If set, only use a single socket for outgoing queries.
141
142       --socket-dir=<directory>
143              The controlsocket will live in directory.
144
145       --spoof-nearmiss-max=<num>
146              If non-zero, assume spoofing after this many near misses.
147
148       --trace
149              if we should output heaps of logging.
150
151       --version-string=<text>
152              text WILL be reported on version.pdns or version.bind queries.
153

SEE ALSO

155       rec_control(1) systemctl(1) https://docs.powerdns.com/recursor
156

AUTHOR

158       PowerDNS.COM BV
159
161       2001-2023, PowerDNS.COM BV
162
163
164
165
166                                 Mar 27, 2023                 PDNS_RECURSOR(1)
Impressum