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 | 42af81b283832aee07c336f9d591350a9fc089da (patch) | |
| tree | f26555e57a5ed3946d206ee04f0328ea478d118d /roles/network | |
| parent | 08e7307ea0b311e081560ed6126a6c0d196215e4 (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 |
