From f93dd15e52140d8e2fb5462ed009a954f1885572 Mon Sep 17 00:00:00 2001 From: Ahmed Abdelhalim Date: Wed, 20 Aug 2025 23:37:21 +0200 Subject: Add wireguard role and fix testing The testing was failing because the use of the example files with the same domain names, resulted in the files and the molecule variable were being merged and therefore running tasks that would fail on test (example, setting a fake VPN connection that wouldn't start). --- roles/network/templates/resolved.conf.j2 | 2 ++ 1 file changed, 2 insertions(+) (limited to 'roles/network') diff --git a/roles/network/templates/resolved.conf.j2 b/roles/network/templates/resolved.conf.j2 index c94e9c1a..c083a214 100644 --- a/roles/network/templates/resolved.conf.j2 +++ b/roles/network/templates/resolved.conf.j2 @@ -3,6 +3,8 @@ DNS=9.9.9.9 2620:fe::fe#quad9.net FallbackDNS=1.1.1.1 2606:4700:4700::1111#cloudflare-dns.com 8.8.8.8 2001:4860:4860::8888#dns.google DNSSEC=yes DNSOverTLS=yes +# use interface-specific DNS when available but fall back to global (required for VPN DNS to work) +Domains=~. # Enable multicast DNS for .local domain resolution (replaces avahi functionality) MulticastDNS=yes -- cgit v1.2.3