You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

722 lines
19 KiB

  1. # Autogenerated configuration file template
  2. #################################
  3. # ignore-unknown-settings Configuration settings to ignore if they are unknown
  4. #
  5. # ignore-unknown-settings=
  6. #################################
  7. # 8bit-dns Allow 8bit dns queries
  8. #
  9. # 8bit-dns=no
  10. #################################
  11. # allow-axfr-ips Allow zonetransfers only to these subnets
  12. #
  13. # allow-axfr-ips=127.0.0.0/8,::1
  14. #################################
  15. # allow-dnsupdate-from A global setting to allow DNS updates from these IP ranges.
  16. #
  17. # allow-dnsupdate-from=127.0.0.0/8,::1
  18. #################################
  19. # allow-notify-from Allow AXFR NOTIFY from these IP ranges. If empty, drop all incoming notifies.
  20. #
  21. # allow-notify-from=0.0.0.0/0,::/0
  22. #################################
  23. # allow-unsigned-autoprimary Allow autoprimaries to create zones without TSIG signed NOTIFY
  24. #
  25. # allow-unsigned-autoprimary=yes
  26. #################################
  27. # allow-unsigned-notify Allow unsigned notifications for TSIG secured zones
  28. #
  29. # allow-unsigned-notify=yes
  30. #################################
  31. # allow-unsigned-supermaster Allow supermasters to create zones without TSIG signed NOTIFY
  32. #
  33. # allow-unsigned-supermaster=yes
  34. #################################
  35. # also-notify When notifying a zone, also notify these nameservers
  36. #
  37. # also-notify=
  38. #################################
  39. # any-to-tcp Answer ANY queries with tc=1, shunting to TCP
  40. #
  41. # any-to-tcp=yes
  42. #################################
  43. # api Enable/disable the REST API (including HTTP listener)
  44. #
  45. # api=no
  46. #################################
  47. # api-key Static pre-shared authentication key for access to the REST API
  48. #
  49. # api-key=
  50. #################################
  51. # autosecondary Act as an autosecondary (formerly superslave)
  52. #
  53. # autosecondary=no
  54. #################################
  55. # axfr-fetch-timeout Maximum time in seconds for inbound AXFR to start or be idle after starting
  56. #
  57. # axfr-fetch-timeout=10
  58. #################################
  59. # axfr-lower-serial Also AXFR a zone from a master with a lower serial
  60. #
  61. # axfr-lower-serial=no
  62. #################################
  63. # cache-ttl Seconds to store packets in the PacketCache
  64. #
  65. # cache-ttl=20
  66. #################################
  67. # carbon-instance If set overwrites the instance name default
  68. #
  69. # carbon-instance=auth
  70. #################################
  71. # carbon-interval Number of seconds between carbon (graphite) updates
  72. #
  73. # carbon-interval=30
  74. #################################
  75. # carbon-namespace If set overwrites the first part of the carbon string
  76. #
  77. # carbon-namespace=pdns
  78. #################################
  79. # carbon-ourname If set, overrides our reported hostname for carbon stats
  80. #
  81. # carbon-ourname=
  82. #################################
  83. # carbon-server If set, send metrics in carbon (graphite) format to this server IP address
  84. #
  85. # carbon-server=
  86. #################################
  87. # chroot If set, chroot to this directory for more security
  88. #
  89. # chroot=
  90. #################################
  91. # config-dir Location of configuration directory (pdns.conf)
  92. #
  93. # config-dir=/etc/powerdns
  94. #################################
  95. # config-name Name of this virtual configuration - will rename the binary image
  96. #
  97. # config-name=
  98. #################################
  99. # consistent-backends Assume individual zones are not divided over backends. Send only ANY lookup operations to the backend to reduce the number of lookups
  100. #
  101. # consistent-backends=yes
  102. #################################
  103. # control-console Debugging switch - don't use
  104. #
  105. # control-console=no
  106. #################################
  107. # daemon Operate as a daemon
  108. #
  109. # daemon=no
  110. #################################
  111. # default-api-rectify Default API-RECTIFY value for zones
  112. #
  113. # default-api-rectify=yes
  114. #################################
  115. # default-ksk-algorithm Default KSK algorithm
  116. #
  117. # default-ksk-algorithm=ecdsa256
  118. #################################
  119. # default-ksk-size Default KSK size (0 means default)
  120. #
  121. # default-ksk-size=0
  122. #################################
  123. # default-publish-cdnskey Default value for PUBLISH-CDNSKEY
  124. #
  125. # default-publish-cdnskey=
  126. #################################
  127. # default-publish-cds Default value for PUBLISH-CDS
  128. #
  129. # default-publish-cds=
  130. #################################
  131. # default-soa-content Default SOA content
  132. #
  133. # default-soa-content=a.misconfigured.dns.server.invalid hostmaster.@ 0 10800 3600 604800 3600
  134. #################################
  135. # default-soa-edit Default SOA-EDIT value
  136. #
  137. # default-soa-edit=
  138. #################################
  139. # default-soa-edit-signed Default SOA-EDIT value for signed zones
  140. #
  141. # default-soa-edit-signed=
  142. #################################
  143. # default-ttl Seconds a result is valid if not set otherwise
  144. #
  145. # default-ttl=3600
  146. #################################
  147. # default-zsk-algorithm Default ZSK algorithm
  148. #
  149. # default-zsk-algorithm=
  150. #################################
  151. # default-zsk-size Default ZSK size (0 means default)
  152. #
  153. # default-zsk-size=0
  154. #################################
  155. # direct-dnskey Fetch DNSKEY, CDS and CDNSKEY RRs from backend during DNSKEY or CDS/CDNSKEY synthesis
  156. #
  157. # direct-dnskey=no
  158. #################################
  159. # disable-axfr Disable zonetransfers but do allow TCP queries
  160. #
  161. # disable-axfr=no
  162. #################################
  163. # disable-axfr-rectify Disable the rectify step during an outgoing AXFR. Only required for regression testing.
  164. #
  165. # disable-axfr-rectify=no
  166. #################################
  167. # disable-syslog Disable logging to syslog, useful when running inside a supervisor that logs stdout
  168. #
  169. # disable-syslog=no
  170. #################################
  171. # distributor-threads Default number of Distributor (backend) threads to start
  172. #
  173. # distributor-threads=3
  174. #################################
  175. # dname-processing If we should support DNAME records
  176. #
  177. # dname-processing=no
  178. #################################
  179. # dnssec-key-cache-ttl Seconds to cache DNSSEC keys from the database
  180. #
  181. # dnssec-key-cache-ttl=30
  182. #################################
  183. # dnsupdate Enable/Disable DNS update (RFC2136) support. Default is no.
  184. #
  185. # dnsupdate=no
  186. #################################
  187. # domain-metadata-cache-ttl Seconds to cache zone metadata from the database
  188. #
  189. # domain-metadata-cache-ttl=
  190. #################################
  191. # edns-cookie-secret When set, set a server cookie when responding to a query with a Client cookie (in hex)
  192. #
  193. # edns-cookie-secret=
  194. #################################
  195. # edns-subnet-processing If we should act on EDNS Subnet options
  196. #
  197. # edns-subnet-processing=no
  198. #################################
  199. # enable-lua-records Process LUA records for all zones (metadata overrides this)
  200. #
  201. # enable-lua-records=no
  202. #################################
  203. # entropy-source If set, read entropy from this file
  204. #
  205. # entropy-source=/dev/urandom
  206. #################################
  207. # expand-alias Expand ALIAS records
  208. #
  209. # expand-alias=no
  210. #################################
  211. # forward-dnsupdate A global setting to allow DNS update packages that are for a Slave zone, to be forwarded to the master.
  212. #
  213. # forward-dnsupdate=yes
  214. #################################
  215. # forward-notify IP addresses to forward received notifications to regardless of master or slave settings
  216. #
  217. # forward-notify=
  218. #################################
  219. # guardian Run within a guardian process
  220. #
  221. # guardian=no
  222. #################################
  223. # include-dir Include *.conf files from this directory
  224. #
  225. # include-dir=
  226. #################################
  227. # launch Which backends to launch and order to query them in
  228. #
  229. # launch=
  230. #################################
  231. # load-modules Load this module - supply absolute or relative path
  232. #
  233. # load-modules=
  234. #################################
  235. # local-address Local IP addresses to which we bind
  236. #
  237. # local-address=0.0.0.0, ::
  238. #################################
  239. # local-address-nonexist-fail Fail to start if one or more of the local-address's do not exist on this server
  240. #
  241. # local-address-nonexist-fail=yes
  242. #################################
  243. # local-port The port on which we listen
  244. #
  245. # local-port=53
  246. #################################
  247. # log-dns-details If PDNS should log DNS non-erroneous details
  248. #
  249. # log-dns-details=no
  250. #################################
  251. # log-dns-queries If PDNS should log all incoming DNS queries
  252. #
  253. # log-dns-queries=no
  254. #################################
  255. # log-timestamp Print timestamps in log lines
  256. #
  257. # log-timestamp=yes
  258. #################################
  259. # logging-facility Log under a specific facility
  260. #
  261. # logging-facility=
  262. #################################
  263. # loglevel Amount of logging. Higher is more. Do not set below 3
  264. #
  265. # loglevel=4
  266. #################################
  267. # lua-axfr-script Script to be used to edit incoming AXFRs
  268. #
  269. # lua-axfr-script=
  270. #################################
  271. # lua-dnsupdate-policy-script Lua script with DNS update policy handler
  272. #
  273. # lua-dnsupdate-policy-script=
  274. #################################
  275. # lua-health-checks-expire-delay Stops doing health checks after the record hasn't been used for that delay (in seconds)
  276. #
  277. # lua-health-checks-expire-delay=3600
  278. #################################
  279. # lua-health-checks-interval LUA records health checks monitoring interval in seconds
  280. #
  281. # lua-health-checks-interval=5
  282. #################################
  283. # lua-prequery-script Lua script with prequery handler (DO NOT USE)
  284. #
  285. # lua-prequery-script=
  286. #################################
  287. # lua-records-exec-limit LUA records scripts execution limit (instructions count). Values <= 0 mean no limit
  288. #
  289. # lua-records-exec-limit=1000
  290. #################################
  291. # master Act as a primary
  292. #
  293. # master=no
  294. #################################
  295. # max-cache-entries Maximum number of entries in the query cache
  296. #
  297. # max-cache-entries=1000000
  298. #################################
  299. # max-ent-entries Maximum number of empty non-terminals in a zone
  300. #
  301. # max-ent-entries=100000
  302. #################################
  303. # max-generate-steps Maximum number of $GENERATE steps when loading a zone from a file
  304. #
  305. # max-generate-steps=0
  306. #################################
  307. # max-include-depth Maximum number of nested $INCLUDE directives while processing a zone file
  308. #
  309. # max-include-depth=20
  310. #################################
  311. # max-nsec3-iterations Limit the number of NSEC3 hash iterations
  312. #
  313. # max-nsec3-iterations=100
  314. #################################
  315. # max-packet-cache-entries Maximum number of entries in the packet cache
  316. #
  317. # max-packet-cache-entries=1000000
  318. #################################
  319. # max-queue-length Maximum queuelength before considering situation lost
  320. #
  321. # max-queue-length=5000
  322. #################################
  323. # max-signature-cache-entries Maximum number of signatures cache entries
  324. #
  325. # max-signature-cache-entries=
  326. #################################
  327. # max-tcp-connection-duration Maximum time in seconds that a TCP DNS connection is allowed to stay open.
  328. #
  329. # max-tcp-connection-duration=0
  330. #################################
  331. # max-tcp-connections Maximum number of TCP connections
  332. #
  333. # max-tcp-connections=20
  334. #################################
  335. # max-tcp-connections-per-client Maximum number of simultaneous TCP connections per client
  336. #
  337. # max-tcp-connections-per-client=0
  338. #################################
  339. # max-tcp-transactions-per-conn Maximum number of subsequent queries per TCP connection
  340. #
  341. # max-tcp-transactions-per-conn=0
  342. #################################
  343. # module-dir Default directory for modules
  344. #
  345. # module-dir=/usr/lib/powerdns/pdns
  346. #################################
  347. # negquery-cache-ttl Seconds to store negative query results in the QueryCache
  348. #
  349. # negquery-cache-ttl=60
  350. #################################
  351. # no-shuffle Set this to prevent random shuffling of answers - for regression testing
  352. #
  353. # no-shuffle=off
  354. #################################
  355. # non-local-bind Enable binding to non-local addresses by using FREEBIND / BINDANY socket options
  356. #
  357. # non-local-bind=no
  358. #################################
  359. # only-notify Only send AXFR NOTIFY to these IP addresses or netmasks
  360. #
  361. # only-notify=0.0.0.0/0,::/0
  362. #################################
  363. # outgoing-axfr-expand-alias Expand ALIAS records during outgoing AXFR
  364. #
  365. # outgoing-axfr-expand-alias=no
  366. #################################
  367. # overload-queue-length Maximum queuelength moving to packetcache only
  368. #
  369. # overload-queue-length=0
  370. #################################
  371. # prevent-self-notification Don't send notifications to what we think is ourself
  372. #
  373. # prevent-self-notification=yes
  374. #################################
  375. # primary Act as a primary
  376. #
  377. # primary=no
  378. #################################
  379. # proxy-protocol-from A Proxy Protocol header is only allowed from these subnets, and is mandatory then too.
  380. #
  381. # proxy-protocol-from=
  382. #################################
  383. # proxy-protocol-maximum-size The maximum size of a proxy protocol payload, including the TLV values
  384. #
  385. # proxy-protocol-maximum-size=512
  386. #################################
  387. # query-cache-ttl Seconds to store query results in the QueryCache
  388. #
  389. # query-cache-ttl=20
  390. #################################
  391. # query-local-address Source IP addresses for sending queries
  392. #
  393. # query-local-address=0.0.0.0 ::
  394. #################################
  395. # query-logging Hint backends that queries should be logged
  396. #
  397. # query-logging=no
  398. #################################
  399. # queue-limit Maximum number of milliseconds to queue a query
  400. #
  401. # queue-limit=1500
  402. #################################
  403. # receiver-threads Default number of receiver threads to start
  404. #
  405. # receiver-threads=1
  406. #################################
  407. # resolver Use this resolver for ALIAS and the internal stub resolver
  408. #
  409. # resolver=no
  410. #################################
  411. # retrieval-threads Number of AXFR-retrieval threads for slave operation
  412. #
  413. # retrieval-threads=2
  414. #################################
  415. # reuseport Enable higher performance on compliant kernels by using SO_REUSEPORT allowing each receiver thread to open its own socket
  416. #
  417. # reuseport=no
  418. #################################
  419. # rng Specify the random number generator to use. Valid values are auto,sodium,openssl,getrandom,arc4random,urandom.
  420. #
  421. # rng=auto
  422. #################################
  423. # secondary Act as a secondary
  424. #
  425. # secondary=no
  426. #################################
  427. # secondary-do-renotify If this secondary should send out notifications after receiving zone transfers from a primary
  428. #
  429. # secondary-do-renotify=no
  430. #################################
  431. # security-poll-suffix Zone name from which to query security update notifications
  432. #
  433. # security-poll-suffix=secpoll.powerdns.com.
  434. #################################
  435. # send-signed-notify Send TSIG secured NOTIFY if TSIG key is configured for a zone
  436. #
  437. # send-signed-notify=yes
  438. #################################
  439. # server-id Returned when queried for 'id.server' TXT or NSID, defaults to hostname - disabled or custom
  440. #
  441. # server-id=
  442. #################################
  443. # setgid If set, change group id to this gid for more security
  444. #
  445. # setgid=
  446. #################################
  447. # setuid If set, change user id to this uid for more security
  448. #
  449. # setuid=
  450. #################################
  451. # signing-threads Default number of signer threads to start
  452. #
  453. # signing-threads=3
  454. #################################
  455. # slave Act as a secondary
  456. #
  457. # slave=no
  458. #################################
  459. # slave-cycle-interval Schedule slave freshness checks once every .. seconds
  460. #
  461. # slave-cycle-interval=60
  462. #################################
  463. # slave-renotify If we should send out notifications for secondaried updates
  464. #
  465. # slave-renotify=no
  466. #################################
  467. # socket-dir Where the controlsocket will live, /var/run/pdns when unset and not chrooted. Set to the RUNTIME_DIRECTORY environment variable when that variable has a value (e.g. under systemd).
  468. #
  469. # socket-dir=
  470. #################################
  471. # superslave Act as a autosecondary
  472. #
  473. # superslave=no
  474. #################################
  475. # svc-autohints Transparently fill ipv6hint=auto ipv4hint=auto SVC params with AAAA/A records for the target name of the record (if within the same zone)
  476. #
  477. # svc-autohints=no
  478. #################################
  479. # tcp-control-address If set, PowerDNS can be controlled over TCP on this address
  480. #
  481. # tcp-control-address=
  482. #################################
  483. # tcp-control-port If set, PowerDNS can be controlled over TCP on this address
  484. #
  485. # tcp-control-port=53000
  486. #################################
  487. # tcp-control-range If set, remote control of PowerDNS is possible over these networks only
  488. #
  489. # 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
  490. #################################
  491. # tcp-control-secret If set, PowerDNS can be controlled over TCP after passing this secret
  492. #
  493. # tcp-control-secret=
  494. #################################
  495. # tcp-fast-open Enable TCP Fast Open support on the listening sockets, using the supplied numerical value as the queue size
  496. #
  497. # tcp-fast-open=0
  498. #################################
  499. # tcp-idle-timeout Maximum time in seconds that a TCP DNS connection is allowed to stay open while being idle
  500. #
  501. # tcp-idle-timeout=5
  502. #################################
  503. # traceback-handler Enable the traceback handler (Linux only)
  504. #
  505. # traceback-handler=yes
  506. #################################
  507. # trusted-notification-proxy IP address of incoming notification proxy
  508. #
  509. # trusted-notification-proxy=
  510. #################################
  511. # udp-truncation-threshold Maximum UDP response size before we truncate
  512. #
  513. # udp-truncation-threshold=1232
  514. #################################
  515. # upgrade-unknown-types Transparently upgrade known TYPExxx records. Recommended to keep off, except for PowerDNS upgrades until data sources are cleaned up
  516. #
  517. # upgrade-unknown-types=no
  518. #################################
  519. # version-string PowerDNS version in packets - full, anonymous, powerdns or custom
  520. #
  521. # version-string=full
  522. #################################
  523. # webserver Start a webserver for monitoring (api=yes also enables the HTTP listener)
  524. #
  525. # webserver=no
  526. #################################
  527. # webserver-address IP Address of webserver/API to listen on
  528. #
  529. # webserver-address=127.0.0.1
  530. #################################
  531. # webserver-allow-from Webserver/API access is only allowed from these subnets
  532. #
  533. # webserver-allow-from=127.0.0.1,::1
  534. #################################
  535. # webserver-hash-plaintext-credentials Whether to hash passwords and api keys supplied in plaintext, to prevent keeping the plaintext version in memory at runtime
  536. #
  537. # webserver-hash-plaintext-credentials=no
  538. #################################
  539. # webserver-loglevel Amount of logging in the webserver (none, normal, detailed)
  540. #
  541. # webserver-loglevel=normal
  542. #################################
  543. # webserver-max-bodysize Webserver/API maximum request/response body size in megabytes
  544. #
  545. # webserver-max-bodysize=2
  546. #################################
  547. # webserver-password Password required for accessing the webserver
  548. #
  549. # webserver-password=
  550. #################################
  551. # webserver-port Port of webserver/API to listen on
  552. #
  553. # webserver-port=8081
  554. #################################
  555. # webserver-print-arguments If the webserver should print arguments
  556. #
  557. # webserver-print-arguments=no
  558. #################################
  559. # write-pid Write a PID file
  560. #
  561. # write-pid=yes
  562. #################################
  563. # xfr-cycle-interval Schedule primary/secondary SOA freshness checks once every .. seconds
  564. #
  565. # xfr-cycle-interval=60
  566. #################################
  567. # xfr-max-received-mbytes Maximum number of megabytes received from an incoming XFR
  568. #
  569. # xfr-max-received-mbytes=100
  570. #################################
  571. # zone-cache-refresh-interval Seconds to cache list of known zones
  572. #
  573. # zone-cache-refresh-interval=300
  574. #################################
  575. # zone-metadata-cache-ttl Seconds to cache zone metadata from the database
  576. #
  577. # zone-metadata-cache-ttl=60