1PDNS_RECURSOR(1) PDNS_RECURSOR(1)
2
3
4
6 pdns_recursor - high-performance, simple and secure recursing
7 nameserver
8
10 pdns_recursor [--daemon] [--local-address] [--help, -h] [--allow-from]
11
12
14 pdns_recursor(1) is a high performance, simple and secure recursing
15 nameserver. It currently powers over two million internet connections.
16
17 The recursor is configured via a configuration file, but each item in
18 that file can be overridden on the command line.
19
20 This manpage lists the core set of features needed to get the PowerDNS
21 recursor working, for full and up to date details head to
22 http://doc.powerdns.com/built-in-recursor.html
23
24
26 To listen on 1.2.3.4 and allow the 1.2.3.0/8 subnet to recurse, and run
27 as a daemon, execute:
28
29
30 # pdns_recursor --local-address=1.2.3.4 --allow-from=1.2.3.0/8 --daemon
31 To stop the recursor by hand, run:
32
33
34 # rec_control quit
35
36 Alternatively, use the init.d script provided.
37
39 For authoritative listing of options, consult the documentation
40 referenced above.
41
42
43 --aaaa-additional-processing
44 turn on to do AAAA additional processing (slow)
45
46 --allow-from
47 If set, only allow these comma separated netmasks to recurse
48
49 --auth-can-lower-ttl
50 Authoritative zones can transmit a TTL value that is lower than
51 that specified in the parent zone. This is called a delegation
52 inconsistency. To follow RFC 2181 paragraphs 5.2 and 5.4 to the
53 letter, enable this feature. This will mean a slight deterioration
54 of performance, and it will not solve any problems, but does make
55 the recursor more standards compliant. Not recommended unless you
56 have to tick an RFC 2181 compliant box. Off by default.
57
58 --auth-zones
59 Comma separated list of zonename=filename pairs. Zones read from
60 these files are served authoritatively. Example: auth-zones=
61 ds9a.nl=/var/zones/ds9a.nl, powerdns.com=/var/zones/powerdns.com.
62 Available since 3.1.
63
64 --chroot
65 switch to chroot jail
66
67 --client-tcp-timeout
68 Timeout in seconds when talking to TCP clients
69
70 --config-dir
71 Location of configuration directory (recursor.conf)
72
73 --daemon
74 Operate as a daemon
75
76 --delegation-only
77 Which domains we only accept delegations from
78
79 --entropy-source
80 Where to read new entropy from, defaults to /dev/urandom.
81
82 --export-etc-hosts
83 If set, this flag will export the host names and IP addresses
84 mentioned in /etc/hosts. Available since 3.1.
85
86 --fork
87 If set, fork the daemon for possible double performance
88
89 --forward-zones
90 Comma separated list of zonename=IP pairs. Queries for zones listed
91 here will be forwarded to the IP address listed. forward-zones=
92 ds9a.nl=213.244.168.210, powerdns.com=127.0.0.1. Available since
93 3.1. For more details, see the manual.
94
95 --forward-zones-file
96 listed here will be forwarded to the IP address listed. One zone
97 per line, like: ds9a.nl=213.244.168.210 Available since 3.1.5. For
98 more details, see the manual.
99
100 --hint-file
101 If set, load root hints from this file
102
103 --local-address
104 IP addresses to listen on, separated by spaces or commas
105
106 --local-port
107 port to listen on
108
109 --log-common-errors
110 If we should log rather common errors
111
112 --max-cache-entries
113 If set, maximum number of entries in the main cache
114
115 --max-negative-ttl
116 maximum number of seconds to keep a negative cached entry in memory
117
118 --max-tcp-clients
119 Maximum number of simultaneous TCP clients
120
121 --max-tcp-per-client
122 If set, maximum number of TCP sessions per client (IP address)
123
124 --query-local-address
125 Source IP address for sending queries
126
127 --query-local-address6
128 Send out local IPv6 queries from this address. Disabled by default,
129 which also disables outgoing IPv6 support. A useful setting is ::0.
130
131 --quiet
132 Suppress logging of questions and answers
133
134 --remotes-ringbuffer-entries
135 maximum number of packets to store statistics for
136
137 --server-id
138 Returned when queried for server.id TXT, defaults to hostname
139
140 --serve-rfc1918
141 On by default, this makes the server authoritatively aware of:
142 10.in-addr.arpa, 168.192.in-addr.arpa and 16-31.172.in-addr.arpa,
143 which saves load on the AS112 servers. Individual parts of these
144 zones can still be loaded or forwarded.
145
146 --setgid
147 If set, change group id to this gid for more security
148
149 --setuid
150 If set, change user id to this uid for more security
151
152 --single-socket
153 If set, only use a single socket for outgoing queries
154
155 --socket-dir
156 Where the controlsocket will live
157
158 --spoof-nearmiss-max
159 If non-zero, assume spoofing after this many near misses
160
161 --trace
162 if we should output heaps of logging
163
164 --version-string
165 string reported on version.pdns or version.bind
166
168 None known. File new ones at http://wiki.powerdns.com.
169
170
172 Written by PowerDNS.COM BV, bert hubert, <bert.hubert@netherlabs.nl>
173
174
176 Website: http://wiki.powerdns.com, http://www.powerdns.com
177
178
180 rec_control(1)
181
182
184 Copyright © 2006 PowerDNS.COM BV. Free use of this software is granted
185 under the terms of the GNU General Public License (GPL) version 2.
186
187
188
189
190 03/22/2008 PDNS_RECURSOR(1)