fix (pdns-recur): migrate config to yaml
This commit is contained in:
parent
7d2d99bd27
commit
418f31dbfc
@ -98,11 +98,23 @@ include-dir=/etc/powerdns/pdns.d
|
|||||||
template{
|
template{
|
||||||
destination = "local/recursor.conf"
|
destination = "local/recursor.conf"
|
||||||
data= <<EOH
|
data= <<EOH
|
||||||
config-dir=/etc/powerdns
|
dnssec:
|
||||||
dnssec=off
|
validation: off
|
||||||
forward-zones=consul=127.0.0.1:8600,ducamps.eu=192.168.1.5,1.168.192.in-addr.arpa=192.168.1.5
|
recursor:
|
||||||
local-address=192.168.1.6
|
forward_zones:
|
||||||
EOH
|
- zone: consul
|
||||||
|
forwarders:
|
||||||
|
- 127.0.0.1:8600
|
||||||
|
- zone : ducamps.eu
|
||||||
|
forwarders:
|
||||||
|
- 192.168.1.5
|
||||||
|
- zone: 1.168.192.in-addr.arpa
|
||||||
|
forwarders:
|
||||||
|
- 192.168.1.5
|
||||||
|
incoming:
|
||||||
|
listen:
|
||||||
|
- 192.168.1.6
|
||||||
|
EOH
|
||||||
}
|
}
|
||||||
resources {
|
resources {
|
||||||
cpu = 50
|
cpu = 50
|
||||||
|
Loading…
Reference in New Issue
Block a user