]> git.ipfire.org Git - thirdparty/pdns.git/blame - dockerdata/dnsdist.conf
Merge pull request #12918 from omoerbeek/rec-prep-4.9.0-rc1
[thirdparty/pdns.git] / dockerdata / dnsdist.conf
CommitLineData
c0e0545b
PD
1setLocal('0.0.0.0')
2
3-- this example code goes well with the docker-compose.yml file in pdns.git
4-- it assumes you create example.com in the auth
5
6-- resolver = require 'dnsdist-resolver'
7-- resolver.servers.auth = {pool='auths'}
8-- resolver.servers.recursor = {pool='recursors'}
9
10-- maintenance = resolver.maintenance
11
12-- addAction('example.com', PoolAction('auths'))
13-- addAction(AllRule(), PoolAction('recursors'))
14
15includeDirectory('/etc/dnsdist/conf.d')