From 4a4c54def4de4e44e5e1b06bbd485ec72022205c Mon Sep 17 00:00:00 2001 From: Tom Alexander Date: Thu, 2 Jan 2025 22:50:55 -0500 Subject: [PATCH] Disable DNS settings for hotel. --- nix/configuration/roles/network/default.nix | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/nix/configuration/roles/network/default.nix b/nix/configuration/roles/network/default.nix index 6ea9589..f3fe87d 100644 --- a/nix/configuration/roles/network/default.nix +++ b/nix/configuration/roles/network/default.nix @@ -10,16 +10,16 @@ networking.dhcpcd.enable = false; networking.useDHCP = false; - networking.nameservers = [ - "194.242.2.2#doh.mullvad.net" - "2a07:e340::2#doh.mullvad.net" - ]; + # networking.nameservers = [ + # "194.242.2.2#doh.mullvad.net" + # "2a07:e340::2#doh.mullvad.net" + # ]; services.resolved = { enable = true; # dnssec = "true"; - domains = [ "~." ]; - fallbackDns = [ ]; - dnsovertls = "true"; + # domains = [ "~." ]; + # fallbackDns = [ ]; + # dnsovertls = "true"; }; # Without this, systemd-resolved will send DNS requests for .home.arpa to the per-link DNS server (172.16.0.1) which does not support DNS-over-TLS. This leads to the connection anging and timing out. This causes firefox startup to take an extra 10+ seconds.