diff options
| author | Ahmed AbdelHalim <[email protected]> | 2025-08-18 21:22:15 +0200 |
|---|---|---|
| committer | Ahmed AbdelHalim <[email protected]> | 2025-08-19 00:16:11 +0200 |
| commit | 4407a2575b2732693fb981c990910048ec2a591b (patch) | |
| tree | f26555e57a5ed3946d206ee04f0328ea478d118d /roles/network | |
| parent | 8e1e19aecfb707ab47e8562491f3d814845faf35 (diff) | |
Fix pihole install to work on raspberry and simplify on arch
Diffstat (limited to 'roles/network')
| -rw-r--r-- | roles/network/templates/resolved.conf.j2 | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/roles/network/templates/resolved.conf.j2 b/roles/network/templates/resolved.conf.j2 index 600608dc..c94e9c1a 100644 --- a/roles/network/templates/resolved.conf.j2 +++ b/roles/network/templates/resolved.conf.j2 @@ -7,12 +7,15 @@ DNSOverTLS=yes # Enable multicast DNS for .local domain resolution (replaces avahi functionality) MulticastDNS=yes -# Enable LLMNR for Windows network compatibility -LLMNR=yes +# Disable LLMNR to prevent reverse DNS lookup delays +LLMNR=no Cache=yes CacheFromLocalhost=no +# Reduce timeout for faster reverse DNS fallback +ResolveUnicastSingleLabel=no + # Enable DNS stub listener on 127.0.0.53:53 DNSStubListener=yes |
