From 2b0e5d7c4abe115b9fa5b33759d13ef4df01b1b4 Mon Sep 17 00:00:00 2001 From: Tobias Hachmer Date: Thu, 1 Nov 2018 19:33:46 +0100 Subject: [PATCH] Role service-bind-slave: listen on loopback + anycast ip addresses --- roles/service-bind-slave/templates/named.conf.options.j2 | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/roles/service-bind-slave/templates/named.conf.options.j2 b/roles/service-bind-slave/templates/named.conf.options.j2 index 38edce5..f2c7215 100644 --- a/roles/service-bind-slave/templates/named.conf.options.j2 +++ b/roles/service-bind-slave/templates/named.conf.options.j2 @@ -19,6 +19,8 @@ options { listen-on { 127.0.0.1; + {{ ffmwu_anycast_ipv4 | ipaddr('address') }}; + {{ ffmwu_loopback_net_ipv4 | ipaddr('net') | ipaddr(magic) | ipaddr('address') }}; {% for mesh in meshes %} {{ mesh.ipv4_network | ipaddr('net') | ipaddr(magic) | ipaddr('address') }}; {% endfor %} @@ -27,6 +29,8 @@ options { listen-on-v6 { ::1; + {{ ffmwu_anycast_ipv6 | ipaddr('address') }}; + {{ ffmwu_loopback_net_ipv6 | ipaddr('net') | ipaddr(magic) | ipaddr('address') }}; {% for mesh in meshes %} {% for ip in mesh.ipv6_ula %} {{ ip | ipaddr('net') | ipsubnet(64, 0) | ipaddr(magic) | ipaddr('address') }};