Advertisement
pillo

pdns.conf

Mar 18th, 2013
260
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.34 KB | None | 0 0
  1. # Autogenerated configuration file template
  2. #################################
  3. # allow-axfr-ips If disabled, DO allow zonetransfers from these IP addresses
  4. #
  5. # allow-axfr-ips=
  6.  
  7. #################################
  8. # allow-recursion List of netmasks that are allowed to recurse
  9. #
  10. allow-recursion=
  11.  
  12. #################################
  13. # allow-recursion-override Local data even about hosts that don't exist will
  14. # override the internet. (on/off)
  15. #
  16. # allow-recursion-override=
  17.  
  18. #################################
  19. # cache-ttl Seconds to store packets in the PacketCache
  20. #
  21. # cache-ttl=20
  22.  
  23. #################################
  24. # chroot If set, chroot to this directory for more security
  25. #
  26. # chroot=/var/spool/powerdns
  27.  
  28. #################################
  29. # config-dir Location of configuration directory (pdns.conf)
  30. #
  31. config-dir=/etc/powerdns
  32.  
  33. #################################
  34. # config-name Name of this virtual configuration - will rename the binary image
  35. #
  36. # config-name=
  37.  
  38. #################################
  39. # control-console Debugging switch - don't use
  40. #
  41. # control-console=no
  42.  
  43. #################################
  44. # daemon Operate as a daemon
  45. #
  46. daemon=yes
  47.  
  48. #################################
  49. # default-soa-name name to insert in the SOA record if none set in the backend
  50. #
  51. # default-soa-name=a.misconfigured.powerdns.server
  52.  
  53. #################################
  54. # disable-axfr Disable zonetransfers but do allow TCP queries
  55. #
  56. disable-axfr=no
  57.  
  58. #################################
  59. # disable-tcp Do not listen to TCP queries
  60. #
  61. # disable-tcp=no
  62.  
  63. #################################
  64. # distributor-threads Default number of Distributor (backend) threads to start
  65. #
  66. # distributor-threads=3
  67.  
  68. #################################
  69. # fancy-records Process URL and MBOXFW records
  70. #
  71. # fancy-records=no
  72.  
  73. #################################
  74. # guardian Run within a guardian process
  75. #
  76. guardian=yes
  77.  
  78. #################################
  79. # launch Which backends to launch and order to query them in
  80. #
  81. # launch=
  82. launch=gpgsql,
  83.  
  84. #################################
  85. # lazy-recursion Only recurse if question cannot be answered locally
  86. #
  87. lazy-recursion=yes
  88.  
  89. #################################
  90. # load-modules Load this module - supply absolute or relative path
  91. #
  92. # load-modules=
  93.  
  94. #################################
  95. # local-address Local IP address to which we bind
  96. #
  97. local-address=10.0.2.2
  98.  
  99. #################################
  100. # local-ipv6 Local IP address to which we bind
  101. #
  102. # local-ipv6=
  103.  
  104. #################################
  105. # local-port The port on which we listen
  106. #
  107. local-port=53
  108.  
  109. #################################
  110. # log-dns-details If PDNS should log failed update requests
  111. #
  112. # log-dns-details=
  113.  
  114. #################################
  115. # log-failed-updates If PDNS should log failed update requests
  116. #
  117. # log-failed-updates=
  118.  
  119. #################################
  120. # logfile Logfile to use
  121. #
  122. logfile=/var/log/pdns.log
  123.  
  124. #################################
  125. # logging-facility Log under a specific facility
  126. #
  127. # logging-facility=
  128.  
  129. #################################
  130. # loglevel Amount of logging. Higher is more. Do not set below 3
  131. #
  132. # loglevel=4
  133.  
  134. #################################
  135. # master Act as a master
  136. #
  137. # master=no
  138. master=yes
  139.  
  140. #################################
  141. # max-queue-length Maximum queuelength before considering situation lost
  142. #
  143. # max-queue-length=5000
  144.  
  145. #################################
  146. # max-tcp-connections Maximum number of TCP connections
  147. #
  148. # max-tcp-connections=10
  149.  
  150. #################################
  151. # module-dir Default directory for modules
  152. #
  153. module-dir=/usr/lib/powerdns
  154.  
  155. #################################
  156. # negquery-cache-ttl Seconds to store packets in the PacketCache
  157. #
  158. # negquery-cache-ttl=60
  159.  
  160. #################################
  161. # only-soa Make sure that no SOA serial is less than this number
  162. #
  163. # only-soa=org
  164.  
  165. #################################
  166. # out-of-zone-additional-processing Do out of zone additional processing
  167. #
  168. # out-of-zone-additional-processing=no
  169.  
  170. #################################
  171. # query-cache-ttl Seconds to store packets in the PacketCache
  172. #
  173. # query-cache-ttl=20
  174.  
  175. #################################
  176. # query-logging Hint backends that queries should be logged
  177. #
  178. # query-logging=no
  179.  
  180. #################################
  181. # queue-limit Maximum number of milliseconds to queue a query
  182. #
  183. # queue-limit=1500
  184.  
  185. #################################
  186. # query-local-address The IP address to use as a source address for sending
  187. # queries.
  188. # query-local-address=
  189.  
  190. #################################
  191. # receiver-threads Number of receiver threads to launch
  192. #
  193. # receiver-threads=1
  194.  
  195. #################################
  196. # recursive-cache-ttl Seconds to store packets in the PacketCache
  197. #
  198. # recursive-cache-ttl=10
  199.  
  200. #################################
  201. # recursor If recursion is desired, IP address of a recursing nameserver
  202. #
  203. # recursor=
  204. #recursor=8.8.8.8
  205.  
  206. #################################
  207. # setgid If set, change group id to this gid for more security
  208. #
  209. setgid=pdns
  210.  
  211. #################################
  212. # setuid If set, change user id to this uid for more security
  213. #
  214. setuid=pdns
  215.  
  216. #################################
  217. # skip-cname Do not perform CNAME indirection for each query
  218. #
  219. # skip-cname=no
  220.  
  221. #################################
  222. # slave Act as a slave
  223. #
  224. # slave=no
  225.  
  226. #################################
  227. # slave-cycle-interval Reschedule failed SOA serial checks once every .. seconds
  228. #
  229. # slave-cycle-interval=60
  230.  
  231. #################################
  232. # smtpredirector Our smtpredir MX host
  233. #
  234. # smtpredirector=a.misconfigured.powerdns.smtp.server
  235.  
  236. #################################
  237. # soa-minimum-ttl Default SOA mininum ttl
  238. #
  239. # soa-minimum-ttl=3600
  240.  
  241. #################################
  242. # soa-serial-offset Make sure that no SOA serial is less than this number
  243. #
  244. # soa-serial-offset=0
  245.  
  246. #################################
  247. # socket-dir Where the controlsocket will live
  248. #
  249. socket-dir=/var/run
  250.  
  251. #################################
  252. # strict-rfc-axfrs Perform strictly rfc compliant axfrs (very slow)
  253. #
  254. # strict-rfc-axfrs=no
  255.  
  256. #################################
  257. # urlredirector Where we send hosts to that need to be url redirected
  258. #
  259. # urlredirector=127.0.0.1
  260.  
  261. #################################
  262. # use-logfile Use a log file
  263. #
  264. use-logfile=yes
  265.  
  266. #################################
  267. # webserver Start a webserver for monitoring
  268. #
  269. # webserver=no
  270.  
  271. #################################
  272. # webserver-address IP Address of webserver to listen on
  273. #
  274. # webserver-address=127.0.0.1
  275.  
  276. #################################
  277. # webserver-password Password required for accessing the webserver
  278. #
  279. # webserver-password=
  280.  
  281. #################################
  282. # webserver-port Port of webserver to listen on
  283. #
  284. # webserver-port=8081
  285.  
  286. #################################
  287. # webserver-print-arguments If the webserver should print arguments
  288. #
  289. # webserver-print-arguments=no
  290.  
  291. #################################
  292. # wildcard-url Process URL and MBOXFW records
  293. #
  294. # wildcard-url=no
  295.  
  296. #################################
  297. # wildcards Honor wildcards in the database
  298. #
  299. # wildcards=
  300.  
  301. #################################
  302. # version-string What should PowerDNS return for version
  303. # allowed methods are anonymouse / powerdns / full / custom
  304. version-string=powerdns
  305.  
  306. include=/etc/powerdns/pdns.d
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement