From 508a3a624fac0ea49e83297f3648d04338ec29f6 Mon Sep 17 00:00:00 2001 From: Myned Date: Fri, 13 Sep 2024 13:46:24 -0500 Subject: [PATCH] resolved: fix libvirt nss Signed-off-by: Myned --- options/custom/settings/networking.nix | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/options/custom/settings/networking.nix b/options/custom/settings/networking.nix index dc3fc95..58ae699 100644 --- a/options/custom/settings/networking.nix +++ b/options/custom/settings/networking.nix @@ -71,9 +71,12 @@ in { services.resolved = mkIf cfg.dns { enable = true; dnsovertls = "opportunistic"; # Fallback only - #// llmnr = "false"; #// domains = [ "~." ]; # All interfaces - #// extraConfig = "MulticastDNS=false"; # mDNS + + # Multicast DNS causes single name resolution to hang and prevents libvirt NSS from functioning + # https://github.com/NixOS/nixpkgs/issues/322022 + extraConfig = "MulticastDNS=false"; # mDNS + llmnr = "false"; # https://controld.com/free-dns #?? host verify.controld.com @@ -97,6 +100,7 @@ in { "mymachines" "libvirt_guest" "libvirt" + #// "wins" "resolve" "dns" ]);