Disable DNS settings for hotel.

This commit is contained in:
Tom Alexander 2025-01-02 22:50:55 -05:00
parent 18d372c8ee
commit 4a4c54def4
Signed by: talexander
GPG Key ID: D3A179C9A53C0EDE

View File

@ -10,16 +10,16 @@
networking.dhcpcd.enable = false; networking.dhcpcd.enable = false;
networking.useDHCP = false; networking.useDHCP = false;
networking.nameservers = [ # networking.nameservers = [
"194.242.2.2#doh.mullvad.net" # "194.242.2.2#doh.mullvad.net"
"2a07:e340::2#doh.mullvad.net" # "2a07:e340::2#doh.mullvad.net"
]; # ];
services.resolved = { services.resolved = {
enable = true; enable = true;
# dnssec = "true"; # dnssec = "true";
domains = [ "~." ]; # domains = [ "~." ];
fallbackDns = [ ]; # fallbackDns = [ ];
dnsovertls = "true"; # dnsovertls = "true";
}; };
# Without this, systemd-resolved will send DNS requests for <X>.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. # Without this, systemd-resolved will send DNS requests for <X>.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.