resolved: fix libvirt nss
Signed-off-by: Myned <dev@bjork.tech>
This commit is contained in:
parent
31cc2f7441
commit
508a3a624f
1 changed files with 6 additions and 2 deletions
|
@ -71,9 +71,12 @@ in {
|
||||||
services.resolved = mkIf cfg.dns {
|
services.resolved = mkIf cfg.dns {
|
||||||
enable = true;
|
enable = true;
|
||||||
dnsovertls = "opportunistic"; # Fallback only
|
dnsovertls = "opportunistic"; # Fallback only
|
||||||
#// llmnr = "false";
|
|
||||||
#// domains = [ "~." ]; # All interfaces
|
#// 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
|
# https://controld.com/free-dns
|
||||||
#?? host verify.controld.com
|
#?? host verify.controld.com
|
||||||
|
@ -97,6 +100,7 @@ in {
|
||||||
"mymachines"
|
"mymachines"
|
||||||
"libvirt_guest"
|
"libvirt_guest"
|
||||||
"libvirt"
|
"libvirt"
|
||||||
|
#// "wins"
|
||||||
"resolve"
|
"resolve"
|
||||||
"dns"
|
"dns"
|
||||||
]);
|
]);
|
||||||
|
|
Loading…
Reference in a new issue