# Autogenerated configuration file template ################################# # allow-from If set, only allow these comma separated netmasks to recurse # # allow-from=127.0.0.0/8, 10.0.0.0/8, 100.64.0.0/10, 169.254.0.0/16, 192.168.0.0/16, 172.16.0.0/12, ::1/128, fe80::/10 ################################# # allow-from-file If set, load allowed netmasks from this file # # allow-from-file= ################################# # any-to-tcp Answer ANY queries with tc=1, shunting to TCP # # any-to-tcp=no ################################# # auth-zones Zones for which we have authoritative data, comma separated domain=file pairs # # auth-zones= ################################# # carbon-interval Number of seconds between carbon (graphite) updates # # carbon-interval=30 ################################# # carbon-ourname If set, overrides our reported hostname for carbon stats # # carbon-ourname= ################################# # carbon-server If set, send metrics in carbon (graphite) format to this server # # carbon-server= ################################# # chroot switch to chroot jail # # chroot= ################################# # client-tcp-timeout Timeout in seconds when talking to TCP clients # # client-tcp-timeout=2 ################################# # config-dir Location of configuration directory (recursor.conf) # # config-dir=/etc/powerdns/ ################################# # config-name Name of this virtual configuration - will rename the binary image # # config-name= ################################# # daemon Operate as a daemon # # daemon=yes ################################# # delegation-only Which domains we only accept delegations from # # delegation-only= ################################# # disable-edns Disable EDNS - EXPERIMENTAL, LEAVE DISABLED # # disable-edns= ################################# # disable-packetcache Disable packetcache # # disable-packetcache=no ################################# # dont-query If set, do not query these netmasks for DNS data # # dont-query=127.0.0.0/8, 10.0.0.0/8, 100.64.0.0/10, 169.254.0.0/16, 192.168.0.0/16, 172.16.0.0/12, ::1/128, fe80::/10 ################################# # entropy-source If set, read entropy from this file # # entropy-source=/dev/urandom ################################# # etc-hosts-file Path to 'hosts' file # # etc-hosts-file=/etc/hosts ################################# # experimental-api-config-dir Directory where REST API stores config and zones # # experimental-api-config-dir= ################################# # experimental-api-key REST API Static authentication key (required for API use) # # experimental-api-key= ################################# # experimental-api-readonly If the JSON API should disallow data modification # # experimental-api-readonly=no ################################# # experimental-logfile Filename of the log file for JSON parser # # experimental-logfile=/var/log/pdns.log ################################# # experimental-webserver Start a webserver for monitoring # # experimental-webserver=no ################################# # experimental-webserver-address IP Address of webserver to listen on # # experimental-webserver-address=127.0.0.1 ################################# # experimental-webserver-password Password required for accessing the webserver # # experimental-webserver-password= ################################# # experimental-webserver-port Port of webserver to listen on # # experimental-webserver-port=8082 ################################# # export-etc-hosts If we should serve up contents from /etc/hosts # # export-etc-hosts=off ################################# # export-etc-hosts-search-suffix Also serve up the contents of /etc/hosts with this suffix # # export-etc-hosts-search-suffix= ################################# # forward-zones Zones for which we forward queries, comma separated domain=ip pairs # # forward-zones= ################################# # forward-zones-file File with (+)domain=ip pairs for forwarding # # forward-zones-file= ################################# # forward-zones-recurse Zones for which we forward queries with recursion bit, comma separated domain=ip pairs # # forward-zones-recurse= ################################# # hint-file If set, load root hints from this file # # hint-file= ################################# # include-dir Include *.conf files from this directory # # include-dir= ################################# # latency-statistic-size Number of latency values to calculate the qa-latency average # # latency-statistic-size=10000 ################################# # local-address IP addresses to listen on, separated by spaces or commas. Also accepts ports. # # local-address=127.0.0.1 ################################# # local-port port to listen on # # local-port=53 ################################# # log-common-errors If we should log rather common errors # # log-common-errors=yes ################################# # logging-facility Facility to log messages as. 0 corresponds to local0 # # logging-facility= ################################# # loglevel Amount of logging. Higher is more. Do not set below 3 # # loglevel=4 ################################# # lua-dns-script Filename containing an optional 'lua' script that will be used to modify dns answers # # lua-dns-script= ################################# # max-cache-entries If set, maximum number of entries in the main cache # # max-cache-entries=1000000 ################################# # max-cache-ttl maximum number of seconds to keep a cached entry in memory # # max-cache-ttl=86400 ################################# # max-mthreads Maximum number of simultaneous Mtasker threads # # max-mthreads=2048 ################################# # max-negative-ttl maximum number of seconds to keep a negative cached entry in memory # # max-negative-ttl=3600 ################################# # max-packetcache-entries maximum number of entries to keep in the packetcache # # max-packetcache-entries=500000 ################################# # max-tcp-clients Maximum number of simultaneous TCP clients # # max-tcp-clients=128 ################################# # max-tcp-per-client If set, maximum number of TCP sessions per client (IP address) # # max-tcp-per-client=0 ################################# # minimum-ttl-override Set under adverse conditions, a minimum TTL # # minimum-ttl-override=0 ################################# # network-timeout Wait this nummer of milliseconds for network i/o # # network-timeout=1500 ################################# # no-shuffle Don't change # # no-shuffle=off ################################# # packetcache-servfail-ttl maximum number of seconds to keep a cached servfail entry in packetcache # # packetcache-servfail-ttl=60 ################################# # packetcache-ttl maximum number of seconds to keep a cached entry in packetcache # # packetcache-ttl=3600 ################################# # pdns-distributes-queries If PowerDNS itself should distribute queries over threads (EXPERIMENTAL) # # pdns-distributes-queries=no ################################# # processes Launch this number of processes (EXPERIMENTAL, DO NOT CHANGE) # # processes=1 ################################# # query-local-address Source IP address for sending queries # # query-local-address=0.0.0.0 ################################# # query-local-address6 Source IPv6 address for sending queries. IF UNSET, IPv6 WILL NOT BE USED FOR OUTGOING QUERIES # # query-local-address6= ################################# # quiet Suppress logging of questions and answers # # quiet= ################################# # remotes-ringbuffer-entries maximum number of packets to store statistics for # # remotes-ringbuffer-entries=0 ################################# # security-poll-suffix Domain name from which to query security update notifications # # security-poll-suffix=secpoll.powerdns.com. ################################# # serve-rfc1918 If we should be authoritative for RFC 1918 private IP space # # serve-rfc1918= ################################# # server-down-max-fails Maximum number of consecutive timeouts (and unreachables) to mark a server as down ( 0 => disabled ) # # server-down-max-fails=64 ################################# # server-down-throttle-time Number of seconds to throttle all queries to a server after being marked as down # # server-down-throttle-time=60 ################################# # server-id Returned when queried for 'server.id' TXT or NSID, defaults to hostname # # server-id= ################################# # setgid If set, change group id to this gid for more security # # setgid= ################################# # setuid If set, change user id to this uid for more security # # setuid= ################################# # single-socket If set, only use a single socket for outgoing queries # # single-socket=off ################################# # soa-minimum-ttl Don't change # # soa-minimum-ttl=0 ################################# # soa-serial-offset Don't change # # soa-serial-offset=0 ################################# # socket-dir Where the controlsocket will live # # socket-dir=/var/run/ ################################# # socket-group Group of socket # # socket-group= ################################# # socket-mode Permissions for socket # # socket-mode= ################################# # socket-owner Owner of socket # # socket-owner= ################################# # spoof-nearmiss-max If non-zero, assume spoofing after this many near misses # # spoof-nearmiss-max=20 ################################# # stack-size stack size per mthread # # stack-size=200000 ################################# # threads Launch this number of threads # # threads=2 ################################# # trace if we should output heaps of logging. set to 'fail' to only log failing domains # # trace=off ################################# # udp-truncation-threshold Maximum UDP response size before we truncate # # udp-truncation-threshold=1680 ################################# # version-string string reported on version.pdns or version.bind # # version-string=PowerDNS Recursor 3.6.3 (jenkins@autotest.powerdns.com built 20150501192955 iurt@ecosse.mageia.org) socket-dir=/run/powerdns/ soa-minimum-ttl=0 soa-serial-offset=0 local-port=5300 local-address=127.0.0.1 trace=off daemon=yes quiet=on setgid=powerdns setuid=powerdns