From 13080071ebfc482ef73a798ad4a1868c1d04f158 Mon Sep 17 00:00:00 2001 From: Rene Mewissen Date: Fri, 16 Aug 2024 17:58:44 +0200 Subject: [PATCH] pdns-recursor must run before wireguard can start --- roles/nameserver/templates/powerdns-recursor-custom-config.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/nameserver/templates/powerdns-recursor-custom-config.j2 b/roles/nameserver/templates/powerdns-recursor-custom-config.j2 index b19a6ce..23b96f9 100644 --- a/roles/nameserver/templates/powerdns-recursor-custom-config.j2 +++ b/roles/nameserver/templates/powerdns-recursor-custom-config.j2 @@ -4,5 +4,5 @@ forward-zones-recurse = universe.local=192.168.1.3 local-address = 127.0.0.1 {% if wg_local_ip is defined %}, {{ wg_local_ip | ansible.utils.ipaddr('address') }}{% else %}{{ ansible_default_ipv4.address }}{% endif %} local-port = {% if pdns_recursor_lport is defined %}{{ pdns_recursor_lport }}{% else %}53{% endif %} - +non-local-bind = yes query-local-address = {{ ansible_default_ipv4.address }} {% if ansible_default_ipv6.address is defined %}, {{ ansible_default_ipv6.address }}{% endif %} {% if wg_local_ip is defined %}, {{ wg_local_ip | ansible.utils.ipaddr('address') }}{% endif %} \ No newline at end of file