pdns-recursor must run before wireguard can start

This commit is contained in:
2024-08-16 17:58:44 +02:00
parent e3edcf02f9
commit 13080071eb

View File

@@ -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 %}