Advertisement
Guest User

Untitled

a guest
Mar 10th, 2017
134
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 12.89 KB | None | 0 0
  1. setuid=pdns
  2. setgid=pdns
  3. # Autogenerated configuration file template
  4. #################################
  5. # add-superfluous-nsec3-for-old-bind Add superfluous NSEC3 record to positive wildcard response
  6. #
  7. # add-superfluous-nsec3-for-old-bind=no
  8.  
  9. #################################
  10. # allow-axfr-ips Allow zonetransfers only to these subnets
  11. #
  12. # allow-axfr-ips=0.0.0.0/0,::/0
  13.  
  14. #################################
  15. # allow-recursion List of subnets that are allowed to recurse
  16. #
  17. # allow-recursion=0.0.0.0/0
  18. allow-recursion=127.0.0.1, 192.237.167.61, 66.77.86.0/24, 66.77.206.0/24, 66.77.207.0/24, 66.77.149.0/24, 10.200.10.0/24, 10.200.11.0/24, 10.200.12.0/24, 10.200.13.0/24, 193.108.155.34/32, 80.67.64.10/32, 80.67.64.148/32, 72.246.192.168/32, 193.108.152.143/32, 60.254.128.45/32, 72.247.45.25/32, 72.247.45.65/32, 72.247.45.110/32, 72.247.45.157/32, 72.246.0.10/32, 23.73.133.237/32, 23.73.133.141/32, 23.73.134.237/32, 23.73.134.141/32
  19.  
  20. #################################
  21. # any-to-tcp Answer ANY queries with tc=1, shunting to TCP
  22. #
  23. # any-to-tcp=no
  24.  
  25. #################################
  26. # cache-ttl Seconds to store packets in the PacketCache
  27. #
  28. # cache-ttl=20
  29.  
  30. #################################
  31. # chroot If set, chroot to this directory for more security
  32. #
  33. # chroot=
  34.  
  35. #################################
  36. # config-dir Location of configuration directory (pdns.conf)
  37. #
  38. # config-dir=/usr/local/etc
  39. config-dir=/etc/pdns
  40.  
  41. #################################
  42. # config-name Name of this virtual configuration - will rename the binary image
  43. #
  44. # config-name=
  45.  
  46. #################################
  47. # control-console Debugging switch - don't use
  48. #
  49. # control-console=no
  50.  
  51. #################################
  52. # daemon Operate as a daemon
  53. #
  54. # daemon=no
  55. daemon=yes
  56.  
  57. #################################
  58. # default-ksk-algorithms Default KSK algorithms
  59. #
  60. # default-ksk-algorithms=rsasha256
  61.  
  62. #################################
  63. # default-ksk-size Default KSK size (0 means default)
  64. #
  65. # default-ksk-size=0
  66.  
  67. #################################
  68. # default-soa-mail mail address to insert in the SOA record if none set in the backend
  69. #
  70. # default-soa-mail=
  71.  
  72. #################################
  73. # default-soa-name name to insert in the SOA record if none set in the backend
  74. #
  75. # default-soa-name=a.misconfigured.powerdns.server
  76.  
  77. #################################
  78. # default-ttl Seconds a result is valid if not set otherwise
  79. #
  80. # default-ttl=3600
  81.  
  82. #################################
  83. # default-zsk-algorithms Default ZSK algorithms
  84. #
  85. # default-zsk-algorithms=rsasha256
  86.  
  87. #################################
  88. # default-zsk-size Default KSK size (0 means default)
  89. #
  90. # default-zsk-size=0
  91.  
  92. #################################
  93. # direct-dnskey Fetch DNSKEY RRs from backend during DNSKEY synthesis
  94. #
  95. # direct-dnskey=no
  96.  
  97. #################################
  98. # disable-axfr Disable zonetransfers but do allow TCP queries
  99. #
  100. # disable-axfr=no
  101. disable-axfr=yes
  102.  
  103. #################################
  104. # disable-tcp Do not listen to TCP queries
  105. #
  106. # disable-tcp=no
  107.  
  108. #################################
  109. # distributor-threads Default number of Distributor (backend) threads to start
  110. #
  111. # distributor-threads=3
  112.  
  113. #################################
  114. # do-ipv6-additional-processing Do AAAA additional processing
  115. #
  116. # do-ipv6-additional-processing=yes
  117.  
  118. #################################
  119. # edns-subnet-option-number EDNS option number to use
  120. #
  121. # edns-subnet-option-number=20730
  122.  
  123. #################################
  124. # edns-subnet-processing If we should act on EDNS Subnet options
  125. #
  126. # edns-subnet-processing=no
  127.  
  128. #################################
  129. # entropy-source If set, read entropy from this file
  130. #
  131. # entropy-source=/dev/urandom
  132.  
  133. #################################
  134. # experimental-json-interface If the webserver should serve JSON data
  135. #
  136. # experimental-json-interface=no
  137.  
  138. #################################
  139. # experimental-logfile Filename of the log file for JSON parser
  140. #
  141. # experimental-logfile=/var/log/pdns.log
  142.  
  143. #################################
  144. # fancy-records Process URL and MBOXFW records
  145. #
  146. # fancy-records=no
  147.  
  148. #################################
  149. # guardian Run within a guardian process
  150. #
  151. # guardian=no
  152. guardian=yes
  153.  
  154. #################################
  155. # include-dir Include *.conf files from this directory
  156. #
  157. # include-dir=
  158.  
  159. #################################
  160. # launch Which backends to launch and order to query them in
  161. #
  162. # launch=
  163.  
  164. #################################
  165. # load-modules Load this module - supply absolute or relative path
  166. #
  167. # load-modules=
  168.  
  169. #################################
  170. # local-address Local IP addresses to which we bind
  171. #
  172. # local-address=0.0.0.0
  173.  
  174. #################################
  175. # local-ipv6 Local IP address to which we bind
  176. #
  177. # local-ipv6=
  178.  
  179. #################################
  180. # local-port The port on which we listen
  181. #
  182. # local-port=53
  183.  
  184. #################################
  185. # log-dns-details If PDNS should log DNS non-erroneous details
  186. #
  187. # log-dns-details=
  188. log-dns-details=on
  189.  
  190. #################################
  191. # log-dns-queries If PDNS should log all incoming DNS queries
  192. #
  193. # log-dns-queries=no
  194.  
  195. #################################
  196. # logging-facility Log under a specific facility
  197. #
  198. # logging-facility=
  199.  
  200. #################################
  201. # loglevel Amount of logging. Higher is more. Do not set below 3
  202. #
  203. # loglevel=4
  204. loglevel=9
  205.  
  206. #################################
  207. # lua-prequery-script Lua script with prequery handler
  208. #
  209. # lua-prequery-script=
  210.  
  211. #################################
  212. # master Act as a master
  213. #
  214. # master=no
  215.  
  216. #################################
  217. # max-cache-entries Maximum number of cache entries
  218. #
  219. # max-cache-entries=1000000
  220.  
  221. #################################
  222. # max-ent-entries Maximum number of empty non-terminals in a zone
  223. #
  224. # max-ent-entries=100000
  225.  
  226. #################################
  227. # max-nsec3-iterations Limit the number of NSEC3 hash iterations
  228. #
  229. # max-nsec3-iterations=500
  230.  
  231. #################################
  232. # max-queue-length Maximum queuelength before considering situation lost
  233. #
  234. # max-queue-length=5000
  235.  
  236. #################################
  237. # max-tcp-connections Maximum number of TCP connections
  238. #
  239. # max-tcp-connections=10
  240.  
  241. #################################
  242. # module-dir Default directory for modules
  243. #
  244. # module-dir=/usr/local/lib
  245.  
  246. #################################
  247. # negquery-cache-ttl Seconds to store negative query results in the QueryCache
  248. #
  249. # negquery-cache-ttl=60
  250.  
  251. #################################
  252. # no-shuffle Set this to prevent random shuffling of answers - for regression testing
  253. #
  254. # no-shuffle=off
  255.  
  256. #################################
  257. # out-of-zone-additional-processing Do out of zone additional processing
  258. #
  259. # out-of-zone-additional-processing=yes
  260.  
  261. #################################
  262. # overload-queue-length Maximum queuelength moving to packetcache only
  263. #
  264. # overload-queue-length=0
  265.  
  266. #################################
  267. # pipebackend-abi-version Version of the pipe backend ABI
  268. #
  269. # pipebackend-abi-version=1
  270.  
  271. #################################
  272. # prevent-self-notification Don't send notifications to what we think is ourself
  273. #
  274. # prevent-self-notification=yes
  275.  
  276. #################################
  277. # query-cache-ttl Seconds to store query results in the QueryCache
  278. #
  279. # query-cache-ttl=20
  280.  
  281. #################################
  282. # query-local-address Source IP address for sending queries
  283. #
  284. # query-local-address=0.0.0.0
  285.  
  286. #################################
  287. # query-local-address6 Source IPv6 address for sending queries
  288. #
  289. # query-local-address6=::
  290.  
  291. #################################
  292. # query-logging Hint backends that queries should be logged
  293. #
  294. # query-logging=no
  295.  
  296. #################################
  297. # queue-limit Maximum number of milliseconds to queue a query
  298. #
  299. # queue-limit=1500
  300.  
  301. #################################
  302. # receiver-threads Default number of receiver threads to start
  303. #
  304. # receiver-threads=1
  305.  
  306. #################################
  307. # recursive-cache-ttl Seconds to store packets for recursive queries in the PacketCache
  308. #
  309. # recursive-cache-ttl=10
  310.  
  311. #################################
  312. # recursor If recursion is desired, IP address of a recursing nameserver
  313. #
  314. # recursor=no
  315.  
  316. #################################
  317. # retrieval-threads Number of AXFR-retrieval threads for slave operation
  318. #
  319. # retrieval-threads=2
  320.  
  321. #################################
  322. # security-poll-suffix Domain name from which to query security update notifications
  323. #
  324. # security-poll-suffix=secpoll.powerdns.com.
  325.  
  326. #################################
  327. # send-root-referral Send out old-fashioned root-referral instead of ServFail in case of no authority
  328. #
  329. # send-root-referral=no
  330.  
  331. #################################
  332. # server-id Returned when queried for 'server.id' TXT or NSID, defaults to hostname
  333. #
  334. # server-id=
  335.  
  336. #################################
  337. # setgid If set, change group id to this gid for more security
  338. #
  339. # setgid=
  340.  
  341. #################################
  342. # setuid If set, change user id to this uid for more security
  343. #
  344. # setuid=
  345.  
  346. #################################
  347. # signing-threads Default number of signer threads to start
  348. #
  349. # signing-threads=3
  350.  
  351. #################################
  352. # slave Act as a slave
  353. #
  354. # slave=no
  355.  
  356. #################################
  357. # slave-cycle-interval Reschedule failed SOA serial checks once every .. seconds
  358. #
  359. # slave-cycle-interval=60
  360.  
  361. #################################
  362. # slave-renotify If we should send out notifications for slaved updates
  363. #
  364. # slave-renotify=no
  365.  
  366. #################################
  367. # smtpredirector Our smtpredir MX host
  368. #
  369. # smtpredirector=a.misconfigured.powerdns.smtp.server
  370.  
  371. #################################
  372. # soa-expire-default Default SOA expire
  373. #
  374. # soa-expire-default=604800
  375.  
  376. #################################
  377. # soa-minimum-ttl Default SOA minimum ttl
  378. #
  379. # soa-minimum-ttl=3600
  380.  
  381. #################################
  382. # soa-refresh-default Default SOA refresh
  383. #
  384. # soa-refresh-default=10800
  385.  
  386. #################################
  387. # soa-retry-default Default SOA retry
  388. #
  389. # soa-retry-default=3600
  390.  
  391. #################################
  392. # soa-serial-offset Make sure that no SOA serial is less than this number
  393. #
  394. # soa-serial-offset=0
  395.  
  396. #################################
  397. # socket-dir Where the controlsocket will live
  398. #
  399. # socket-dir=/var/run
  400.  
  401. #################################
  402. # tcp-control-address If set, PowerDNS can be controlled over TCP on this address
  403. #
  404. # tcp-control-address=
  405.  
  406. #################################
  407. # tcp-control-port If set, PowerDNS can be controlled over TCP on this address
  408. #
  409. # tcp-control-port=53000
  410.  
  411. #################################
  412. # tcp-control-range If set, remote control of PowerDNS is possible over these networks only
  413. #
  414. # 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
  415.  
  416. #################################
  417. # tcp-control-secret If set, PowerDNS can be controlled over TCP after passing this secret
  418. #
  419. # tcp-control-secret=
  420.  
  421. #################################
  422. # traceback-handler Enable the traceback handler (Linux only)
  423. #
  424. # traceback-handler=yes
  425.  
  426. #################################
  427. # trusted-notification-proxy IP address of incoming notification proxy
  428. #
  429. # trusted-notification-proxy=
  430.  
  431. #################################
  432. # urlredirector Where we send hosts to that need to be url redirected
  433. #
  434. # urlredirector=127.0.0.1
  435.  
  436. #################################
  437. # version-string PowerDNS version in packets - full, anonymous, powerdns or custom
  438. #
  439. # version-string=full
  440. version-string=powerdns
  441.  
  442. #################################
  443. # webserver Start a webserver for monitoring
  444. #
  445. # webserver=no
  446.  
  447. #################################
  448. # webserver-address IP Address of webserver to listen on
  449. #
  450. # webserver-address=127.0.0.1
  451.  
  452. #################################
  453. # webserver-password Password required for accessing the webserver
  454. #
  455. # webserver-password=
  456.  
  457. #################################
  458. # webserver-port Port of webserver to listen on
  459. #
  460. # webserver-port=8081
  461.  
  462. #################################
  463. # webserver-print-arguments If the webserver should print arguments
  464. #
  465. # webserver-print-arguments=no
  466.  
  467. #################################
  468. # wildcard-url Process URL and MBOXFW records
  469. #
  470. # wildcard-url=no
  471.  
  472. #################################
  473. # xfr-max-received-mbytes Maximum number of megabytes received from an incoming AXFR
  474. #
  475. # xfr-max-received-mbytes=100
  476.  
  477. launch=gmysql,bind
  478. gmysql-host=127.0.0.1
  479. gmysql-user=###############
  480. gmysql-password=#####################
  481. gmysql-dbname=###################
  482. master=yes
  483.  
  484. slave=yes
  485. bind-config=/etc/pdns/bind/named.conf
  486. bind-check-interval=600
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement