1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205
|
.\" Man page generated from reStructuredText.
.
.TH "PDNS_RECURSOR" "1" "Jan 31, 2019" "4.1" "PowerDNS Recursor"
.SH NAME
pdns_recursor \- The PowerDNS Recursor binary
.
.nr rst2man-indent-level 0
.
.de1 rstReportMargin
\\$1 \\n[an-margin]
level \\n[rst2man-indent-level]
level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
-
\\n[rst2man-indent0]
\\n[rst2man-indent1]
\\n[rst2man-indent2]
..
.de1 INDENT
.\" .rstReportMargin pre:
. RS \\$1
. nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin]
. nr rst2man-indent-level +1
.\" .rstReportMargin post:
..
.de UNINDENT
. RE
.\" indent \\n[an-margin]
.\" old: \\n[rst2man-indent\\n[rst2man-indent-level]]
.nr rst2man-indent-level -1
.\" new: \\n[rst2man-indent\\n[rst2man-indent-level]]
.in \\n[rst2man-indent\\n[rst2man-indent-level]]u
..
.SH SYNOPSIS
.sp
\fBpdns_recursor\fP [\fIOPTION\fP]...
.SH DESCRIPTION
.sp
\fBpdns_recursor\fP is a high performance, simple and secure recursing
nameserver. It currently powers hundreds of millions internet connections.
.sp
The recursor is configured via a configuration file, but each item in
that file can be overridden on the command line.
.sp
This manpage lists the core set of features needed to get the PowerDNS Recursor
working, for full and up to date details head to \fI\%https://doc.powerdns.com/\fP\&.
.SH EXAMPLES
.sp
To listen on 192.0.2.53 and allow the 192.0.2.0/24 subnet to recurse, and run
as in the background, execute:
.INDENT 0.0
.INDENT 3.5
.sp
.nf
.ft C
# pdns_recursor \-\-local\-address=192.0.2.53 \-\-allow\-from=192.0.2.0/24 \-\-daemon
.ft P
.fi
.UNINDENT
.UNINDENT
.sp
To stop the recursor by hand, run:
.INDENT 0.0
.INDENT 3.5
.sp
.nf
.ft C
# rec_control quit
.ft P
.fi
.UNINDENT
.UNINDENT
.sp
However, the recommended way of starting and stopping the recursor is to use
the init.d script or \fBsystemctl(1)\fP\&.
.SH OPTIONS
.sp
For authoritative listing of options, consult the online documentation
at \fI<https://doc.powerdns.com/>\fP
.INDENT 0.0
.TP
.BI \-\-allow\-from\fB= <networks>
If set, only allow these comma separated \fInetworks\fP,
with network mask to recurse. For example: 192.0.2.0/24,203.0.113.128/25.
.TP
.BI \-\-auth\-zones\fB= <authzones>
Where \fIauthzone\fP is <zonename>=<filename>.
Serve \fIzonename\fP from \fIfilename\fP authoritatively. For example:
ds9a.nl=/var/zones/ds9a.nl,powerdns.com=/var/zones/powerdns.com.
.TP
.BI \-\-chroot\fB= <directory>
chroot the process to \fIdirectory\fP\&.
.TP
.BI \-\-client\-tcp\-timeout\fB= <num>
Timeout in seconds when talking to TCP clients.
.TP
.BI \-\-config\-dir\fB= <directory>
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
\fBpdns_recursor \-\-config | grep \(aq config\-dir=\(aq\fP\&.
.TP
.B \-\-daemon
Operate as a daemon.
.TP
.B \-\-delegation\-only
Which domains we only accept delegations from (a Verisign special).
.TP
.BI \-\-entropy\-source\fB= <file>
Read new entropy from \fIfile\fP, defaults to /dev/urandom.
.TP
.B \-\-export\-etc\-hosts
If set, this flag will export the hostnames and IP addresses
mentioned in /etc/hosts.
.TP
.BI \-\-forward\-zones\fB= <forwardzones>
Where \fIforwardzone\fP is <zonename>=<address>.
Queries for \fIzonename\fP will be forwarded to \fIaddress\fP\&. \fIaddress\fP
should be an IP address, not a hostname (to prevent chicken and egg
problems). Example: forward\-zones= ds9a.nl=213.244.168.210,
powerdns.com=127.0.0.1.
.TP
.BI \-\-forward\-zones\-file\fB= <filename>
Similar to \fI\-\-forward\-zones\fP, but read the options from \fIfilename\fP\&.
\fIfilename\fP should contain one zone per line, like:
ds9a.nl=213.244.168.210.
.TP
.B \-\-help
Show a summary of options.
.TP
.BI \-\-hint\-file\fB= <filename>
Load root hints from this \fIfilename\fP
.TP
.BI \-\-local\-address\fB= <address>
Listen on \fIaddress\fP, separated by spaces or commas.
.TP
.BI \-\-local\-port\fB= <port>
Listen on \fIport\fP\&.
.TP
.B \-\-log\-common\-errors
If we should log rather common errors.
.TP
.BI \-\-max\-cache\-entries\fB= <num>
Maximum number of entries in the main cache.
.TP
.BI \-\-max\-negative\-ttl\fB= <num>
maximum number of seconds to keep a negative cached entry in memory.
.TP
.BI \-\-max\-tcp\-clients\fB= <num>
Maximum number of simultaneous TCP clients.
.TP
.BI \-\-max\-tcp\-per\-client\fB= <num>
If set, maximum number of TCP sessions per client (IP address).
.TP
.BI \-\-query\-local\-address\fB= <address>
Use \fIaddress\fP as Source IP address when sending queries.
.TP
.BI \-\-query\-local\-address6\fB= <address>
Send out local IPv6 queries from \fIaddress\fP\&. Disabled by default,
which also disables outgoing IPv6 support. A useful setting is
\(aq::0\(aq.
.TP
.B \-\-quiet
Suppress logging of questions and answers.
.TP
.BI \-\-server\-id\fB= <text>
Return \fItext\fP WHen queried for \(aqid.server\(aq TXT, defaults to
hostname.
.TP
.B \-\-serve\-rfc1918
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.
.TP
.BI \-\-setgid\fB= <gid>
If set, change group id to \fIgid\fP for more security.
.TP
.BI \-\-setuid\fB= <uid>
If set, change user id to \fIuid\fP for more security.
.TP
.B \-\-single\-socket
If set, only use a single socket for outgoing queries.
.TP
.BI \-\-socket\-dir\fB= <directory>
The controlsocket will live in \fIdirectory\fP\&.
.TP
.BI \-\-spoof\-nearmiss\-max\fB= <num>
If non\-zero, assume spoofing after this many near misses.
.TP
.B \-\-trace
if we should output heaps of logging.
.TP
.BI \-\-version\-string\fB= <text>
\fItext\fP WILL be reported on version.pdns or version.bind queries.
.UNINDENT
.SH SEE ALSO
.sp
\fBrec_control(1)\fP
\fBsystemctl(1)\fP
.SH AUTHOR
PowerDNS.COM BV
.SH COPYRIGHT
2001-2018, PowerDNS.COM BV
.\" Generated by docutils manpage writer.
.
|