]> git.ipfire.org Git - thirdparty/pdns.git/blob - docs/settings.rst
Merge pull request #8030 from rgacogne/ddist-tcp-enotconn-read-bsd
[thirdparty/pdns.git] / docs / settings.rst
1 Authoritative Server Settings
2 =============================
3
4 All PowerDNS Authoritative Server settings are listed here, excluding
5 those that originate from backends, which are documented in the relevant
6 chapters. These settings can be set inside ``pdns.conf`` or on the
7 commandline when invoking the ``pdns`` binary.
8
9 You can use ``+=`` syntax to set some variables incrementally, but this
10 requires you to have at least one non-incremental setting for the
11 variable to act as base setting. This is mostly useful for
12 :ref:`setting-include-dir` directive.
13
14 For boolean settings, specifying the name of the setting without a value
15 means ``yes``.
16
17 .. _setting-8bit-dns:
18
19 ``8bit-dns``
20 ------------
21
22 - Boolean
23 - Default: no
24
25 .. versionadded:: 4.0.0
26
27 Allow 8 bit DNS queries.
28
29 .. _setting-allow-axfr-ips:
30
31 ``allow-axfr-ips``
32 ------------------
33
34 - IP ranges, separated by commas
35 - Default: 127.0.0.0/8,::1
36
37 If set, only these IP addresses or netmasks will be able to perform
38 AXFR.
39
40 .. _setting-allow-dnsupdate-from:
41
42 ``allow-dnsupdate-from``
43 ------------------------
44
45 - IP ranges, separated by commas
46 - Default: 127.0.0.0/8,::1
47
48 Allow DNS updates from these IP ranges. Set to empty string to honour ``ALLOW-DNSUPDATE-FROM`` in :ref:`metadata-allow-dnsupdate-from`.
49
50 .. _setting-allow-notify-from:
51
52 ``allow-notify-from``
53 ---------------------
54
55 - IP ranges, separated by commas
56 - Default: 0.0.0.0/0,::/0
57
58 Allow AXFR NOTIFY from these IP ranges. Setting this to an empty string
59 will drop all incoming notifies.
60
61 .. _setting-allow-recursion:
62
63 ``allow-recursion``
64 -------------------
65
66 - IP ranges, separated by commas
67 - Default: 0.0.0.0/0
68
69 .. deprecated:: 4.1.0
70 Recursion has been removed, see :doc:`guides/recursion`
71
72 By specifying ``allow-recursion``, recursion can be restricted to
73 netmasks specified. The default is to allow recursion from everywhere.
74 Example: ``allow-recursion=198.51.100.0/24, 10.0.0.0/8, 192.0.2.4``.
75
76 .. _setting-allow-unsigned-notify:
77
78 ``allow-unsigned-notify``
79 -------------------------
80
81 - Boolean
82 - Default: yes
83
84 .. versionadded:: 4.0.0
85
86 Turning this off requires all notifications that are received to be
87 signed by valid TSIG signature for the zone.
88
89 .. _setting-allow-unsigned-supermaster:
90
91 ``allow-unsigned-supermaster``
92 ------------------------------
93
94 - Boolean
95 - Default: yes
96
97 .. versionadded:: 4.0.0
98
99 Turning this off requires all supermaster notifications to be signed by
100 valid TSIG signature. It will accept any existing key on slave.
101
102 .. _setting-also-notify:
103
104 ``also-notify``
105 ---------------
106
107 - IP addresses, separated by commas
108
109 When notifying a domain, also notify these nameservers. Example:
110 ``also-notify=192.0.2.1, 203.0.113.167``. The IP addresses listed in
111 ``also-notify`` always receive a notification. Even if they do not match
112 the list in :ref:`setting-only-notify`.
113
114 .. _setting-any-to-tcp:
115
116 ``any-to-tcp``
117 --------------
118
119 - Boolean
120 - Default: yes
121
122 .. versionchanged:: 4.0.1
123 was 'no' before.
124
125 Answer questions for the ANY on UDP with a truncated packet that refers
126 the remote server to TCP. Useful for mitigating reflection attacks.
127
128 .. _setting-api:
129
130 ``api``
131 -------
132
133 - Boolean
134 - Default: no
135
136 Enable/disable the :doc:`http-api/index`.
137
138 .. _setting-api-key:
139
140 ``api-key``
141 -----------
142
143 - String
144
145 .. versionadded:: 4.0.0
146
147 Static pre-shared authentication key for access to the REST API.
148
149 .. _setting-api-readonly:
150
151 ``api-readonly``
152 ----------------
153
154 - Boolean
155 - Default: no
156
157 .. versionadded:: 4.0.0
158 .. versionchanged:: 4.2.0
159 This setting has been removed in 4.2.0.
160
161 Disallow data modification through the REST API when set.
162
163 .. _setting-axfr-lower-serial:
164
165 ``axfr-lower-serial``
166 ---------------------
167
168 - Boolean
169 - Default: no
170
171 .. versionadded:: 4.0.4
172
173 Also AXFR a zone from a master with a lower serial.
174
175 .. _setting-cache-ttl:
176
177 ``cache-ttl``
178 -------------
179
180 - Integer
181 - Default: 20
182
183 Seconds to store packets in the :ref:`packet-cache`. A value of 0 will disable the cache.
184
185 .. _setting-carbon-instance:
186
187 ``carbon-instance``
188 -------------------
189
190 - String
191 - Default: auth
192
193 .. versionadded:: 4.2.0
194
195 Set the instance or third string of the metric key. Be careful not to include
196 any dots in this setting, unless you know what you are doing.
197 See :ref:`metricscarbon`
198
199 .. _setting-carbon-interval:
200
201 ``carbon-interval``
202 -------------------
203
204 - Integer
205 - Default: 30
206
207 If sending carbon updates, this is the interval between them in seconds.
208 See :ref:`metricscarbon`.
209
210 .. _setting-carbon-namespace:
211
212 ``carbon-namespace``
213 --------------------
214
215 - String
216 - Default: pdns
217
218 .. versionadded:: 4.2.0
219
220 Set the namespace or first string of the metric key. Be careful not to include
221 any dots in this setting, unless you know what you are doing.
222 See :ref:`metricscarbon`
223
224 .. _setting-carbon-ourname:
225
226 ``carbon-ourname``
227 ------------------
228
229 - String
230 - Default: the hostname of the server
231
232 If sending carbon updates, if set, this will override our hostname. Be
233 careful not to include any dots in this setting, unless you know what
234 you are doing. See :ref:`metricscarbon`
235
236 .. _setting-carbon-server:
237
238 ``carbon-server``
239 -----------------
240
241 - IP Address
242
243 Send all available metrics to this server via the carbon protocol, which
244 is used by graphite and metronome. It has to be an address (no
245 hostnames). Moreover you can specify more than one server using a comma delimited list, ex:
246 carbon-server=10.10.10.10,10.10.10.20.
247 You may specify an alternate port by appending :port, ex:
248 127.0.0.1:2004. See :ref:`metricscarbon`.
249
250 .. _setting-chroot:
251
252 ``chroot``
253 ----------
254
255 - Path
256
257 If set, chroot to this directory for more security. See :doc:`security`.
258
259 Make sure that ``/dev/log`` is available from within the chroot. Logging
260 will silently fail over time otherwise (on logrotate).
261
262 When setting ``chroot``, all other paths in the config (except for
263 :ref:`setting-config-dir` and :ref:`setting-module-dir`)
264 set in the configuration are relative to the new root.
265
266 When running on a system where systemd manages services, ``chroot`` does
267 not work out of the box, as PowerDNS cannot use the ``NOTIFY_SOCKET``.
268 Either don't ``chroot`` on these systems or set the 'Type' of the this
269 service to 'simple' instead of 'notify' (refer to the systemd
270 documentation on how to modify unit-files)
271
272 .. _setting-config-dir:
273
274 ``config-dir``
275 --------------
276
277 - Path
278
279 Location of configuration directory (``pdns.conf``). Usually
280 ``/etc/powerdns``, but this depends on ``SYSCONFDIR`` during
281 compile-time.
282
283 .. _setting-config-name:
284
285 ``config-name``
286 ---------------
287
288 - String
289
290 Name of this virtual configuration - will rename the binary image. See
291 :doc:`guides/virtual-instances`.
292
293 .. _setting-control-console:
294
295 ``control-console``
296 -------------------
297
298 Debugging switch - don't use.
299
300 .. _setting-daemon:
301
302 ``daemon``
303 ----------
304
305 - Boolean
306 - Default: no
307
308 Operate as a daemon.
309
310 .. _setting-default-api-rectify:
311
312 ``default-api-rectify``
313 -----------------------
314 - Boolean
315 - Default: yes
316
317 .. versionadded:: 4.2.0
318
319 The value of :ref:`metadata-api-rectify` if it is not set on the zone.
320
321 .. note::
322 Pre 4.2.0 the default was always no.
323
324 .. _setting-default-ksk-algorithms:
325 .. _setting-default-ksk-algorithm:
326
327 ``default-ksk-algorithm``
328 -------------------------
329
330 - String
331 - Default: ecdsa256
332
333 .. versionchanged:: 4.1.0
334 Renamed from ``default-ksk-algorithms``. No longer supports multiple algorithm names.
335
336 The algorithm that should be used for the KSK when running
337 :doc:`pdnsutil secure-zone <manpages/pdnsutil.1>` or using the :doc:`Zone API endpoint <http-api/cryptokey>`
338 to enable DNSSEC. Must be one of:
339
340 * rsasha1
341 * rsasha256
342 * rsasha512
343 * ecdsa256 (ECDSA P-256 with SHA256)
344 * ecdsa384 (ECDSA P-384 with SHA384)
345 * ed25519
346 * ed448
347
348 .. note::
349 Actual supported algorithms depend on the crypto-libraries
350 PowerDNS was compiled against. To check the supported DNSSEC algoritms
351 in your build of PowerDNS, run ``pdnsutil list-algorithms``.
352
353 .. _setting-default-ksk-size:
354
355 ``default-ksk-size``
356 --------------------
357
358 - Integer
359 - Default: whichever is default for `default-ksk-algorithm`_
360
361 The default keysize for the KSK generated with :doc:`pdnsutil secure-zone <dnssec/pdnsutil>`.
362 Only relevant for algorithms with non-fixed keysizes (like RSA).
363
364 .. _setting-default-soa-edit:
365
366 ``default-soa-edit``
367 --------------------
368
369 - String
370 - Default: empty
371
372 Use this soa-edit value for all zones if no
373 :ref:`metadata-soa-edit` metadata value is set.
374
375 .. _setting-default-soa-edit-signed:
376
377 ``default-soa-edit-signed``
378 ---------------------------
379
380 - String
381 - Default: empty
382
383 Use this soa-edit value for all signed zones if no
384 :ref:`metadata-soa-edit` metadata value is set.
385 Overrides :ref:`setting-default-soa-edit`
386
387 .. _setting-default-soa-mail:
388
389 ``default-soa-mail``
390 --------------------
391
392 - String
393
394 .. deprecated:: 4.2.0
395 This setting has been deprecated and will be removed in 4.3.0
396
397 Mail address to insert in the SOA record if none set in the backend.
398
399 .. _setting-default-soa-name:
400
401 ``default-soa-name``
402 --------------------
403
404 - String
405 - Default: a.misconfigured.powerdns.server
406
407 .. deprecated:: 4.2.0
408 This setting has been deprecated and will be removed in 4.3.0
409
410 Name to insert in the SOA record if none set in the backend.
411
412 .. _setting-default-ttl:
413
414 ``default-ttl``
415 ---------------
416
417 - Integer
418 - Default: 3600
419
420 TTL to use when none is provided.
421
422 .. _setting-default-zsk-algorithms:
423 .. _setting-default-zsk-algorithm:
424
425 ``default-zsk-algorithm``
426 --------------------------
427
428 - String
429 - Default: (empty)
430
431 .. versionchanged:: 4.1.0
432 Renamed from ``default-zsk-algorithms``. Does no longer support multiple algorithm names.
433
434 The algorithm that should be used for the ZSK when running
435 :doc:`pdnsutil secure-zone <manpages/pdnsutil.1>` or using the :doc:`Zone API endpoint <http-api/cryptokey>`
436 to enable DNSSEC. Must be one of:
437
438 * rsasha1
439 * rsasha256
440 * rsasha512
441 * ecdsa256 (ECDSA P-256 with SHA256)
442 * ecdsa384 (ECDSA P-384 with SHA384)
443 * ed25519
444 * ed448
445
446 .. note::
447 Actual supported algorithms depend on the crypto-libraries
448 PowerDNS was compiled against. To check the supported DNSSEC algoritms
449 in your build of PowerDNS, run ``pdnsutil list-algorithms``.
450
451 .. _setting-default-zsk-size:
452
453 ``default-zsk-size``
454 --------------------
455
456 - Integer
457 - Default: 0 (automatic default for `default-zsk-algorithm`_)
458
459 The default keysize for the ZSK generated with :doc:`pdnsutil secure-zone <dnssec/pdnsutil>`.
460 Only relevant for algorithms with non-fixed keysizes (like RSA).
461
462 .. _setting-direct-dnskey:
463
464 ``direct-dnskey``
465 -----------------
466
467 - Boolean
468 - Default: no
469
470 Read additional DNSKEY, CDS and CDNSKEY records from the records table/your BIND zonefile. If not
471 set, DNSKEY, CDS and CDNSKEY records in the zonefiles are ignored.
472
473 .. _setting-disable-axfr:
474
475 ``disable-axfr``
476 ----------------
477
478 - Boolean
479 - Default: no
480
481 Do not allow zone transfers.
482
483 .. _setting-disable-axfr-rectify:
484
485 ``disable-axfr-rectify``
486 ------------------------
487
488 - Boolean
489 - Default: no
490
491 Disable the rectify step during an outgoing AXFR. Only required for
492 regression testing.
493
494 .. _setting-disable-syslog:
495
496 ``disable-syslog``
497 ------------------
498
499 - Boolean
500 - Default: no
501
502 Do not log to syslog, only to stdout. Use this setting when running
503 inside a supervisor that handles logging (like systemd).
504
505 .. warning::
506 Do not use this setting in combination with :ref:`setting-daemon` as all
507 logging will disappear.
508
509 .. _setting-disable-tcp:
510
511 ``disable-tcp``
512 ---------------
513
514 - Boolean
515 - Default: no
516
517 .. versionchanged:: 4.2.0
518 This setting has been removed
519
520 Do not listen to TCP queries. Breaks RFC compliance.
521
522 .. _setting-distributor-threads:
523
524 ``distributor-threads``
525 -----------------------
526
527 - Integer
528 - Default: 3
529
530 Number of Distributor (backend) threads to start per receiver thread.
531 See :doc:`performance`.
532
533 .. _setting-dname-processing:
534
535 ``dname-processing``
536 --------------------
537
538 - Boolean
539 - Default: no
540
541 Synthesise CNAME records from DNAME records as required. This
542 approximately doubles query load. **Do not combine with DNSSEC!**
543
544 .. _setting-dnssec-key-cache-ttl:
545
546 ``dnssec-key-cache-ttl``
547 ------------------------
548
549 - Integer
550 - Default: 30
551
552 Seconds to cache DNSSEC keys from the database. A value of 0 disables
553 caching.
554
555 .. _setting-dnsupdate:
556
557 ``dnsupdate``
558 -------------
559
560 - Boolean
561 - Default: no
562
563 Enable/Disable DNS update (RFC2136) support. See :doc:`dnsupdate` for more.
564
565 .. _setting-do-ipv6-additional-processing:
566
567 ``do-ipv6-additional-processing``
568 ---------------------------------
569
570 - Boolean
571 - Default: yes
572
573 Perform AAAA additional processing. This sends AAAA records in the
574 ADDITIONAL section when sending a referral.
575
576 .. _setting-domain-metadata-cache-ttl:
577
578 ``domain-metadata-cache-ttl``
579 -----------------------------
580
581 - Integer
582 - Default: 60
583
584 Seconds to cache domain metadata from the database. A value of 0
585 disables caching.
586
587 .. _setting-edns-subnet-processing:
588
589 ``edns-subnet-processing``
590 --------------------------
591
592 - Boolean
593 - Default: no
594
595 Enables EDNS subnet processing, for backends that support it.
596
597 .. _setting-enable-lua-records:
598
599 ``enable-lua-records``
600 ----------------------
601
602 - One of ``no``, ``yes`` (or empty), or ``shared``, String
603 - Default: no
604
605 .. versionadded:: 4.2.0
606
607 Globally enable the :doc:`LUA records <lua-records/index>` feature.
608
609 To use shared LUA states, set this to ``shared``, see :ref:`lua-records-shared-state`.
610
611 .. _setting-entropy-source:
612
613 ``entropy-source``
614 ------------------
615
616 - Path
617 - Default: /dev/urandom
618
619 Entropy source file to use.
620
621 .. _setting-expand-alias:
622
623 ``expand-alias``
624 ----------------
625
626 - Boolean
627 - Default: no
628
629 .. versionadded:: 4.1.0
630
631 If this is enabled, ALIAS records are expanded (synthesised to their
632 A/AAAA).
633
634 If this is disabled (the default), ALIAS records will not be expanded and
635 the server will will return NODATA for A/AAAA queries for such names.
636
637 .. note::
638 :ref:`setting-resolver` must also be set for ALIAS expansion to work!
639
640 .. note::
641 In PowerDNS Authoritative Server 4.0.x, this setting did not exist and
642 ALIAS was always expanded.
643
644 .. _setting-forward-dnsupdate:
645
646 ``forward-dnsupdate``
647 ---------------------
648
649 - Boolean
650 - Default: no
651
652 Forward DNS updates sent to a slave to the master.
653
654 .. _setting-forward-notify:
655
656 ``forward-notify``
657 ------------------
658
659 - IP addresses, separated by commas
660
661 IP addresses to forward received notifications to regardless of master
662 or slave settings.
663
664 .. note::
665 The intended use is in anycast environments where it might be
666 necessary for a proxy server to perform the AXFR. The usual checks are
667 performed before any received notification is forwarded.
668
669 .. _setting-guardian:
670
671 ``guardian``
672 ------------
673
674 - Boolean
675 - Default: no
676
677 Run within a guardian process. See :ref:`running-guardian`.
678
679 .. _setting-include-dir:
680
681 ``include-dir``
682 ---------------
683
684 - Path
685
686 Directory to scan for additional config files. All files that end with
687 .conf are loaded in order using ``POSIX`` as locale.
688
689 .. _setting-launch:
690
691 ``launch``
692 ----------
693
694 - Backend names, separated by commas
695
696 Which backends to launch and order to query them in. Launches backends.
697 In its most simple form, supply all backends that need to be launched.
698 e.g.
699
700 .. code-block:: ini
701
702 launch=bind,gmysql,remote
703
704 If you find that you need to query a backend multiple times with
705 different configuration, you can specify a name for later
706 instantiations. e.g.:
707
708 .. code-block:: ini
709
710 launch=gmysql,gmysql:server2
711
712 In this case, there are 2 instances of the gmysql backend, one by the
713 normal name and the second one is called 'server2'. The backend
714 configuration item names change: e.g. ``gmysql-host`` is available to
715 configure the ``host`` setting of the first or main instance, and
716 ``gmysql-server2-host`` for the second one.
717
718 Running multiple instances of the BIND backend is not allowed.
719
720 .. _setting-load-modules:
721
722 ``load-modules``
723 ----------------
724
725 - Paths, separated by commas
726
727 If backends are available in nonstandard directories, specify their
728 location here. Multiple files can be loaded if separated by commas. Only
729 available in non-static distributions.
730
731 .. _setting-local-address:
732
733 ``local-address``
734 -----------------
735
736 - IPv4 Addresses, separated by commas or whitespace
737 - Default: 0.0.0.0
738
739 Local IP address to which we bind. It is highly advised to bind to
740 specific interfaces and not use the default 'bind to any'. This causes
741 big problems if you have multiple IP addresses. Unix does not provide a
742 way of figuring out what IP address a packet was sent to when binding to
743 any.
744
745 .. _setting-local-address-nonexist-fail:
746
747 ``local-address-nonexist-fail``
748 -------------------------------
749
750 - Boolean
751 - Default: no
752
753 Fail to start if one or more of the
754 :ref:`setting-local-address`'s do not exist on this server.
755
756 .. _setting-local-ipv6:
757
758 ``local-ipv6``
759 --------------
760
761 - IPv6 Addresses, separated by commas or whitespace
762 - Default: '::'
763
764 Local IPv6 address to which we bind. It is highly advised to bind to
765 specific interfaces and not use the default 'bind to any'. This causes
766 big problems if you have multiple IP addresses.
767
768 .. _setting-local-ipv6-nonexist-fail:
769
770 ``local-ipv6-nonexist-fail``
771 ----------------------------
772
773 - Boolean
774 - Default: no
775
776 Fail to start if one or more of the :ref:`setting-local-ipv6`
777 addresses do not exist on this server.
778
779 .. _setting-local-port:
780
781 ``local-port``
782 --------------
783
784 - Integer
785 - Default: 53
786
787 The port on which we listen. Only one port possible.
788
789 .. _setting-log-dns-details:
790
791 ``log-dns-details``
792 -------------------
793
794 - Boolean
795 - Default: no
796
797 If set to 'no', informative-only DNS details will not even be sent to
798 syslog, improving performance.
799
800 .. _setting-log-dns-queries:
801
802 ``log-dns-queries``
803 -------------------
804
805 - Boolean
806 - Default: no
807
808 Tell PowerDNS to log all incoming DNS queries. This will lead to a lot
809 of logging! Only enable for debugging! Set :ref:`setting-loglevel`
810 to at least 5 to see the logs.
811
812 .. _setting-log-timestamp:
813
814 ``log-timestamp``
815 -----------------
816
817 - Bool
818 - Default: yes
819
820 .. versionadded:: 4.1.0
821
822 When printing log lines to stdout, prefix them with timestamps.
823 Disable this if the process supervisor timestamps these lines already.
824
825 .. note::
826 The systemd unit file supplied with the source code already disables timestamp printing
827
828 .. _setting-logging-facility:
829
830 ``logging-facility``
831 --------------------
832
833 If set to a digit, logging is performed under this LOCAL facility. See :ref:`logging-to-syslog`.
834 Do not pass names like 'local0'!
835
836 .. _setting-loglevel:
837
838 ``loglevel``
839 ------------
840
841 - Integer
842 - Default: 4
843
844 Amount of logging. Higher is more. Do not set below 3. Corresponds to "syslog" level values,
845 e.g. error = 3, warning = 4, notice = 5, info = 6
846
847 .. _setting-lua-axfr-script:
848
849 ``lua-axfr-script``
850 -------------------
851
852 - String
853 - Default: empty
854
855 .. versionadded:: 4.1.0
856
857 Script to be used to edit incoming AXFRs, see :ref:`modes-of-operation-axfrfilter`
858
859 .. _setting-lua-prequery-script:
860
861 ``lua-prequery-script``
862 -----------------------
863
864 - Path
865
866 Lua script to run before answering a query. This is a feature used
867 internally for regression testing. The API of this functionality is not
868 guaranteed to be stable, and is in fact likely to change.
869
870 .. _setting-lua-records-exec-limit:
871
872 ``lua-records-exec-limit``
873 -----------------------------
874
875 - Integer
876 - Default: 1000
877
878 Limit LUA records scripts to ``lua-records-exec-limit`` instructions.
879 Setting this to any value less than or equal to 0 will set no limit.
880
881 .. _setting-master:
882
883 ``master``
884 ----------
885
886 - Boolean
887 - Default: no
888
889 Turn on master support. See :ref:`master-operation`.
890
891 .. _setting-max-cache-entries:
892
893 ``max-cache-entries``
894 ---------------------
895
896 - Integer
897 - Default: 1000000
898
899 .. versionchanged:: 4.1.0
900 The packet and query caches are distinct. Previously, this setting was used for
901 both the packet and query caches. See :ref:`setting-max-packet-cache-entries` for
902 the packet-cache setting.
903
904 Maximum number of entries in the query cache. 1 million (the default)
905 will generally suffice for most installations.
906
907 .. _setting-max-ent-entries:
908
909 ``max-ent-entries``
910 -------------------
911
912 - Integer
913 - Default: 100000
914
915 Maximum number of empty non-terminals to add to a zone. This is a
916 protection measure to avoid database explosion due to long names.
917
918 .. _setting-max-nsec3-iterations:
919
920 ``max-nsec3-iterations``
921 ------------------------
922
923 - Integer
924 - Default: 500
925
926 Limit the number of NSEC3 hash iterations for zone configurations.
927 For more information see :ref:`dnssec-operational-nsec-modes-params`.
928
929 .. _setting-max-packet-cache-entries:
930
931 ``max-packet-cache-entries``
932 ----------------------------
933
934 - Integer
935 - Default: 1000000
936
937 .. versionadded:: 4.1.0
938
939 Maximum number of entries in the packet cache. 1 million (the default)
940 will generally suffice for most installations.
941
942 .. _setting-max-queue-length:
943
944 ``max-queue-length``
945 --------------------
946
947 - Integer
948 - Default: 5000
949
950 If this many packets are waiting for database attention, consider the
951 situation hopeless and respawn.
952
953 .. _setting-max-signature-cache-entries:
954
955 ``max-signature-cache-entries``
956 -------------------------------
957
958 - Integer
959 - Default: 2^31-1 (on most systems), 2^63-1 (on ILP64 systems)
960
961 Maximum number of signatures cache entries
962
963 .. _setting-max-tcp-connection-duration:
964
965 ``max-tcp-connection-duration``
966 -------------------------------
967
968 - Integer
969 - Default: 0
970
971 Maximum time in seconds that a TCP DNS connection is allowed to stay
972 open. 0 means unlimited. Note that exchanges related to an AXFR or IXFR
973 are not affected by this setting.
974
975 .. _setting-max-tcp-connections:
976
977 ``max-tcp-connections``
978 -----------------------
979
980 - Integer
981 - Default: 20
982
983 Allow this many incoming TCP DNS connections simultaneously.
984
985 .. _setting-max-tcp-connections-per-client:
986
987 ``max-tcp-connections-per-client``
988 ----------------------------------
989
990 - Integer
991 - Default: 0
992
993 Maximum number of simultaneous TCP connections per client. 0 means
994 unlimited.
995
996 .. _setting-max-tcp-transactions-per-conn:
997
998 ``max-tcp-transactions-per-conn``
999 ---------------------------------
1000
1001 - Integer
1002 - Default: 0
1003
1004 Allow this many DNS queries in a single TCP transaction. 0 means
1005 unlimited. Note that exchanges related to an AXFR or IXFR are not
1006 affected by this setting.
1007
1008 .. _setting-module-dir:
1009
1010 ``module-dir``
1011 --------------
1012
1013 - Path
1014
1015 Directory for modules. Default depends on ``PKGLIBDIR`` during
1016 compile-time.
1017
1018 .. _setting-negquery-cache-ttl:
1019
1020 ``negquery-cache-ttl``
1021 ----------------------
1022
1023 - Integer
1024 - Default: 60
1025
1026 Seconds to store queries with no answer in the Query Cache. See :ref:`query-cache`.
1027
1028 .. _setting-no-config:
1029
1030 ``no-config``
1031 -------------
1032
1033 - Boolean
1034 - Default: no
1035
1036 Do not attempt to read the configuration file. Useful for configuration
1037 by parameters from the command line only.
1038
1039 .. _setting-no-shuffle:
1040
1041 ``no-shuffle``
1042 --------------
1043
1044 - Boolean
1045 - Default: no
1046
1047 Do not attempt to shuffle query results, used for regression testing.
1048
1049 .. _setting-non-local-bind:
1050
1051 ``non-local-bind``
1052 ------------------
1053
1054 - Boolean
1055 - Default: no
1056
1057 Bind to addresses even if one or more of the
1058 :ref:`setting-local-address`'s do not exist on this server.
1059 Setting this option will enable the needed socket options to allow
1060 binding to non-local addresses. This feature is intended to facilitate
1061 ip-failover setups, but it may also mask configuration issues and for
1062 this reason it is disabled by default.
1063
1064 .. _setting-only-notify:
1065
1066 ``only-notify``
1067 ---------------
1068
1069 - IP Ranges, separated by commas or whitespace
1070 - Default: 0.0.0.0/0, ::/0
1071
1072 For type=MASTER zones (or SLAVE zones with slave-renotify enabled)
1073 PowerDNS automatically sends NOTIFYs to the name servers specified in
1074 the NS records. By specifying networks/mask as whitelist, the targets
1075 can be limited. The default is to notify the world. To completely
1076 disable these NOTIFYs set ``only-notify`` to an empty value. Independent
1077 of this setting, the IP addresses or netmasks configured with
1078 :ref:`setting-also-notify` and ``ALSO-NOTIFY`` domain metadata
1079 always receive AXFR NOTIFYs.
1080
1081 IP addresses and netmasks can be excluded by prefixing them with a ``!``.
1082 To notify all IP addresses apart from the 192.168.0.0/24 subnet use the following::
1083
1084 only-notify=0.0.0.0/0, ::/0, !192.168.0.0/24
1085
1086 .. note::
1087 Even if NOTIFYs are limited by a netmask, PowerDNS first has to
1088 resolve all the hostnames to check their IP addresses against the
1089 specified whitelist. The resolving may take considerable time,
1090 especially if those hostnames are slow to resolve. If you do not need to
1091 NOTIFY the slaves defined in the NS records (e.g. you are using another
1092 method to distribute the zone data to the slaves), then set
1093 :ref:`setting-only-notify` to an empty value and specify the notification targets
1094 explicitly using :ref:`setting-also-notify` and/or
1095 :ref:`metadata-also-notify` domain metadata to avoid this potential bottleneck.
1096
1097 .. note::
1098 If your slaves support an Internet Protocol version, which your master does not,
1099 then set ``only-notify`` to include only supported protocol version.
1100 Otherwise there will be error trying to resolve address.
1101
1102 For example, slaves support both IPv4 and IPv6, but PowerDNS master have only IPv4,
1103 so allow only IPv4 with ``only-notify``:
1104
1105 .. code-block:: ini
1106
1107 only-notify=0.0.0.0/0
1108
1109 .. _setting-out-of-zone-additional-processing:
1110
1111 ``out-of-zone-additional-processing``
1112 -------------------------------------
1113
1114 - Boolean
1115 - Default: yes
1116
1117 .. deprecated:: 4.2.0
1118 This setting has been removed.
1119
1120 Do out of zone additional processing. This means that if a malicious
1121 user adds a '.com' zone to your server, it is not used for other domains
1122 and will not contaminate answers. Do not enable this setting if you run
1123 a public DNS service with untrusted users.
1124
1125 The docs had previously indicated that the default was "no", but the
1126 default has been "yes" since 2005.
1127
1128 .. _setting-outgoing-axfr-expand-alias:
1129
1130 ``outgoing-axfr-expand-alias``
1131 ------------------------------
1132
1133 - Boolean
1134 - Default: no
1135
1136 If this is enabled, ALIAS records are expanded (synthesised to their
1137 A/AAAA) during outgoing AXFR. This means slaves will not automatically
1138 follow changes in those A/AAAA records unless you AXFR regularly!
1139
1140 If this is disabled (the default), ALIAS records are sent verbatim
1141 during outgoing AXFR. Note that if your slaves do not support ALIAS,
1142 they will return NODATA for A/AAAA queries for such names.
1143
1144 .. _setting-overload-queue-length:
1145
1146 ``overload-queue-length``
1147 -------------------------
1148
1149 - Integer
1150 - Default: 0 (disabled)
1151
1152 If this many packets are waiting for database attention, answer any new
1153 questions strictly from the packet cache.
1154
1155 .. _setting-prevent-self-notification:
1156
1157 ``prevent-self-notification``
1158 -----------------------------
1159
1160 - Boolean
1161 - Default: yes
1162
1163 PowerDNS Authoritative Server attempts to not send out notifications to
1164 itself in master mode. In very complicated situations we could guess
1165 wrong and not notify a server that should be notified. In that case, set
1166 prevent-self-notification to "no".
1167
1168 .. _setting-query-cache-ttl:
1169
1170 ``query-cache-ttl``
1171 -------------------
1172
1173 - Integer
1174 - Default: 20
1175
1176 Seconds to store queries with an answer in the Query Cache. See :ref:`query-cache`.
1177
1178 .. _setting-query-local-address:
1179
1180 ``query-local-address``
1181 -----------------------
1182
1183 - IPv4 Address
1184 - Default: 0.0.0.0
1185
1186 The IP address to use as a source address for sending queries. Useful if
1187 you have multiple IPs and PowerDNS is not bound to the IP address your
1188 operating system uses by default for outgoing packets.
1189
1190 .. _setting-query-local-address6:
1191
1192 ``query-local-address6``
1193 ------------------------
1194
1195 - IPv6 Address
1196 - Default: '::'
1197
1198 Source IP address for sending IPv6 queries.
1199
1200 .. _setting-query-logging:
1201
1202 ``query-logging``
1203 -----------------
1204
1205 - Boolean
1206 - Default: no
1207
1208 Boolean, hints to a backend that it should log a textual representation
1209 of queries it performs. Can be set at runtime.
1210
1211 .. _setting-queue-limit:
1212
1213 ``queue-limit``
1214 ---------------
1215
1216 - Integer
1217 - Default: 1500
1218
1219 Maximum number of milliseconds to queue a query. See :doc:`performance`.
1220
1221 .. _setting-receiver-threads:
1222
1223 ``receiver-threads``
1224 --------------------
1225
1226 - Integer
1227 - Default: 1
1228
1229 Number of receiver (listening) threads to start. See :doc:`performance`.
1230
1231 .. _setting-recursive-cache-ttl:
1232
1233 ``recursive-cache-ttl``
1234 -----------------------
1235
1236 - Integer
1237 - Default: 10
1238
1239 .. deprecated:: 4.1.0
1240 Recursion has been removed, see :doc:`guides/recursion`
1241
1242 Seconds to store recursive packets in the :ref:`packet-cache`.
1243
1244 .. _setting-recursor:
1245
1246 ``recursor``
1247 ------------
1248
1249 - IP Address
1250
1251 .. deprecated:: 4.1.0
1252 Recursion has been removed, see :doc:`guides/recursion`
1253
1254 If set, recursive queries will be handed to the recursor specified here.
1255
1256 .. _setting-resolver:
1257
1258 ``resolver``
1259 ------------
1260
1261 - IP Addresses with optional port, separated by commas
1262
1263 .. versionadded:: 4.1.0
1264
1265 Use these resolver addresses for ALIAS and the internal stub resolver.
1266 If this is not set, ``/etc/resolv.conf`` is parsed for upstream
1267 resolvers.
1268
1269 .. _setting-retrieval-threads:
1270
1271 ``retrieval-threads``
1272 ---------------------
1273
1274 - Integer
1275 - Default: 2
1276
1277 Number of AXFR slave threads to start.
1278
1279 .. _setting-reuseport:
1280
1281 ``reuseport``
1282 -------------
1283
1284 - Boolean
1285 - Default: No
1286
1287 On Linux 3.9 and some BSD kernels the ``SO_REUSEPORT`` option allows
1288 each receiver-thread to open a new socket on the same port which allows
1289 for much higher performance on multi-core boxes. Setting this option
1290 will enable use of ``SO_REUSEPORT`` when available and seamlessly fall
1291 back to a single socket when it is not available. A side-effect is that
1292 you can start multiple servers on the same IP/port combination which may
1293 or may not be a good idea. You could use this to enable transparent
1294 restarts, but it may also mask configuration issues and for this reason
1295 it is disabled by default.
1296
1297 .. _setting-rng:
1298
1299 ``rng``
1300 -------
1301
1302 - String
1303 - Default: auto
1304
1305 Specify which random number generator to use. Permissible choises are:
1306
1307 - auto - choose automatically
1308 - sodium - Use libsodium ``randombytes_uniform``
1309 - openssl - Use libcrypto ``RAND_bytes``
1310 - getrandom - Use libc getrandom, falls back to urandom if it does not really work
1311 - arc4random - Use BSD ``arc4random_uniform``
1312 - urandom - Use ``/dev/urandom``
1313 - kiss - Use simple settable deterministic RNG. **FOR TESTING PURPOSES ONLY!**
1314
1315 .. note::
1316 Not all choises are available on all systems.
1317
1318 .. _setting-security-poll-suffix:
1319
1320 ``security-poll-suffix``
1321 ------------------------
1322
1323 - String
1324 - Default: secpoll.powerdns.com.
1325
1326 Domain name from which to query security update notifications. Setting
1327 this to an empty string disables secpoll.
1328
1329 .. _setting-send-signed-notify:
1330
1331 ``send-signed-notify``
1332 ----------------------
1333
1334 - Boolean
1335 - Default: yes
1336
1337 If yes, outgoing NOTIFYs will be signed if a TSIG key is configured for the zone.
1338 If there are multiple TSIG keys configured for a domain, PowerDNS will use the
1339 first one retrieved from the backend, which may not be the correct one for the
1340 respective slave. Hence, in setups with multiple slaves with different TSIG keys
1341 it may be required to send NOTIFYs unsigned.
1342
1343 .. _setting-server-id:
1344
1345 ``server-id``
1346 -------------
1347
1348 - String
1349 - Default: The hostname of the server
1350
1351 This is the server ID that will be returned on an EDNS NSID query.
1352
1353 .. _setting-setgid:
1354
1355 ``setgid``
1356 ----------
1357
1358 - String
1359
1360 If set, change group id to this gid for more security. See :doc:`security`.
1361
1362 .. _setting-setuid:
1363
1364 ``setuid``
1365 ----------
1366
1367 - String
1368
1369 If set, change user id to this uid for more security. See :doc:`security`.
1370
1371 .. _setting-signing-threads:
1372
1373 ``signing-threads``
1374 -------------------
1375
1376 - Integer
1377 - Default: 3
1378
1379 Tell PowerDNS how many threads to use for signing. It might help improve
1380 signing speed by changing this number.
1381
1382 .. _setting-slave:
1383
1384 ``slave``
1385 ---------
1386
1387 - Boolean
1388 - Default: no
1389
1390 Turn on slave support. See :ref:`slave-operation`.
1391
1392 .. _setting-slave-cycle-interval:
1393
1394 ``slave-cycle-interval``
1395 ------------------------
1396
1397 - Integer
1398 - Default: 60
1399
1400 On a master, this is the amount of seconds between the master checking
1401 the SOA serials in its database to determine to send out NOTIFYs to the
1402 slaves. On slaves, this is the number of seconds between the slave
1403 checking for updates to zones.
1404
1405 .. _setting-slave-renotify:
1406
1407 ``slave-renotify``
1408 ------------------
1409
1410 - Boolean
1411 - Default: no
1412
1413 This setting will make PowerDNS renotify the slaves after an AXFR is
1414 *received* from a master. This is useful when using when running a
1415 signing-slave.
1416
1417 .. _setting-soa-expire-default:
1418
1419 ``soa-expire-default``
1420 ----------------------
1421
1422 - Integer
1423 - Default: 604800
1424
1425 .. deprecated:: 4.2.0
1426 This setting has been deprecated and will be removed in 4.3.0
1427
1428 Default :ref:`types-soa` expire.
1429
1430 .. _setting-soa-minimum-ttl:
1431
1432 ``soa-minimum-ttl``
1433 -------------------
1434
1435 - Integer
1436 - Default: 3600
1437
1438 .. deprecated:: 4.2.0
1439 This setting has been deprecated and will be removed in 4.3.0
1440
1441 Default :ref:`types-soa` minimum ttl.
1442
1443 .. _setting-soa-refresh-default:
1444
1445 ``soa-refresh-default``
1446 -----------------------
1447
1448 - Integer
1449 - Default: 10800
1450
1451 .. deprecated:: 4.2.0
1452 This setting has been deprecated and will be removed in 4.3.0
1453
1454 Default :ref:`types-soa` refresh.
1455
1456 .. _setting-soa-retry-default:
1457
1458 ``soa-retry-default``
1459 ---------------------
1460
1461 - Integer
1462 - Default: 3600
1463
1464 .. deprecated:: 4.2.0
1465 This setting has been deprecated and will be removed in 4.3.0
1466
1467 Default :ref:`types-soa` retry.
1468
1469 .. _setting-socket-dir:
1470
1471 ``socket-dir``
1472 --------------
1473
1474 - Path
1475
1476 Where the controlsocket will live. The default depends on
1477 ``LOCALSTATEDIR`` during compile-time (usually ``/var/run`` or
1478 ``/run``). See :ref:`control-socket`.
1479
1480 This path will also contain the pidfile for this instance of PowerDNS
1481 called ``pdns.pid`` by default. See :ref:`setting-config-name`
1482 and :doc:`Virtual Hosting <guides/virtual-instances>` how this can differ.
1483
1484 .. _setting-superslave:
1485
1486 ``superslave``
1487 ---------------
1488
1489 - Boolean
1490 - Default: no
1491
1492 .. versionadded:: 4.1.9
1493 In versions before 4.1.9, this setting did not exist and supermaster support
1494 was enabled by default.
1495
1496 .. versionchanged:: 4.2.0
1497 Before 4.2.0, the default was yes.
1498
1499 Turn on supermaster support. See :ref:`supermaster-operation`.
1500
1501 .. _setting-tcp-control-address:
1502
1503 ``tcp-control-address``
1504 -----------------------
1505
1506 - IP Address
1507
1508 Address to bind to for TCP control.
1509
1510 .. _setting-tcp-control-port:
1511
1512 ``tcp-control-port``
1513 --------------------
1514
1515 - Integer
1516 - Default: 53000
1517
1518 Port to bind to for TCP control.
1519
1520 .. _setting-tcp-control-range:
1521
1522 ``tcp-control-range``
1523 ---------------------
1524
1525 - IP Ranges, separated by commas or whitespace
1526
1527 Limit TCP control to a specific client range.
1528
1529 .. _setting-tcp-control-secret:
1530
1531 ``tcp-control-secret``
1532 ----------------------
1533
1534 - String
1535
1536 Password for TCP control.
1537
1538 .. _setting-tcp-fast-open:
1539
1540 ``tcp-fast-open``
1541 -----------------
1542
1543 - Integer
1544 - Default: 0 (Disabled)
1545
1546 .. versionadded:: 4.1.0
1547
1548 Enable TCP Fast Open support, if available, on the listening sockets.
1549 The numerical value supplied is used as the queue size, 0 meaning
1550 disabled.
1551
1552 .. _setting-tcp-idle-timeout:
1553
1554 ``tcp-idle-timeout``
1555 --------------------
1556
1557 - Integer
1558 - Default: 5
1559
1560 Maximum time in seconds that a TCP DNS connection is allowed to stay
1561 open while being idle, meaning without PowerDNS receiving or sending
1562 even a single byte.
1563
1564 .. _setting-traceback-handler:
1565
1566 ``traceback-handler``
1567 ---------------------
1568
1569 - Boolean
1570 - Default: yes
1571
1572 Enable the Linux-only traceback handler.
1573
1574 .. _setting-trusted-notification-proxy:
1575
1576 ``trusted-notification-proxy``
1577 ------------------------------
1578
1579 - String
1580
1581 IP address of incoming notification proxy
1582
1583 .. _setting-udp-truncation-threshold:
1584
1585 ``udp-truncation-threshold``
1586 ----------------------------
1587 .. versionchanged:: 4.2.0
1588 Before 4.2.0, the default was 1680
1589
1590 - Integer
1591 - Default: 1232
1592
1593 EDNS0 allows for large UDP response datagrams, which can potentially
1594 raise performance. Large responses however also have downsides in terms
1595 of reflection attacks. Maximum value is 65535, but values above
1596 4096 should probably not be attempted.
1597
1598 .. note:: Why 1232?
1599
1600 1232 is the largest number of payload bytes that can fit in the smallest IPv6 packet.
1601 IPv6 has a minimum MTU of 1280 bytes (:rfc:`RFC 8200, section 5 <8200#section-5>`), minus 40 bytes for the IPv6 header, minus 8 bytes for the UDP header gives 1232, the maximum payload size for the DNS response.
1602
1603 .. _setting-version-string:
1604
1605 ``version-string``
1606 ------------------
1607
1608 - Any of: ``anonymous``, ``powerdns``, ``full``, String
1609 - Default: full
1610
1611 When queried for its version over DNS
1612 (``dig chaos txt version.bind @pdns.ip.address``), PowerDNS normally
1613 responds truthfully. With this setting you can overrule what will be
1614 returned. Set the ``version-string`` to ``full`` to get the default
1615 behaviour, to ``powerdns`` to just make it state
1616 ``Served by PowerDNS - https://www.powerdns.com/``. The ``anonymous``
1617 setting will return a ServFail, much like Microsoft nameservers do. You
1618 can set this response to a custom value as well.
1619
1620 .. _setting-webserver:
1621
1622 ``webserver``
1623 -------------
1624
1625 - Boolean
1626 - Default: no
1627
1628 Start a webserver for monitoring. See :doc:`performance`".
1629
1630 .. versionchanged:: 4.1.0
1631 It was necessary to enable the webserver to use the REST API, this is no longer the case.
1632
1633 .. _setting-webserver-address:
1634
1635 ``webserver-address``
1636 ---------------------
1637
1638 - IP Address
1639 - Default: 127.0.0.1
1640
1641 IP Address for webserver/API to listen on.
1642
1643 .. _setting-webserver-allow-from:
1644
1645 ``webserver-allow-from``
1646 ------------------------
1647
1648 - IP ranges, separated by commas or whitespace
1649 - Default: 127.0.0.1,::1
1650
1651 .. versionchanged:: 4.1.0
1652
1653 Default is now 127.0.0.1,::1, was 0.0.0.0/0,::/0 before.
1654
1655 Webserver/API access is only allowed from these subnets.
1656
1657 .. _setting-webserver-loglevel:
1658
1659 ``webserver-loglevel``
1660 ----------------------
1661 .. versionadded:: 4.2.0
1662
1663 - String, one of "none", "normal", "detailed"
1664
1665 The amount of logging the webserver must do. "none" means no useful webserver information will be logged.
1666 When set to "normal", the webserver will log a line per request that should be familiar::
1667
1668 [webserver] e235780e-a5cf-415e-9326-9d33383e739e 127.0.0.1:55376 "GET /api/v1/servers/localhost/bla HTTP/1.1" 404 196
1669
1670 When set to "detailed", all information about the request and response are logged::
1671
1672 [webserver] e235780e-a5cf-415e-9326-9d33383e739e Request Details:
1673 [webserver] e235780e-a5cf-415e-9326-9d33383e739e Headers:
1674 [webserver] e235780e-a5cf-415e-9326-9d33383e739e accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
1675 [webserver] e235780e-a5cf-415e-9326-9d33383e739e accept-encoding: gzip, deflate
1676 [webserver] e235780e-a5cf-415e-9326-9d33383e739e accept-language: en-US,en;q=0.5
1677 [webserver] e235780e-a5cf-415e-9326-9d33383e739e connection: keep-alive
1678 [webserver] e235780e-a5cf-415e-9326-9d33383e739e dnt: 1
1679 [webserver] e235780e-a5cf-415e-9326-9d33383e739e host: 127.0.0.1:8081
1680 [webserver] e235780e-a5cf-415e-9326-9d33383e739e upgrade-insecure-requests: 1
1681 [webserver] e235780e-a5cf-415e-9326-9d33383e739e user-agent: Mozilla/5.0 (X11; Linux x86_64; rv:64.0) Gecko/20100101 Firefox/64.0
1682 [webserver] e235780e-a5cf-415e-9326-9d33383e739e No body
1683 [webserver] e235780e-a5cf-415e-9326-9d33383e739e Response details:
1684 [webserver] e235780e-a5cf-415e-9326-9d33383e739e Headers:
1685 [webserver] e235780e-a5cf-415e-9326-9d33383e739e Connection: close
1686 [webserver] e235780e-a5cf-415e-9326-9d33383e739e Content-Length: 49
1687 [webserver] e235780e-a5cf-415e-9326-9d33383e739e Content-Type: text/html; charset=utf-8
1688 [webserver] e235780e-a5cf-415e-9326-9d33383e739e Server: PowerDNS/0.0.15896.0.gaba8bab3ab
1689 [webserver] e235780e-a5cf-415e-9326-9d33383e739e Full body:
1690 [webserver] e235780e-a5cf-415e-9326-9d33383e739e <!html><title>Not Found</title><h1>Not Found</h1>
1691 [webserver] e235780e-a5cf-415e-9326-9d33383e739e 127.0.0.1:55376 "GET /api/v1/servers/localhost/bla HTTP/1.1" 404 196
1692
1693 The value between the hooks is a UUID that is generated for each request. This can be used to find all lines related to a single request.
1694
1695 .. note::
1696 The webserver logs these line on the NOTICE level. The :ref:`setting-loglevel` seting must be 5 or higher for these lines to end up in the log.
1697
1698 .. _setting-webserver-max-bodysize:
1699
1700 ``webserver-max-bodysize``
1701 --------------------------
1702 .. versionadded:: 4.2.0
1703
1704 - Integer
1705 - Default: 2
1706
1707 Maximum request/response body size in megabytes.
1708
1709 .. _setting-webserver-password:
1710
1711 ``webserver-password``
1712 ----------------------
1713
1714 - String
1715
1716 The plaintext password required for accessing the webserver.
1717
1718 .. _setting-webserver-port:
1719
1720 ``webserver-port``
1721 ------------------
1722
1723 - Integer
1724 - Default: 8081
1725
1726 The port where webserver/API will listen on.
1727
1728 .. _setting-webserver-print-arguments:
1729
1730 ``webserver-print-arguments``
1731 -----------------------------
1732
1733 - Boolean
1734 - Default: no
1735
1736 If the webserver should print arguments.
1737
1738 .. _setting-write-pid:
1739
1740 ``write-pid``
1741 -------------
1742
1743 - Boolean
1744 - Default: yes
1745
1746 If a PID file should be written.
1747
1748 .. _setting-xfr-max-received-mbytes:
1749
1750 ``xfr-max-received-mbytes``
1751 ---------------------------
1752
1753 - Integer
1754 - Default: 100
1755
1756 Specifies the maximum number of received megabytes allowed on an
1757 incoming AXFR/IXFR update, to prevent resource exhaustion. A value of 0
1758 means no restriction.