mirror of
https://github.com/cwchristerw/tjas-infra
synced 2025-09-01 09:39:31 +00:00
Add PowerDNS Recursor to Deployer
This commit is contained in:
12
files/dnsdist/config.conf
Normal file
12
files/dnsdist/config.conf
Normal file
@@ -0,0 +1,12 @@
|
||||
setLocal('0.0.0.0:53')
|
||||
addLocal('[::]:53')
|
||||
setACL({'0.0.0.0/0', '::/0'})
|
||||
setECSOverride(true)
|
||||
setECSSourcePrefixV4(32)
|
||||
setECSSourcePrefixV6(128)
|
||||
newServer({address='127.0.0.1:531', useClientSubnet=true, pool='authorative'})
|
||||
newServer({ address='127.0.0.1:532', useClientSubnet=false, pool='recursor' })
|
||||
addAction('tjas', PoolAction('authorative'))
|
||||
addAction(AllRule(), PoolAction('recursor'))
|
||||
setSecurityPollSuffix("")
|
||||
setServFailWhenNoServer(true)
|
@@ -1,6 +1,6 @@
|
||||
local-address=0.0.0.0,::
|
||||
local-port=53
|
||||
default-soa-content=s1.intra.tjas no-reply.intra.tjas 0 10800 3600 604800 3600
|
||||
local-port=531
|
||||
default-soa-content=olympus.juva.tjas no-reply.intra.tjas 0 10800 3600 604800 3600
|
||||
launch=gmysql
|
||||
gmysql-host=127.0.0.1
|
||||
gmysql-port=3306
|
9
files/powerdns-recursor/config.conf
Normal file
9
files/powerdns-recursor/config.conf
Normal file
@@ -0,0 +1,9 @@
|
||||
incoming:
|
||||
listen:
|
||||
- 127.0.0.1:532
|
||||
recursor:
|
||||
forward_zones:
|
||||
- zone: tjas
|
||||
recurse: false
|
||||
forwarders:
|
||||
- 127.0.0.1:531
|
Reference in New Issue
Block a user