Allow non localhost connections to pdns api

PowerDNS 4.1.0 changed the default value of `webserver-allow-from` from
`0.0.0.0/0` to `127.0.0.1` which blocked designate-worker and
pool-manager from connecting to the API [1]

Updated the allowed list of IPs to include the service host.

1 - https://doc.powerdns.com/authoritative/settings.html#setting-webserver-allow-from

Change-Id: I655ba3264507ba0f4fc30ba8a7c3b35d216a9acd
Signed-off-by: Graham Hayes <gr@ham.ie>
This commit is contained in:
Graham Hayes 2019-03-13 18:03:09 +00:00
parent 618137b32f
commit 59d8cab9bb
No known key found for this signature in database
GPG Key ID: 1B263DC59F4AEFD5
1 changed files with 1 additions and 0 deletions

View File

@ -120,6 +120,7 @@ negquery-cache-ttl=0
out-of-zone-additional-processing=no
webserver=yes
webserver-address=$DESIGNATE_SERVICE_HOST
webserver-allow-from=$DESIGNATE_SERVICE_HOST,127.0.0.1,::1
api=yes
api-key=changeme
EOF