Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

recursor.conf 7.5KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303
  1. # Autogenerated configuration file template
  2. #################################
  3. # aaaa-additional-processing turn on to do AAAA additional processing (slow)
  4. #
  5. # aaaa-additional-processing=off
  6. #################################
  7. # allow-from If set, only allow these comma separated netmasks to recurse
  8. #
  9. # allow-from=127.0.0.0/8, 10.0.0.0/8, 192.168.0.0/16, 172.16.0.0/12, ::1/128, fe80::/10
  10. #################################
  11. # allow-from-file If set, load allowed netmasks from this file
  12. #
  13. # allow-from-file=
  14. #################################
  15. # auth-can-lower-ttl If we follow RFC 2181 to the letter, an authoritative server can lower the TTL of NS records
  16. #
  17. # auth-can-lower-ttl=off
  18. #################################
  19. # auth-zones Zones for which we have authoritative data, comma separated domain=file pairs
  20. #
  21. # auth-zones=
  22. #################################
  23. # chroot switch to chroot jail
  24. #
  25. # chroot=
  26. #################################
  27. # client-tcp-timeout Timeout in seconds when talking to TCP clients
  28. #
  29. # client-tcp-timeout=2
  30. #################################
  31. # config-dir Location of configuration directory (recursor.conf)
  32. #
  33. # config-dir=/etc/powerdns/
  34. #################################
  35. # daemon Operate as a daemon
  36. #
  37. # daemon=yes
  38. #################################
  39. # delegation-only Which domains we only accept delegations from
  40. #
  41. # delegation-only=
  42. #################################
  43. # disable-edns Disable EDNS
  44. #
  45. # disable-edns=
  46. #################################
  47. # disable-edns-ping Disable EDNSPing
  48. #
  49. # disable-edns-ping=no
  50. #################################
  51. # disable-packetcache Disable packetcache
  52. #
  53. # disable-packetcache=no
  54. #################################
  55. # dont-query If set, do not query these netmasks for DNS data
  56. #
  57. # dont-query=127.0.0.0/8, 10.0.0.0/8, 192.168.0.0/16, 172.16.0.0/12, ::1/128, fe80::/10
  58. #################################
  59. # entropy-source If set, read entropy from this file
  60. #
  61. # entropy-source=/dev/urandom
  62. #################################
  63. # etc-hosts-file Path to 'hosts' file
  64. #
  65. # etc-hosts-file=/etc/hosts
  66. #################################
  67. # export-etc-hosts If we should serve up contents from /etc/hosts
  68. #
  69. # export-etc-hosts=off
  70. #################################
  71. # forward-zones Zones for which we forward queries, comma separated domain=ip pairs
  72. #
  73. # forward-zones=
  74. #################################
  75. # forward-zones-file File with (+)domain=ip pairs for forwarding
  76. #
  77. # forward-zones-file=
  78. #################################
  79. # forward-zones-recurse Zones for which we forward queries with recursion bit, comma separated domain=ip pairs
  80. #
  81. # forward-zones-recurse=
  82. #################################
  83. # hint-file If set, load root hints from this file
  84. #
  85. # hint-file=
  86. #################################
  87. # ignore-rd-bit Assume each packet requires recursion, for compatability
  88. #
  89. # ignore-rd-bit=off
  90. #################################
  91. # local-address IP addresses to listen on, separated by spaces or commas. Also accepts ports.
  92. #
  93. local-address=0.0.0.0
  94. #################################
  95. # local-port port to listen on
  96. #
  97. local-port=53
  98. #################################
  99. # log-common-errors If we should log rather common errors
  100. #
  101. # log-common-errors=yes
  102. #################################
  103. # logging-facility Facility to log messages as. 0 corresponds to local0
  104. #
  105. # logging-facility=
  106. #################################
  107. # lua-dns-script Filename containing an optional 'lua' script that will be used to modify dns answers
  108. #
  109. # lua-dns-script=
  110. #################################
  111. # max-cache-entries If set, maximum number of entries in the main cache
  112. #
  113. # max-cache-entries=1000000
  114. #################################
  115. # max-cache-ttl maximum number of seconds to keep a cached entry in memory
  116. #
  117. # max-cache-ttl=86400
  118. #################################
  119. # max-mthreads Maximum number of simultaneous Mtasker threads
  120. #
  121. # max-mthreads=2048
  122. #################################
  123. # max-negative-ttl maximum number of seconds to keep a negative cached entry in memory
  124. #
  125. # max-negative-ttl=3600
  126. #################################
  127. # max-packetcache-entries maximum number of entries to keep in the packetcache
  128. #
  129. # max-packetcache-entries=500000
  130. #################################
  131. # max-tcp-clients Maximum number of simultaneous TCP clients
  132. #
  133. # max-tcp-clients=128
  134. #################################
  135. # max-tcp-per-client If set, maximum number of TCP sessions per client (IP address)
  136. #
  137. # max-tcp-per-client=0
  138. #################################
  139. # network-timeout Wait this nummer of milliseconds for network i/o
  140. #
  141. # network-timeout=1500
  142. #################################
  143. # no-shuffle Don't change
  144. #
  145. # no-shuffle=off
  146. #################################
  147. # packetcache-servfail-ttl maximum number of seconds to keep a cached servfail entry in packetcache
  148. #
  149. # packetcache-servfail-ttl=60
  150. #################################
  151. # packetcache-ttl maximum number of seconds to keep a cached entry in packetcache
  152. #
  153. # packetcache-ttl=3600
  154. #################################
  155. # pdns-distributes-queries If PowerDNS itself should distribute queries over threads (EXPERIMENTAL)
  156. #
  157. # pdns-distributes-queries=no
  158. #################################
  159. # processes Launch this number of processes (EXPERIMENTAL, DO NOT CHANGE)
  160. #
  161. # processes=1
  162. #################################
  163. # query-local-address Source IP address for sending queries
  164. #
  165. # query-local-address=0.0.0.0
  166. #################################
  167. # query-local-address6 Source IPv6 address for sending queries
  168. #
  169. # query-local-address6=
  170. #################################
  171. # quiet Suppress logging of questions and answers
  172. #
  173. quiet=yes
  174. #################################
  175. # remotes-ringbuffer-entries maximum number of packets to store statistics for
  176. #
  177. # remotes-ringbuffer-entries=0
  178. #################################
  179. # serve-rfc1918 If we should be authoritative for RFC 1918 private IP space
  180. #
  181. # serve-rfc1918=
  182. #################################
  183. # server-id Returned when queried for 'server.id' TXT or NSID, defaults to hostname
  184. #
  185. # server-id=
  186. #################################
  187. # setgid If set, change group id to this gid for more security
  188. #
  189. setgid=pdns
  190. #################################
  191. # setuid If set, change user id to this uid for more security
  192. #
  193. setuid=pdns
  194. #################################
  195. # single-socket If set, only use a single socket for outgoing queries
  196. #
  197. # single-socket=off
  198. #################################
  199. # soa-minimum-ttl Don't change
  200. #
  201. # soa-minimum-ttl=0
  202. #################################
  203. # soa-serial-offset Don't change
  204. #
  205. # soa-serial-offset=0
  206. #################################
  207. # socket-dir Where the controlsocket will live
  208. #
  209. # socket-dir=/var/run/
  210. #################################
  211. # socket-group Group of socket
  212. #
  213. # socket-group=
  214. #################################
  215. # socket-mode Permissions for socket
  216. #
  217. # socket-mode=
  218. #################################
  219. # socket-owner Owner of socket
  220. #
  221. # socket-owner=
  222. #################################
  223. # spoof-nearmiss-max If non-zero, assume spoofing after this many near misses
  224. #
  225. # spoof-nearmiss-max=20
  226. #################################
  227. # stack-size stack size per mthread
  228. #
  229. # stack-size=200000
  230. #################################
  231. # threads Launch this number of threads
  232. #
  233. # threads=2
  234. #################################
  235. # trace if we should output heaps of logging
  236. #
  237. # trace=off
  238. #################################
  239. # version-string string reported on version.pdns or version.bind
  240. #
  241. # version-string=PowerDNS Recursor 3.3 $Id: pdns_recursor.cc 1712 2010-09-11 13:40:03Z ahu $