fb6cfa92d7477e6b6c946729a67f777ff29f544c
[mirror/dsa-puppet.git] / modules / geodns / files / common / pdns.conf
1 # Autogenerated configuration file template
2 #################################
3 # allow-axfr-ips    If enabled, restrict zonetransfers to originate from these
4 #                   IP addresses
5 #
6 # allow-axfr-ips=
7
8 #################################
9 # allow-recursion       List of netmasks that are allowed to recurse
10 #
11 allow-recursion=127.0.0.1
12
13 #################################
14 # allow-recursion-override   Local data even about hosts that don't exist will
15 #                            override the internet. (on/off)
16 #
17 # allow-recursion-override=
18
19 #################################
20 # cache-ttl     Seconds to store packets in the PacketCache
21 #
22 cache-ttl=0
23
24 #################################
25 # chroot        If set, chroot to this directory for more security
26 #
27 # chroot=/var/spool/powerdns
28
29 #################################
30 # config-dir    Location of configuration directory (pdns.conf)
31 #
32 config-dir=/etc/powerdns
33
34 #################################
35 # config-name   Name of this virtual configuration - will rename the binary image
36 #
37 # config-name=
38
39 #################################
40 # control-console       Debugging switch - don't use
41 #
42 # control-console=no
43
44 #################################
45 # daemon        Operate as a daemon
46 #
47 daemon=yes
48
49 #################################
50 # default-soa-name      name to insert in the SOA record if none set in the backend
51 #
52 # default-soa-name=a.misconfigured.powerdns.server
53
54 #################################
55 # disable-axfr  Disable zonetransfers but do allow TCP queries
56 #
57 disable-axfr=yes
58
59 #################################
60 # disable-tcp   Do not listen to TCP queries
61 #
62 # disable-tcp=no
63
64 #################################
65 # distributor-threads   Default number of Distributor (backend) threads to start
66 #
67 # distributor-threads=3
68
69 #################################
70 # fancy-records Process URL and MBOXFW records
71 #
72 # fancy-records=no
73
74 #################################
75 # guardian      Run within a guardian process
76 #
77 guardian=yes
78
79 #################################
80 # launch        Which backends to launch and order to query them in
81 #
82 launch=geo
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=0.0.0.0
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
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 # out-of-zone-additional-processing     Do out of zone additional processing
161 #
162 # out-of-zone-additional-processing=no
163
164 #################################
165 # query-cache-ttl       Seconds to store packets in the PacketCache
166 #
167 query-cache-ttl=0
168
169 #################################
170 # query-logging Hint backends that queries should be logged
171 #
172 # query-logging=no
173
174 #################################
175 # queue-limit   Maximum number of milliseconds to queue a query
176 #
177 # queue-limit=1500
178
179 #################################
180 # query-local-address   The IP address to use as a source address for sending
181 #                       queries.
182 # query-local-address=
183
184 #################################
185 # receiver-threads      Number of receiver threads to launch
186 #
187 # receiver-threads=1
188
189 #################################
190 # recursive-cache-ttl   Seconds to store packets in the PacketCache
191 #
192 # recursive-cache-ttl=10
193
194 #################################
195 # recursor      If recursion is desired, IP address of a recursing nameserver
196 #
197 # recursor=
198
199 #################################
200 # setgid        If set, change group id to this gid for more security
201 #
202 setgid=pdns
203
204 #################################
205 # setuid        If set, change user id to this uid for more security
206 #
207 setuid=pdns
208
209 #################################
210 # skip-cname    Do not perform CNAME indirection for each query
211 #
212 # skip-cname=no
213
214 #################################
215 # slave Act as a slave
216 #
217 # slave=no
218
219 #################################
220 # slave-cycle-interval  Reschedule failed SOA serial checks once every .. seconds
221 #
222 # slave-cycle-interval=60
223
224 #################################
225 # smtpredirector        Our smtpredir MX host
226 #
227 # smtpredirector=a.misconfigured.powerdns.smtp.server
228
229 #################################
230 # soa-minimum-ttl       Default SOA mininum ttl
231 #
232 # soa-minimum-ttl=3600
233
234 #################################
235 # soa-refresh-default  Default SOA refresh
236 #
237 # soa-refresh-default=10800
238
239 #################################
240 # soa-retry-default    Default SOA retry
241 #
242 # soa-retry-default=3600
243
244 #################################
245 # soa-expire-default   Default SOA expire
246 #
247 # soa-expire-default=604800
248
249 #################################
250 # soa-serial-offset     Make sure that no SOA serial is less than this number
251 #
252 # soa-serial-offset=0
253
254 #################################
255 # socket-dir    Where the controlsocket will live
256 #
257 socket-dir=/var/run
258
259 #################################
260 # strict-rfc-axfrs      Perform strictly rfc compliant axfrs (very slow)
261 #
262 # strict-rfc-axfrs=no
263
264 #################################
265 # urlredirector Where we send hosts to that need to be url redirected
266 #
267 # urlredirector=127.0.0.1
268
269 #################################
270 # use-logfile   Use a log file
271 #
272 # use-logfile=yes
273
274 #################################
275 # webserver     Start a webserver for monitoring
276 #
277 # webserver=no
278
279 #################################
280 # webserver-address     IP Address of webserver to listen on
281 #
282 # webserver-address=127.0.0.1
283
284 #################################
285 # webserver-password    Password required for accessing the webserver
286 #
287 # webserver-password=
288
289 #################################
290 # webserver-port        Port of webserver to listen on
291 #
292 # webserver-port=8081
293
294 #################################
295 # webserver-print-arguments     If the webserver should print arguments
296 #
297 # webserver-print-arguments=no
298
299 #################################
300 # wildcard-url  Process URL and MBOXFW records
301 #
302 # wildcard-url=no
303
304 #################################
305 # wildcards     Honor wildcards in the database
306 #
307 wildcards=no
308
309 #################################
310 # version-string   What should PowerDNS return for version
311 #                  allowed methods are anonymous / powerdns / full / custom
312 version-string=powerdns
313
314 include=/etc/powerdns/pdns.d