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.

657 lines
17 KiB

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