diff options
Diffstat (limited to 'machines/xnet/net/dns.nix')
| -rw-r--r-- | machines/xnet/net/dns.nix | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/machines/xnet/net/dns.nix b/machines/xnet/net/dns.nix index 186e43c..0632fa9 100644 --- a/machines/xnet/net/dns.nix +++ b/machines/xnet/net/dns.nix @@ -20,18 +20,19 @@ let in { - networking.nameservers = mkDefault [ - "9.9.9.9#dns.quad9.net" - "149.112.112.112#dns.quad9.net" - "2620:fe::fe#dns.quad9.net" - "2620:fe::9#dns.quad9.net" - ]; + networking.nameservers = mkDefault quad9; services.resolved = { enable = true; - llmnr = "true"; + llmnr = "false"; dnssec = "false"; dnsovertls = mkDefault "opportunistic"; fallbackDns = quad9 ++ cloudflare; + extraConfig = '' + MulticastDNS=yes + ''; }; + + # Allow mDNS resolution + networking.firewall.allowedTCPPorts = [ 5353 ]; } |
