mirror of
https://github.com/basecamp/omarchy.git
synced 2026-02-17 15:25:37 +00:00
Set default DNS to Cloudflare (backup to Google) and tune MTU probing for more reliable SSH
This commit is contained in:
8
migrations/1754668999.sh
Normal file
8
migrations/1754668999.sh
Normal file
@@ -0,0 +1,8 @@
|
||||
echo "Set default DNS to Cloudflare (backup to Google) and tune MTU probing for more reliable SSH"
|
||||
|
||||
# Set Cloudflare as primary DNS (with Google as backup)
|
||||
sudo cp ~/.local/share/omarchy/default/systemd/resolved.conf /etc/systemd/
|
||||
sudo systemctl restart systemd-resolved
|
||||
|
||||
# Solve common flakiness with SSH
|
||||
echo "net.ipv4.tcp_mtu_probing=1" | sudo tee -a /etc/sysctl.d/99-sysctl.conf
|
||||
Reference in New Issue
Block a user