From 8074694ac862a5b5b48965a3890de1cc4cfc5550 Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Fri, 22 Aug 2025 17:58:01 +0200 Subject: [PATCH] Stop setting DNS for all on new systems pending that we move to something like #752 --- default/systemd/resolved.conf | 4 ---- install/config/config.sh | 6 ------ 2 files changed, 10 deletions(-) delete mode 100644 default/systemd/resolved.conf diff --git a/default/systemd/resolved.conf b/default/systemd/resolved.conf deleted file mode 100644 index 5c4adafa..00000000 --- a/default/systemd/resolved.conf +++ /dev/null @@ -1,4 +0,0 @@ -[Resolve] -DNS=1.1.1.1 -FallbackDNS=8.8.8.8 -DNSStubListener=yes diff --git a/install/config/config.sh b/install/config/config.sh index 46883bce..2f926c1f 100644 --- a/install/config/config.sh +++ b/install/config/config.sh @@ -26,12 +26,6 @@ sudo gpgconf --launch dirmngr || true sudo sed -i 's|^\(auth\s\+required\s\+pam_faillock.so\)\s\+preauth.*$|\1 preauth silent deny=10 unlock_time=120|' "/etc/pam.d/system-auth" sudo sed -i 's|^\(auth\s\+\[default=die\]\s\+pam_faillock.so\)\s\+authfail.*$|\1 authfail deny=10 unlock_time=120|' "/etc/pam.d/system-auth" -# Set Cloudflare as primary DNS (with Google as backup) -sudo cp ~/.local/share/omarchy/default/systemd/resolved.conf /etc/systemd/ - -# Ensure /etc/resolv.conf is symlinked to systemd-resolved's stub resolver -sudo ln -sfn /run/systemd/resolve/stub-resolv.conf /etc/resolv.conf 2>/dev/null || true - # Solve common flakiness with SSH echo "net.ipv4.tcp_mtu_probing=1" | sudo tee -a /etc/sysctl.d/99-sysctl.conf