1 # Autogenerated configuration file template
2 #################################
3 # allow-2136-from A global setting to allow RFC2136 from these IP ranges.
5 # allow-2136-from=0.0.0.0/0
7 #################################
8 # allow-axfr-ips Allow zonetransfers only to these subnets
10 # allow-axfr-ips=127.0.0.0/8,::1
12 #################################
13 # allow-recursion List of subnets that are allowed to recurse
15 # allow-recursion=0.0.0.0/0
17 #################################
18 # also-notify When notifying a domain, also notify these nameservers
22 #################################
23 # any-to-tcp Answer ANY queries with tc=1, shunting to TCP
27 #################################
28 # cache-ttl Seconds to store packets in the PacketCache
32 #################################
33 # carbon-interval Number of seconds between carbon (graphite) updates
37 #################################
38 # carbon-ourname If set, overrides our reported hostname for carbon stats
42 #################################
43 # carbon-server If set, send metrics in carbon (graphite) format to this server
47 #################################
48 # chroot If set, chroot to this directory for more security
52 #################################
53 # config-dir Location of configuration directory (pdns.conf)
55 # config-dir=/usr/local/etc
57 #################################
58 # config-name Name of this virtual configuration - will rename the binary image
62 #################################
63 # control-console Debugging switch - don't use
67 #################################
68 # daemon Operate as a daemon
72 #################################
73 # default-ksk-algorithms Default KSK algorithms
75 # default-ksk-algorithms=rsasha256
77 #################################
78 # default-ksk-size Default KSK size (0 means default)
82 #################################
83 # default-soa-mail mail address to insert in the SOA record if none set in the backend
87 #################################
88 # default-soa-name name to insert in the SOA record if none set in the backend
90 # default-soa-name=a.misconfigured.powerdns.server
92 #################################
93 # default-ttl Seconds a result is valid if not set otherwise
97 #################################
98 # default-zsk-algorithms Default ZSK algorithms
100 # default-zsk-algorithms=rsasha256
102 #################################
103 # default-zsk-size Default ZSK size (0 means default)
107 #################################
108 # direct-dnskey Fetch DNSKEY RRs from backend during DNSKEY synthesis
112 #################################
113 # disable-axfr Disable zonetransfers but do allow TCP queries
117 #################################
118 # disable-axfr-rectify Disable the rectify step during an outgoing AXFR. Only required for regression testing.
120 # disable-axfr-rectify=no
122 #################################
123 # disable-tcp Do not listen to TCP queries
127 #################################
128 # distributor-threads Default number of Distributor (backend) threads to start
130 # distributor-threads=3
132 #################################
133 # do-ipv6-additional-processing Do AAAA additional processing
135 # do-ipv6-additional-processing=yes
137 #################################
138 # edns-subnet-processing If we should act on EDNS Subnet options
140 # edns-subnet-processing=no
142 #################################
143 # entropy-source If set, read entropy from this file
145 # entropy-source=/dev/urandom
147 #################################
148 # experimental-api-readonly If the JSON API should disallow data modification
150 # experimental-api-readonly=no
152 #################################
153 # experimental-dname-processing If we should support DNAME records
155 # experimental-dname-processing=no
157 #################################
158 # experimental-json-interface If the webserver should serve JSON data
160 # experimental-json-interface=no
162 #################################
163 # experimental-logfile Filename of the log file for JSON parser
165 # experimental-logfile=/var/log/pdns.log
167 #################################
168 # experimental-rfc2136 Enable/Disable RFC2136 (Dynamic DNS) support. Default is no.
170 # experimental-rfc2136=no
172 #################################
173 # fancy-records Process URL and MBOXFW records
177 #################################
178 # forward-2136 A global setting to allow RFC2136 packages that are for a Slave domain, to be forwarded to the master.
182 #################################
183 # guardian Run within a guardian process
187 #################################
188 # include-dir Include *.conf files from this directory
192 #################################
193 # launch Which backends to launch and order to query them in
197 #################################
198 # load-modules Load this module - supply absolute or relative path
202 #################################
203 # local-address Local IP addresses to which we bind
205 # local-address=0.0.0.0
207 #################################
208 # local-address-nonexist-fail Fail to start if one or more of the local-address's do not exist on this server
210 # local-address-nonexist-fail=yes
212 #################################
213 # local-ipv6 Local IP address to which we bind
217 #################################
218 # local-ipv6-nonexist-fail Fail to start if one or more of the local-ipv6 addresses do not exist on this server
220 # local-ipv6-nonexist-fail=yes
222 #################################
223 # local-port The port on which we listen
227 #################################
228 # log-dns-details If PDNS should log DNS non-erroneous details
232 #################################
233 # log-dns-queries If PDNS should log all incoming DNS queries
237 #################################
238 # logging-facility Log under a specific facility
242 #################################
243 # loglevel Amount of logging. Higher is more. Do not set below 3
247 #################################
248 # lua-prequery-script Lua script with prequery handler
250 # lua-prequery-script=
252 #################################
253 # master Act as a master
257 #################################
258 # max-cache-entries Maximum number of cache entries
260 # max-cache-entries=1000000
262 #################################
263 # max-ent-entries Maximum number of empty non-terminals in a zone
265 # max-ent-entries=100000
267 #################################
268 # max-nsec3-iterations Limit the number of NSEC3 hash iterations
270 # max-nsec3-iterations=500
272 #################################
273 # max-queue-length Maximum queuelength before considering situation lost
275 # max-queue-length=5000
277 #################################
278 # max-signature-cache-entries Maximum number of signatures cache entries
280 # max-signature-cache-entries=
282 #################################
283 # max-tcp-connections Maximum number of TCP connections
285 # max-tcp-connections=10
287 #################################
288 # module-dir Default directory for modules
290 # module-dir=/usr/local/lib/pdns
292 #################################
293 # negquery-cache-ttl Seconds to store negative query results in the QueryCache
295 # negquery-cache-ttl=60
297 #################################
298 # no-shuffle Set this to prevent random shuffling of answers - for regression testing
302 #################################
303 # only-notify Only send AXFR NOTIFY to these IP addresses or netmasks
305 # only-notify=0.0.0.0/0,::/0
307 #################################
308 # out-of-zone-additional-processing Do out of zone additional processing
310 # out-of-zone-additional-processing=yes
312 #################################
313 # overload-queue-length Maximum queuelength moving to packetcache only
315 # overload-queue-length=0
317 #################################
318 # pipebackend-abi-version Version of the pipe backend ABI
320 # pipebackend-abi-version=1
322 #################################
323 # prevent-self-notification Don't send notifications to what we think is ourself
325 # prevent-self-notification=yes
327 #################################
328 # query-cache-ttl Seconds to store query results in the QueryCache
332 #################################
333 # query-local-address Source IP address for sending queries
335 # query-local-address=0.0.0.0
337 #################################
338 # query-local-address6 Source IPv6 address for sending queries
340 # query-local-address6=::
342 #################################
343 # query-logging Hint backends that queries should be logged
347 #################################
348 # queue-limit Maximum number of milliseconds to queue a query
352 #################################
353 # receiver-threads Default number of receiver threads to start
357 #################################
358 # recursive-cache-ttl Seconds to store packets for recursive queries in the PacketCache
360 # recursive-cache-ttl=10
362 #################################
363 # recursor If recursion is desired, IP address of a recursing nameserver
367 #################################
368 # retrieval-threads Number of AXFR-retrieval threads for slave operation
370 # retrieval-threads=2
372 #################################
373 # reuseport Enable higher performance on compliant kernels by using SO_REUSEPORT allowing each receiver thread to open its own socket
377 #################################
378 # send-root-referral Send out old-fashioned root-referral instead of ServFail in case of no authority
380 # send-root-referral=no
382 #################################
383 # server-id Returned when queried for 'server.id' TXT or NSID, defaults to hostname - disabled or custom
387 #################################
388 # setgid If set, change group id to this gid for more security
392 #################################
393 # setuid If set, change user id to this uid for more security
397 #################################
398 # signing-threads Default number of signer threads to start
402 #################################
403 # slave Act as a slave
407 #################################
408 # slave-cycle-interval Reschedule failed SOA serial checks once every .. seconds
410 # slave-cycle-interval=60
412 #################################
413 # slave-renotify If we should send out notifications for slaved updates
417 #################################
418 # smtpredirector Our smtpredir MX host
420 # smtpredirector=a.misconfigured.powerdns.smtp.server
422 #################################
423 # soa-expire-default Default SOA expire
425 # soa-expire-default=604800
427 #################################
428 # soa-minimum-ttl Default SOA minimum ttl
430 # soa-minimum-ttl=3600
432 #################################
433 # soa-refresh-default Default SOA refresh
435 # soa-refresh-default=10800
437 #################################
438 # soa-retry-default Default SOA retry
440 # soa-retry-default=3600
442 #################################
443 # soa-serial-offset Make sure that no SOA serial is less than this number
445 # soa-serial-offset=0
447 #################################
448 # socket-dir Where the controlsocket will live
450 # socket-dir=/var/run
452 #################################
453 # tcp-control-address If set, PowerDNS can be controlled over TCP on this address
455 # tcp-control-address=
457 #################################
458 # tcp-control-port If set, PowerDNS can be controlled over TCP on this address
460 # tcp-control-port=53000
462 #################################
463 # tcp-control-range If set, remote control of PowerDNS is possible over these networks only
465 # tcp-control-range=127.0.0.0/8, 10.0.0.0/8, 192.168.0.0/16, 172.16.0.0/12, ::1/128, fe80::/10
467 #################################
468 # tcp-control-secret If set, PowerDNS can be controlled over TCP after passing this secret
470 # tcp-control-secret=
472 #################################
473 # traceback-handler Enable the traceback handler (Linux only)
475 # traceback-handler=yes
477 #################################
478 # trusted-notification-proxy IP address of incoming notification proxy
480 # trusted-notification-proxy=
482 #################################
483 # udp-truncation-threshold Maximum UDP response size before we truncate
485 # udp-truncation-threshold=1680
487 #################################
488 # urlredirector Where we send hosts to that need to be url redirected
490 # urlredirector=127.0.0.1
492 #################################
493 # version-string PowerDNS version in packets - full, anonymous, powerdns or custom
495 # version-string=full
497 #################################
498 # webserver Start a webserver for monitoring
502 #################################
503 # webserver-address IP Address of webserver to listen on
505 # webserver-address=127.0.0.1
507 #################################
508 # webserver-allow-from Webserver access is only allowed from these subnets
510 # webserver-allow-from=0.0.0.0/0,::/0
512 #################################
513 # webserver-password Password required for accessing the webserver
515 # webserver-password=
517 #################################
518 # webserver-port Port of webserver to listen on
520 # webserver-port=8081
522 #################################
523 # webserver-print-arguments If the webserver should print arguments
525 # webserver-print-arguments=no
527 #################################
528 # wildcard-url Process URL and MBOXFW records