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.

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