From 68b92244255934dcc58195f664b825353d54c8d3 Mon Sep 17 00:00:00 2001 From: Scott Solkhon Date: Wed, 4 Dec 2019 10:54:09 +0000 Subject: [PATCH] Add also_notifies to Infoblox backend for Designate Change-Id: Ia02f83dfaaba53f95e373b2b2be3f74cfb7ae578 Closes-Bug: #1855085 --- ansible/roles/designate/templates/pools.yaml.j2 | 5 +++++ ...foblox-backend-also-notifies-0214cc1e51b838b8.yaml | 11 +++++++++++ 2 files changed, 16 insertions(+) create mode 100644 releasenotes/notes/designate-infoblox-backend-also-notifies-0214cc1e51b838b8.yaml diff --git a/ansible/roles/designate/templates/pools.yaml.j2 b/ansible/roles/designate/templates/pools.yaml.j2 index b88c9ad4c2..2ee426e2b7 100644 --- a/ansible/roles/designate/templates/pools.yaml.j2 +++ b/ansible/roles/designate/templates/pools.yaml.j2 @@ -65,6 +65,11 @@ {% for host in designate_backend_infoblox_nameservers.replace(" ", "").split(',') %} - host: {{ host }} port: {{ designate_bind_port }} +{% endfor %} + also_notifies: +{% for host in designate_backend_infoblox_nameservers.replace(" ", "").split(',') %} + - host: {{ host }} + port: {{ designate_bind_port }} {% endfor %} targets: - type: infoblox diff --git a/releasenotes/notes/designate-infoblox-backend-also-notifies-0214cc1e51b838b8.yaml b/releasenotes/notes/designate-infoblox-backend-also-notifies-0214cc1e51b838b8.yaml new file mode 100644 index 0000000000..e4bf3479ed --- /dev/null +++ b/releasenotes/notes/designate-infoblox-backend-also-notifies-0214cc1e51b838b8.yaml @@ -0,0 +1,11 @@ +--- +fixes: + - | + Adds configuration to set `also_notifies` within the pools.yaml file + when using the Infoblox backend for Designate. + + Pushing a DNS NOTIFY packet to the master does not cause the DNS update + to be propagated onto other nodes within the cluster. This means each node + needs a DNS NOTIFY packet otherwise users may be given a stale DNS record + if they query any worker node. For details please see + `bug 1855085 `__