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.

697 lines
18 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-subnet-processing If we should act on EDNS Subnet options
  192. #
  193. # edns-subnet-processing=no
  194. #################################
  195. # enable-lua-records Process LUA records for all zones (metadata overrides this)
  196. #
  197. # enable-lua-records=no
  198. #################################
  199. # entropy-source If set, read entropy from this file
  200. #
  201. # entropy-source=/dev/urandom
  202. #################################
  203. # expand-alias Expand ALIAS records
  204. #
  205. # expand-alias=no
  206. #################################
  207. # forward-dnsupdate A global setting to allow DNS update packages that are for a Slave zone, to be forwarded to the master.
  208. #
  209. # forward-dnsupdate=yes
  210. #################################
  211. # forward-notify IP addresses to forward received notifications to regardless of master or slave settings
  212. #
  213. # forward-notify=
  214. #################################
  215. # guardian Run within a guardian process
  216. #
  217. # guardian=no
  218. #################################
  219. # include-dir Include *.conf files from this directory
  220. #
  221. # include-dir=
  222. #################################
  223. # launch Which backends to launch and order to query them in
  224. #
  225. # launch=
  226. #################################
  227. # load-modules Load this module - supply absolute or relative path
  228. #
  229. # load-modules=
  230. #################################
  231. # local-address Local IP addresses to which we bind
  232. #
  233. # local-address=0.0.0.0, ::
  234. #################################
  235. # local-address-nonexist-fail Fail to start if one or more of the local-address's do not exist on this server
  236. #
  237. # local-address-nonexist-fail=yes
  238. #################################
  239. # local-port The port on which we listen
  240. #
  241. # local-port=53
  242. #################################
  243. # log-dns-details If PDNS should log DNS non-erroneous details
  244. #
  245. # log-dns-details=no
  246. #################################
  247. # log-dns-queries If PDNS should log all incoming DNS queries
  248. #
  249. # log-dns-queries=no
  250. #################################
  251. # log-timestamp Print timestamps in log lines
  252. #
  253. # log-timestamp=yes
  254. #################################
  255. # logging-facility Log under a specific facility
  256. #
  257. # logging-facility=
  258. #################################
  259. # loglevel Amount of logging. Higher is more. Do not set below 3
  260. #
  261. # loglevel=4
  262. #################################
  263. # lua-axfr-script Script to be used to edit incoming AXFRs
  264. #
  265. # lua-axfr-script=
  266. #################################
  267. # lua-dnsupdate-policy-script Lua script with DNS update policy handler
  268. #
  269. # lua-dnsupdate-policy-script=
  270. #################################
  271. # lua-health-checks-expire-delay Stops doing health checks after the record hasn't been used for that delay (in seconds)
  272. #
  273. # lua-health-checks-expire-delay=3600
  274. #################################
  275. # lua-health-checks-interval LUA records health checks monitoring interval in seconds
  276. #
  277. # lua-health-checks-interval=5
  278. #################################
  279. # lua-prequery-script Lua script with prequery handler (DO NOT USE)
  280. #
  281. # lua-prequery-script=
  282. #################################
  283. # lua-records-exec-limit LUA records scripts execution limit (instructions count). Values <= 0 mean no limit
  284. #
  285. # lua-records-exec-limit=1000
  286. #################################
  287. # master Act as a primary
  288. #
  289. # master=no
  290. #################################
  291. # max-cache-entries Maximum number of entries in the query cache
  292. #
  293. # max-cache-entries=1000000
  294. #################################
  295. # max-ent-entries Maximum number of empty non-terminals in a zone
  296. #
  297. # max-ent-entries=100000
  298. #################################
  299. # max-generate-steps Maximum number of $GENERATE steps when loading a zone from a file
  300. #
  301. # max-generate-steps=0
  302. #################################
  303. # max-nsec3-iterations Limit the number of NSEC3 hash iterations
  304. #
  305. # max-nsec3-iterations=100
  306. #################################
  307. # max-packet-cache-entries Maximum number of entries in the packet cache
  308. #
  309. # max-packet-cache-entries=1000000
  310. #################################
  311. # max-queue-length Maximum queuelength before considering situation lost
  312. #
  313. # max-queue-length=5000
  314. #################################
  315. # max-signature-cache-entries Maximum number of signatures cache entries
  316. #
  317. # max-signature-cache-entries=
  318. #################################
  319. # max-tcp-connection-duration Maximum time in seconds that a TCP DNS connection is allowed to stay open.
  320. #
  321. # max-tcp-connection-duration=0
  322. #################################
  323. # max-tcp-connections Maximum number of TCP connections
  324. #
  325. # max-tcp-connections=20
  326. #################################
  327. # max-tcp-connections-per-client Maximum number of simultaneous TCP connections per client
  328. #
  329. # max-tcp-connections-per-client=0
  330. #################################
  331. # max-tcp-transactions-per-conn Maximum number of subsequent queries per TCP connection
  332. #
  333. # max-tcp-transactions-per-conn=0
  334. #################################
  335. # module-dir Default directory for modules
  336. #
  337. # module-dir=/usr/lib/powerdns/pdns
  338. #################################
  339. # negquery-cache-ttl Seconds to store negative query results in the QueryCache
  340. #
  341. # negquery-cache-ttl=60
  342. #################################
  343. # no-shuffle Set this to prevent random shuffling of answers - for regression testing
  344. #
  345. # no-shuffle=off
  346. #################################
  347. # non-local-bind Enable binding to non-local addresses by using FREEBIND / BINDANY socket options
  348. #
  349. # non-local-bind=no
  350. #################################
  351. # only-notify Only send AXFR NOTIFY to these IP addresses or netmasks
  352. #
  353. # only-notify=0.0.0.0/0,::/0
  354. #################################
  355. # outgoing-axfr-expand-alias Expand ALIAS records during outgoing AXFR
  356. #
  357. # outgoing-axfr-expand-alias=no
  358. #################################
  359. # overload-queue-length Maximum queuelength moving to packetcache only
  360. #
  361. # overload-queue-length=0
  362. #################################
  363. # prevent-self-notification Don't send notifications to what we think is ourself
  364. #
  365. # prevent-self-notification=yes
  366. #################################
  367. # primary Act as a primary
  368. #
  369. # primary=no
  370. #################################
  371. # query-cache-ttl Seconds to store query results in the QueryCache
  372. #
  373. # query-cache-ttl=20
  374. #################################
  375. # query-local-address Source IP addresses for sending queries
  376. #
  377. # query-local-address=0.0.0.0 ::
  378. #################################
  379. # query-logging Hint backends that queries should be logged
  380. #
  381. # query-logging=no
  382. #################################
  383. # queue-limit Maximum number of milliseconds to queue a query
  384. #
  385. # queue-limit=1500
  386. #################################
  387. # receiver-threads Default number of receiver threads to start
  388. #
  389. # receiver-threads=1
  390. #################################
  391. # resolver Use this resolver for ALIAS and the internal stub resolver
  392. #
  393. # resolver=no
  394. #################################
  395. # retrieval-threads Number of AXFR-retrieval threads for slave operation
  396. #
  397. # retrieval-threads=2
  398. #################################
  399. # reuseport Enable higher performance on compliant kernels by using SO_REUSEPORT allowing each receiver thread to open its own socket
  400. #
  401. # reuseport=no
  402. #################################
  403. # rng Specify the random number generator to use. Valid values are auto,sodium,openssl,getrandom,arc4random,urandom.
  404. #
  405. # rng=auto
  406. #################################
  407. # secondary Act as a secondary
  408. #
  409. # secondary=no
  410. #################################
  411. # secondary-do-renotify If this secondary should send out notifications after receiving zone transfers from a primary
  412. #
  413. # secondary-do-renotify=no
  414. #################################
  415. # security-poll-suffix Zone name from which to query security update notifications
  416. #
  417. # security-poll-suffix=secpoll.powerdns.com.
  418. #################################
  419. # send-signed-notify Send TSIG secured NOTIFY if TSIG key is configured for a zone
  420. #
  421. # send-signed-notify=yes
  422. #################################
  423. # server-id Returned when queried for 'id.server' TXT or NSID, defaults to hostname - disabled or custom
  424. #
  425. # server-id=
  426. #################################
  427. # setgid If set, change group id to this gid for more security
  428. #
  429. # setgid=
  430. #################################
  431. # setuid If set, change user id to this uid for more security
  432. #
  433. # setuid=
  434. #################################
  435. # signing-threads Default number of signer threads to start
  436. #
  437. # signing-threads=3
  438. #################################
  439. # slave Act as a secondary
  440. #
  441. # slave=no
  442. #################################
  443. # slave-cycle-interval Schedule slave freshness checks once every .. seconds
  444. #
  445. # slave-cycle-interval=60
  446. #################################
  447. # slave-renotify If we should send out notifications for secondaried updates
  448. #
  449. # slave-renotify=no
  450. #################################
  451. # 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).
  452. #
  453. # socket-dir=
  454. #################################
  455. # superslave Act as a autosecondary
  456. #
  457. # superslave=no
  458. #################################
  459. # 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)
  460. #
  461. # svc-autohints=no
  462. #################################
  463. # tcp-control-address If set, PowerDNS can be controlled over TCP on this address
  464. #
  465. # tcp-control-address=
  466. #################################
  467. # tcp-control-port If set, PowerDNS can be controlled over TCP on this address
  468. #
  469. # tcp-control-port=53000
  470. #################################
  471. # tcp-control-range If set, remote control of PowerDNS is possible over these networks only
  472. #
  473. # 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
  474. #################################
  475. # tcp-control-secret If set, PowerDNS can be controlled over TCP after passing this secret
  476. #
  477. # tcp-control-secret=
  478. #################################
  479. # tcp-fast-open Enable TCP Fast Open support on the listening sockets, using the supplied numerical value as the queue size
  480. #
  481. # tcp-fast-open=0
  482. #################################
  483. # tcp-idle-timeout Maximum time in seconds that a TCP DNS connection is allowed to stay open while being idle
  484. #
  485. # tcp-idle-timeout=5
  486. #################################
  487. # traceback-handler Enable the traceback handler (Linux only)
  488. #
  489. # traceback-handler=yes
  490. #################################
  491. # trusted-notification-proxy IP address of incoming notification proxy
  492. #
  493. # trusted-notification-proxy=
  494. #################################
  495. # udp-truncation-threshold Maximum UDP response size before we truncate
  496. #
  497. # udp-truncation-threshold=1232
  498. #################################
  499. # upgrade-unknown-types Transparently upgrade known TYPExxx records. Recommended to keep off, except for PowerDNS upgrades until data sources are cleaned up
  500. #
  501. # upgrade-unknown-types=no
  502. #################################
  503. # version-string PowerDNS version in packets - full, anonymous, powerdns or custom
  504. #
  505. # version-string=full
  506. #################################
  507. # webserver Start a webserver for monitoring (api=yes also enables the HTTP listener)
  508. #
  509. # webserver=no
  510. #################################
  511. # webserver-address IP Address of webserver/API to listen on
  512. #
  513. # webserver-address=127.0.0.1
  514. #################################
  515. # webserver-allow-from Webserver/API access is only allowed from these subnets
  516. #
  517. # webserver-allow-from=127.0.0.1,::1
  518. #################################
  519. # webserver-loglevel Amount of logging in the webserver (none, normal, detailed)
  520. #
  521. # webserver-loglevel=normal
  522. #################################
  523. # webserver-max-bodysize Webserver/API maximum request/response body size in megabytes
  524. #
  525. # webserver-max-bodysize=2
  526. #################################
  527. # webserver-password Password required for accessing the webserver
  528. #
  529. # webserver-password=
  530. #################################
  531. # webserver-port Port of webserver/API to listen on
  532. #
  533. # webserver-port=8081
  534. #################################
  535. # webserver-print-arguments If the webserver should print arguments
  536. #
  537. # webserver-print-arguments=no
  538. #################################
  539. # write-pid Write a PID file
  540. #
  541. # write-pid=yes
  542. #################################
  543. # xfr-cycle-interval Schedule primary/secondary SOA freshness checks once every .. seconds
  544. #
  545. # xfr-cycle-interval=60
  546. #################################
  547. # xfr-max-received-mbytes Maximum number of megabytes received from an incoming XFR
  548. #
  549. # xfr-max-received-mbytes=100
  550. #################################
  551. # zone-cache-refresh-interval Seconds to cache list of known zones
  552. #
  553. # zone-cache-refresh-interval=300
  554. #################################
  555. # zone-metadata-cache-ttl Seconds to cache zone metadata from the database
  556. #
  557. # zone-metadata-cache-ttl=60