Guest User

Untitled

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