Advertisement
pillo

pdns-nat.conf

Mar 18th, 2013
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.36 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=127.0.0.1 10.0.2.2
  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=yes
  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=127.0.0.1 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-nat.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.  
  139. #################################
  140. # max-queue-length Maximum queuelength before considering situation lost
  141. #
  142. # max-queue-length=5000
  143.  
  144. #################################
  145. # max-tcp-connections Maximum number of TCP connections
  146. #
  147. # max-tcp-connections=10
  148.  
  149. #################################
  150. # module-dir Default directory for modules
  151. #
  152. module-dir=/usr/lib/powerdns
  153.  
  154. #################################
  155. # negquery-cache-ttl Seconds to store packets in the PacketCache
  156. #
  157. # negquery-cache-ttl=60
  158.  
  159. #################################
  160. # only-soa Make sure that no SOA serial is less than this number
  161. #
  162. # only-soa=org
  163.  
  164. #################################
  165. # out-of-zone-additional-processing Do out of zone additional processing
  166. #
  167. # out-of-zone-additional-processing=no
  168.  
  169. #################################
  170. # query-cache-ttl Seconds to store packets in the PacketCache
  171. #
  172. # query-cache-ttl=20
  173.  
  174. #################################
  175. # query-logging Hint backends that queries should be logged
  176. #
  177. # query-logging=no
  178.  
  179. #################################
  180. # queue-limit Maximum number of milliseconds to queue a query
  181. #
  182. # queue-limit=1500
  183.  
  184. #################################
  185. # query-local-address The IP address to use as a source address for sending
  186. # queries.
  187. # query-local-address=
  188.  
  189. #################################
  190. # receiver-threads Number of receiver threads to launch
  191. #
  192. # receiver-threads=1
  193.  
  194. #################################
  195. # recursive-cache-ttl Seconds to store packets in the PacketCache
  196. #
  197. # recursive-cache-ttl=10
  198.  
  199. #################################
  200. # recursor If recursion is desired, IP address of a recursing nameserver
  201. #
  202. # recursor=
  203. recursor=8.8.8.8
  204.  
  205. #################################
  206. # setgid If set, change group id to this gid for more security
  207. #
  208. setgid=pdns
  209.  
  210. #################################
  211. # setuid If set, change user id to this uid for more security
  212. #
  213. setuid=pdns
  214.  
  215. #################################
  216. # skip-cname Do not perform CNAME indirection for each query
  217. #
  218. # skip-cname=no
  219.  
  220. #################################
  221. # slave Act as a slave
  222. #
  223. # slave=no
  224.  
  225. #################################
  226. # slave-cycle-interval Reschedule failed SOA serial checks once every .. seconds
  227. #
  228. # slave-cycle-interval=60
  229.  
  230. #################################
  231. # smtpredirector Our smtpredir MX host
  232. #
  233. # smtpredirector=a.misconfigured.powerdns.smtp.server
  234.  
  235. #################################
  236. # soa-minimum-ttl Default SOA mininum ttl
  237. #
  238. # soa-minimum-ttl=3600
  239.  
  240. #################################
  241. # soa-serial-offset Make sure that no SOA serial is less than this number
  242. #
  243. # soa-serial-offset=0
  244.  
  245. #################################
  246. # socket-dir Where the controlsocket will live
  247. #
  248. socket-dir=/var/run
  249.  
  250. #################################
  251. # strict-rfc-axfrs Perform strictly rfc compliant axfrs (very slow)
  252. #
  253. # strict-rfc-axfrs=no
  254.  
  255. #################################
  256. # urlredirector Where we send hosts to that need to be url redirected
  257. #
  258. # urlredirector=127.0.0.1
  259.  
  260. #################################
  261. # use-logfile Use a log file
  262. #
  263. use-logfile=yes
  264.  
  265. #################################
  266. # webserver Start a webserver for monitoring
  267. #
  268. # webserver=no
  269.  
  270. #################################
  271. # webserver-address IP Address of webserver to listen on
  272. #
  273. # webserver-address=127.0.0.1
  274.  
  275. #################################
  276. # webserver-password Password required for accessing the webserver
  277. #
  278. # webserver-password=
  279.  
  280. #################################
  281. # webserver-port Port of webserver to listen on
  282. #
  283. # webserver-port=8081
  284.  
  285. #################################
  286. # webserver-print-arguments If the webserver should print arguments
  287. #
  288. # webserver-print-arguments=no
  289.  
  290. #################################
  291. # wildcard-url Process URL and MBOXFW records
  292. #
  293. # wildcard-url=no
  294.  
  295. #################################
  296. # wildcards Honor wildcards in the database
  297. #
  298. # wildcards=
  299.  
  300. #################################
  301. # version-string What should PowerDNS return for version
  302. # allowed methods are anonymouse / powerdns / full / custom
  303. version-string=powerdns
  304.  
  305. include=/etc/powerdns/pdns-nat.d
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement