Skip to content

Instantly share code, notes, and snippets.

@sailfish009
Created April 21, 2020 13:22
Show Gist options
  • Save sailfish009/bafaef9987af2fe8f8f36f2442d22b4f to your computer and use it in GitHub Desktop.
Save sailfish009/bafaef9987af2fe8f8f36f2442d22b4f to your computer and use it in GitHub Desktop.
# 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