Created
April 21, 2020 13:22
-
-
Save sailfish009/bafaef9987af2fe8f8f36f2442d22b4f to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# reasonable dns setting | |
# https://blobfolio.com/2017/05/fix-linux-dns-issues-caused-by-systemd-resolved/ | |
/etc/resolv.conf | |
# Google DNS | |
nameserver 8.8.8.8 | |
nameserver 8.8.4.4 | |
# Debian/Ubuntu | |
sudo apt-get install unbound | |
# Arch | |
sudo pacman -S unbound | |
# etc... | |
sudo systemctl stop systemd-resolved | |
sudo systemctl disable systemd-resolved | |
/etc/NetworkManager/NetworkManager.conf | |
[main] | |
dns=unbound | |
sudo systemctl enable unbound-resolvconf | |
sudo systemctl enable unbound | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment