Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- setuid=pdns
- setgid=pdns
- launch=gmysql
- gmysql-host=127.0.0.1
- gmysql-user=powerdns_user
- gmysql-dbname=powerdns
- gmysql-password=
- allow-axfr-ips=1.1.1.1/32
- cache-ttl=60
- control-console=no
- default-soa-name=dns1.example.ru
- default-soa-mail=support@example.ru
- default-ttl=3600
- disable-axfr=no
- local-port=5300
- local-address=127.0.0.1
- log-dns-queries=yes
- logging-facility=0
- loglevel=4
- master=yes
- max-queue-length=5000
- max-tcp-connections=20
- setuid=pdns-recursor
- setgid=pdns-recursor
- local-address=127.0.0.1
- local-port=5301
- hint-file=/etc/pdns-recursor/root.zone
- allow-from=127.0.0.1/8
- setLocal('127.0.0.1')
- addLocal('1.1.1.1')
- setACL({'0.0.0.0/0'}) -- Allow all IPs access
- newServer({address='127.0.0.1:5300', pool='auth'})
- newServer({address='127.0.0.1:5301', pool='recursor'})
- recursive_ips = newNMG()
- recursive_ips:addMask('127.0.0.1/8')
- recursive_ips:addMask('1.1.1.1/19')
- recursive_ips:addMask('2.2.2.2/19')
- addAction(NetmaskGroupRule(recursive_ips), PoolAction('recursor'))
- addAction(AllRule(), PoolAction('auth'))
Add Comment
Please, Sign In to add comment