Set Cloudflare as the default DNS with Google as backup
Solves a bunch of problems with shitty local DNS
This commit is contained in:
1 parent
32e091d2e5
commit
61032ba4d0
2 files changed
+7
No files matched your search
@@ -26,6 +26,9 @@ 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/
|
||||
|
||||
# Set common git aliases
|
||||
git config --global alias.co checkout
|
||||
git config --global alias.br branch
|
||||
|
||||
Reference in new issue
Block a user