Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- setuid=pdns
- setgid=pdns
- # Autogenerated configuration file template
- #################################
- # add-superfluous-nsec3-for-old-bind Add superfluous NSEC3 record to positive wildcard response
- #
- # add-superfluous-nsec3-for-old-bind=no
- #################################
- # allow-axfr-ips Allow zonetransfers only to these subnets
- #
- # allow-axfr-ips=0.0.0.0/0,::/0
- #################################
- # allow-recursion List of subnets that are allowed to recurse
- #
- # allow-recursion=0.0.0.0/0
- allow-recursion=127.0.0.1, 192.237.167.61, 66.77.86.0/24, 66.77.206.0/24, 66.77.207.0/24, 66.77.149.0/24, 10.200.10.0/24, 10.200.11.0/24, 10.200.12.0/24, 10.200.13.0/24, 193.108.155.34/32, 80.67.64.10/32, 80.67.64.148/32, 72.246.192.168/32, 193.108.152.143/32, 60.254.128.45/32, 72.247.45.25/32, 72.247.45.65/32, 72.247.45.110/32, 72.247.45.157/32, 72.246.0.10/32, 23.73.133.237/32, 23.73.133.141/32, 23.73.134.237/32, 23.73.134.141/32
- #################################
- # any-to-tcp Answer ANY queries with tc=1, shunting to TCP
- #
- # any-to-tcp=no
- #################################
- # cache-ttl Seconds to store packets in the PacketCache
- #
- # cache-ttl=20
- #################################
- # chroot If set, chroot to this directory for more security
- #
- # chroot=
- #################################
- # config-dir Location of configuration directory (pdns.conf)
- #
- # config-dir=/usr/local/etc
- config-dir=/etc/pdns
- #################################
- # config-name Name of this virtual configuration - will rename the binary image
- #
- # config-name=
- #################################
- # control-console Debugging switch - don't use
- #
- # control-console=no
- #################################
- # daemon Operate as a daemon
- #
- # daemon=no
- daemon=yes
- #################################
- # default-ksk-algorithms Default KSK algorithms
- #
- # default-ksk-algorithms=rsasha256
- #################################
- # default-ksk-size Default KSK size (0 means default)
- #
- # default-ksk-size=0
- #################################
- # default-soa-mail mail address to insert in the SOA record if none set in the backend
- #
- # default-soa-mail=
- #################################
- # default-soa-name name to insert in the SOA record if none set in the backend
- #
- # default-soa-name=a.misconfigured.powerdns.server
- #################################
- # default-ttl Seconds a result is valid if not set otherwise
- #
- # default-ttl=3600
- #################################
- # default-zsk-algorithms Default ZSK algorithms
- #
- # default-zsk-algorithms=rsasha256
- #################################
- # default-zsk-size Default KSK size (0 means default)
- #
- # default-zsk-size=0
- #################################
- # direct-dnskey Fetch DNSKEY RRs from backend during DNSKEY synthesis
- #
- # direct-dnskey=no
- #################################
- # disable-axfr Disable zonetransfers but do allow TCP queries
- #
- # disable-axfr=no
- disable-axfr=yes
- #################################
- # disable-tcp Do not listen to TCP queries
- #
- # disable-tcp=no
- #################################
- # distributor-threads Default number of Distributor (backend) threads to start
- #
- # distributor-threads=3
- #################################
- # do-ipv6-additional-processing Do AAAA additional processing
- #
- # do-ipv6-additional-processing=yes
- #################################
- # edns-subnet-option-number EDNS option number to use
- #
- # edns-subnet-option-number=20730
- #################################
- # edns-subnet-processing If we should act on EDNS Subnet options
- #
- # edns-subnet-processing=no
- #################################
- # entropy-source If set, read entropy from this file
- #
- # entropy-source=/dev/urandom
- #################################
- # experimental-json-interface If the webserver should serve JSON data
- #
- # experimental-json-interface=no
- #################################
- # experimental-logfile Filename of the log file for JSON parser
- #
- # experimental-logfile=/var/log/pdns.log
- #################################
- # fancy-records Process URL and MBOXFW records
- #
- # fancy-records=no
- #################################
- # guardian Run within a guardian process
- #
- # guardian=no
- guardian=yes
- #################################
- # include-dir Include *.conf files from this directory
- #
- # include-dir=
- #################################
- # launch Which backends to launch and order to query them in
- #
- # launch=
- #################################
- # load-modules Load this module - supply absolute or relative path
- #
- # load-modules=
- #################################
- # local-address Local IP addresses to which we bind
- #
- # local-address=0.0.0.0
- #################################
- # local-ipv6 Local IP address to which we bind
- #
- # local-ipv6=
- #################################
- # local-port The port on which we listen
- #
- # local-port=53
- #################################
- # log-dns-details If PDNS should log DNS non-erroneous details
- #
- # log-dns-details=
- log-dns-details=on
- #################################
- # log-dns-queries If PDNS should log all incoming DNS queries
- #
- # log-dns-queries=no
- #################################
- # logging-facility Log under a specific facility
- #
- # logging-facility=
- #################################
- # loglevel Amount of logging. Higher is more. Do not set below 3
- #
- # loglevel=4
- loglevel=9
- #################################
- # lua-prequery-script Lua script with prequery handler
- #
- # lua-prequery-script=
- #################################
- # master Act as a master
- #
- # master=no
- #################################
- # max-cache-entries Maximum number of cache entries
- #
- # max-cache-entries=1000000
- #################################
- # max-ent-entries Maximum number of empty non-terminals in a zone
- #
- # max-ent-entries=100000
- #################################
- # max-nsec3-iterations Limit the number of NSEC3 hash iterations
- #
- # max-nsec3-iterations=500
- #################################
- # max-queue-length Maximum queuelength before considering situation lost
- #
- # max-queue-length=5000
- #################################
- # max-tcp-connections Maximum number of TCP connections
- #
- # max-tcp-connections=10
- #################################
- # module-dir Default directory for modules
- #
- # module-dir=/usr/local/lib
- #################################
- # negquery-cache-ttl Seconds to store negative query results in the QueryCache
- #
- # negquery-cache-ttl=60
- #################################
- # no-shuffle Set this to prevent random shuffling of answers - for regression testing
- #
- # no-shuffle=off
- #################################
- # out-of-zone-additional-processing Do out of zone additional processing
- #
- # out-of-zone-additional-processing=yes
- #################################
- # overload-queue-length Maximum queuelength moving to packetcache only
- #
- # overload-queue-length=0
- #################################
- # pipebackend-abi-version Version of the pipe backend ABI
- #
- # pipebackend-abi-version=1
- #################################
- # prevent-self-notification Don't send notifications to what we think is ourself
- #
- # prevent-self-notification=yes
- #################################
- # query-cache-ttl Seconds to store query results in the QueryCache
- #
- # query-cache-ttl=20
- #################################
- # 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
- #
- # query-local-address6=::
- #################################
- # query-logging Hint backends that queries should be logged
- #
- # query-logging=no
- #################################
- # queue-limit Maximum number of milliseconds to queue a query
- #
- # queue-limit=1500
- #################################
- # receiver-threads Default number of receiver threads to start
- #
- # receiver-threads=1
- #################################
- # recursive-cache-ttl Seconds to store packets for recursive queries in the PacketCache
- #
- # recursive-cache-ttl=10
- #################################
- # recursor If recursion is desired, IP address of a recursing nameserver
- #
- # recursor=no
- #################################
- # retrieval-threads Number of AXFR-retrieval threads for slave operation
- #
- # retrieval-threads=2
- #################################
- # security-poll-suffix Domain name from which to query security update notifications
- #
- # security-poll-suffix=secpoll.powerdns.com.
- #################################
- # send-root-referral Send out old-fashioned root-referral instead of ServFail in case of no authority
- #
- # send-root-referral=no
- #################################
- # 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=
- #################################
- # signing-threads Default number of signer threads to start
- #
- # signing-threads=3
- #################################
- # slave Act as a slave
- #
- # slave=no
- #################################
- # slave-cycle-interval Reschedule failed SOA serial checks once every .. seconds
- #
- # slave-cycle-interval=60
- #################################
- # slave-renotify If we should send out notifications for slaved updates
- #
- # slave-renotify=no
- #################################
- # smtpredirector Our smtpredir MX host
- #
- # smtpredirector=a.misconfigured.powerdns.smtp.server
- #################################
- # soa-expire-default Default SOA expire
- #
- # soa-expire-default=604800
- #################################
- # soa-minimum-ttl Default SOA minimum ttl
- #
- # soa-minimum-ttl=3600
- #################################
- # soa-refresh-default Default SOA refresh
- #
- # soa-refresh-default=10800
- #################################
- # soa-retry-default Default SOA retry
- #
- # soa-retry-default=3600
- #################################
- # soa-serial-offset Make sure that no SOA serial is less than this number
- #
- # soa-serial-offset=0
- #################################
- # socket-dir Where the controlsocket will live
- #
- # socket-dir=/var/run
- #################################
- # tcp-control-address If set, PowerDNS can be controlled over TCP on this address
- #
- # tcp-control-address=
- #################################
- # tcp-control-port If set, PowerDNS can be controlled over TCP on this address
- #
- # tcp-control-port=53000
- #################################
- # tcp-control-range If set, remote control of PowerDNS is possible over these networks only
- #
- # tcp-control-range=127.0.0.0/8, 10.0.0.0/8, 192.168.0.0/16, 172.16.0.0/12, ::1/128, fe80::/10
- #################################
- # tcp-control-secret If set, PowerDNS can be controlled over TCP after passing this secret
- #
- # tcp-control-secret=
- #################################
- # traceback-handler Enable the traceback handler (Linux only)
- #
- # traceback-handler=yes
- #################################
- # trusted-notification-proxy IP address of incoming notification proxy
- #
- # trusted-notification-proxy=
- #################################
- # urlredirector Where we send hosts to that need to be url redirected
- #
- # urlredirector=127.0.0.1
- #################################
- # version-string PowerDNS version in packets - full, anonymous, powerdns or custom
- #
- # version-string=full
- version-string=powerdns
- #################################
- # webserver Start a webserver for monitoring
- #
- # webserver=no
- #################################
- # webserver-address IP Address of webserver to listen on
- #
- # webserver-address=127.0.0.1
- #################################
- # webserver-password Password required for accessing the webserver
- #
- # webserver-password=
- #################################
- # webserver-port Port of webserver to listen on
- #
- # webserver-port=8081
- #################################
- # webserver-print-arguments If the webserver should print arguments
- #
- # webserver-print-arguments=no
- #################################
- # wildcard-url Process URL and MBOXFW records
- #
- # wildcard-url=no
- #################################
- # xfr-max-received-mbytes Maximum number of megabytes received from an incoming AXFR
- #
- # xfr-max-received-mbytes=100
- launch=gmysql,bind
- gmysql-host=127.0.0.1
- gmysql-user=###############
- gmysql-password=#####################
- gmysql-dbname=###################
- master=yes
- slave=yes
- bind-config=/etc/pdns/bind/named.conf
- bind-check-interval=600
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement