From e9bfb11137d74b1b10e0f2672ede181d69ce73fd Mon Sep 17 00:00:00 2001 From: Price Hiller Date: Fri, 27 Oct 2023 02:24:36 -0500 Subject: [PATCH] fix(luna): properly configure systemd-resolved --- hosts/luna/modules/networking.nix | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/hosts/luna/modules/networking.nix b/hosts/luna/modules/networking.nix index 8393358..979c2d0 100755 --- a/hosts/luna/modules/networking.nix +++ b/hosts/luna/modules/networking.nix @@ -69,15 +69,16 @@ in services.resolved = { enable = true; - dnssec = "true"; - domains = [ "~." ]; + dnssec = "allow-downgrade"; + domains = resolved_nameservers; fallbackDns = resolved_fallback_nameservers; - llmnr = "true"; + llmnr = "resolve"; extraConfig = '' MulticastDNS=yes DNSOverTLS=yes CacheFromLocalhost=no Cache=yes + Domains=~. ''; }; networking = {