From a3fa8e519d73b73f18390599812920a4de7d3998 Mon Sep 17 00:00:00 2001 From: Simon Cornet Date: Mon, 14 Jul 2025 16:55:40 +0200 Subject: [PATCH] feat: added interface bindings --- templates/unbound/unbound.conf.j2 | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/templates/unbound/unbound.conf.j2 b/templates/unbound/unbound.conf.j2 index 6451455..f5eded7 100644 --- a/templates/unbound/unbound.conf.j2 +++ b/templates/unbound/unbound.conf.j2 @@ -1,6 +1,8 @@ server: verbosity: 1 - interface: 0.0.0.0 + interface: {{ ansible_default_ipv4 }} + interface: {{ keepalived_virtual_ipaddress }} + ip-freebind: yes port: 53 do-ip4: yes do-ip6: yes