From 59d8cab9bbe37529346728778e6dae79a3a57a2a Mon Sep 17 00:00:00 2001 From: Graham Hayes Date: Wed, 13 Mar 2019 18:03:09 +0000 Subject: [PATCH] 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 --- devstack/designate_plugins/backend-pdns4 | 1 + 1 file changed, 1 insertion(+) diff --git a/devstack/designate_plugins/backend-pdns4 b/devstack/designate_plugins/backend-pdns4 index babf95743..d0cf01dd3 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