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:
@@ -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
|
||||
|
Reference in New Issue
Block a user