liquid | fa359a2 | 2015-01-07 14:56:19 +0100 | [diff] [blame^] | 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=20 |
| 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.very.best.power.dns.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=gmysql |
| 83 | |
| 84 | ################################# |
| 85 | # load-modules Load this module - supply absolute or relative path |
| 86 | # |
| 87 | # load-modules= |
| 88 | |
| 89 | ################################# |
| 90 | # local-address Local IP address to which we bind |
| 91 | # |
| 92 | local-address=0.0.0.0 |
| 93 | |
| 94 | ################################# |
| 95 | # local-ipv6 Local IP address to which we bind |
| 96 | # |
| 97 | # local-ipv6= |
| 98 | |
| 99 | ################################# |
| 100 | # local-port The port on which we listen |
| 101 | # |
| 102 | local-port=53 |
| 103 | |
| 104 | ################################# |
| 105 | # log-dns-details If PDNS should log failed update requests |
| 106 | # |
| 107 | # log-dns-details= |
| 108 | |
| 109 | ################################# |
| 110 | # log-failed-updates If PDNS should log failed update requests |
| 111 | # |
| 112 | # log-failed-updates= |
| 113 | |
| 114 | ################################# |
| 115 | # logfile Logfile to use |
| 116 | # |
| 117 | # logfile=/var/log/pdns.log |
| 118 | |
| 119 | ################################# |
| 120 | # logging-facility Log under a specific facility |
| 121 | # |
| 122 | # logging-facility= |
| 123 | |
| 124 | ################################# |
| 125 | # loglevel Amount of logging. Higher is more. Do not set below 3 |
| 126 | # |
| 127 | # loglevel=4 |
| 128 | |
| 129 | ################################# |
| 130 | # master Act as a master |
| 131 | # |
| 132 | # master=yes |
| 133 | |
| 134 | ################################# |
| 135 | # max-queue-length Maximum queuelength before considering situation lost |
| 136 | # |
| 137 | # max-queue-length=5000 |
| 138 | |
| 139 | ################################# |
| 140 | # max-tcp-connections Maximum number of TCP connections |
| 141 | # |
| 142 | # max-tcp-connections=10 |
| 143 | |
| 144 | ################################# |
| 145 | # module-dir Default directory for modules |
| 146 | # |
| 147 | module-dir=/usr/lib/powerdns |
| 148 | |
| 149 | ################################# |
| 150 | # negquery-cache-ttl Seconds to store packets in the PacketCache |
| 151 | # |
| 152 | # negquery-cache-ttl=60 |
| 153 | |
| 154 | ################################# |
| 155 | # out-of-zone-additional-processing Do out of zone additional processing |
| 156 | # |
| 157 | # out-of-zone-additional-processing=no |
| 158 | |
| 159 | ################################# |
| 160 | # query-cache-ttl Seconds to store packets in the PacketCache |
| 161 | # |
| 162 | # query-cache-ttl=20 |
| 163 | |
| 164 | ################################# |
| 165 | # query-logging Hint backends that queries should be logged |
| 166 | # |
| 167 | # query-logging=no |
| 168 | |
| 169 | ################################# |
| 170 | # queue-limit Maximum number of milliseconds to queue a query |
| 171 | # |
| 172 | # queue-limit=1500 |
| 173 | |
| 174 | ################################# |
| 175 | # query-local-address The IP address to use as a source address for sending |
| 176 | # queries. |
| 177 | # query-local-address= |
| 178 | |
| 179 | ################################# |
| 180 | # receiver-threads Number of receiver threads to launch |
| 181 | # |
| 182 | # receiver-threads=1 |
| 183 | |
| 184 | ################################# |
| 185 | # recursive-cache-ttl Seconds to store packets in the PacketCache |
| 186 | # |
| 187 | # recursive-cache-ttl=10 |
| 188 | |
| 189 | ################################# |
| 190 | # recursor If recursion is desired, IP address of a recursing nameserver |
| 191 | # |
| 192 | # recursor= |
| 193 | |
| 194 | ################################# |
| 195 | # setgid If set, change group id to this gid for more security |
| 196 | # |
| 197 | setgid=pdns |
| 198 | |
| 199 | ################################# |
| 200 | # setuid If set, change user id to this uid for more security |
| 201 | # |
| 202 | setuid=pdns |
| 203 | |
| 204 | ################################# |
| 205 | # skip-cname Do not perform CNAME indirection for each query |
| 206 | # |
| 207 | # skip-cname=no |
| 208 | |
| 209 | ################################# |
| 210 | # slave Act as a slave |
| 211 | # |
| 212 | # slave=no |
| 213 | |
| 214 | ################################# |
| 215 | # slave-cycle-interval Reschedule failed SOA serial checks once every .. seconds |
| 216 | # |
| 217 | # slave-cycle-interval=60 |
| 218 | |
| 219 | ################################# |
| 220 | # smtpredirector Our smtpredir MX host |
| 221 | # |
| 222 | # smtpredirector=a.misconfigured.powerdns.smtp.server |
| 223 | |
| 224 | ################################# |
| 225 | # soa-minimum-ttl Default SOA mininum ttl |
| 226 | # |
| 227 | # soa-minimum-ttl=3600 |
| 228 | |
| 229 | ################################# |
| 230 | # soa-refresh-default Default SOA refresh |
| 231 | # |
| 232 | # soa-refresh-default=10800 |
| 233 | |
| 234 | ################################# |
| 235 | # soa-retry-default Default SOA retry |
| 236 | # |
| 237 | # soa-retry-default=3600 |
| 238 | |
| 239 | ################################# |
| 240 | # soa-expire-default Default SOA expire |
| 241 | # |
| 242 | # soa-expire-default=604800 |
| 243 | |
| 244 | ################################# |
| 245 | # soa-serial-offset Make sure that no SOA serial is less than this number |
| 246 | # |
| 247 | # soa-serial-offset=0 |
| 248 | |
| 249 | ################################# |
| 250 | # socket-dir Where the controlsocket will live |
| 251 | # |
| 252 | socket-dir=/var/run |
| 253 | |
| 254 | ################################# |
| 255 | # strict-rfc-axfrs Perform strictly rfc compliant axfrs (very slow) |
| 256 | # |
| 257 | # strict-rfc-axfrs=no |
| 258 | |
| 259 | ################################# |
| 260 | # urlredirector Where we send hosts to that need to be url redirected |
| 261 | # |
| 262 | # urlredirector=127.0.0.1 |
| 263 | |
| 264 | ################################# |
| 265 | # use-logfile Use a log file |
| 266 | # |
| 267 | # use-logfile=yes |
| 268 | |
| 269 | ################################# |
| 270 | # webserver Start a webserver for monitoring |
| 271 | # |
| 272 | webserver=yes |
| 273 | |
| 274 | ################################# |
| 275 | # webserver-address IP Address of webserver to listen on |
| 276 | # |
| 277 | webserver-address=127.0.0.1 |
| 278 | |
| 279 | ################################# |
| 280 | # webserver-password Password required for accessing the webserver |
| 281 | # |
| 282 | webserver-password=i.cannot.be.bad |
| 283 | |
| 284 | ################################# |
| 285 | # webserver-port Port of webserver to listen on |
| 286 | # |
| 287 | webserver-port=8081 |
| 288 | |
| 289 | ################################# |
| 290 | # webserver-print-arguments If the webserver should print arguments |
| 291 | # |
| 292 | # webserver-print-arguments=no |
| 293 | |
| 294 | ################################# |
| 295 | # wildcard-url Process URL and MBOXFW records |
| 296 | # |
| 297 | # wildcard-url=no |
| 298 | |
| 299 | ################################# |
| 300 | # wildcards Honor wildcards in the database |
| 301 | # |
| 302 | # wildcards= |
| 303 | |
| 304 | ################################# |
| 305 | # version-string What should PowerDNS return for version |
| 306 | # allowed methods are anonymous / powerdns / full / custom |
| 307 | version-string=powerdns |
| 308 | |
| 309 | include-dir=/etc/powerdns/pdns.d |