diff options
author | Graham Hayes <gr@ham.ie> | 2019-03-13 18:03:09 +0000 |
---|---|---|
committer | Graham Hayes <gr@ham.ie> | 2019-03-13 18:03:09 +0000 |
commit | 59d8cab9bbe37529346728778e6dae79a3a57a2a (patch) | |
tree | ffe567d4f25fa9196400e45eda2dd6a157a1c7d2 | |
parent | 618137b32f1e6aff2a017898d6f4a10c237a3b44 (diff) | |
download | designate-59d8cab9bbe37529346728778e6dae79a3a57a2a.tar.gz |
Allow non localhost connections to pdns api8.0.0.0rc18.0.0
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>
-rw-r--r-- | devstack/designate_plugins/backend-pdns4 | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/devstack/designate_plugins/backend-pdns4 b/devstack/designate_plugins/backend-pdns4 index babf9574..d0cf01dd 100644 --- a/devstack/designate_plugins/backend-pdns4 +++ b/devstack/designate_plugins/backend-pdns4 @@ -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 |