Skip to content

Instantly share code, notes, and snippets.

@djraw
Last active October 2, 2018 10:51
Show Gist options
  • Save djraw/0a65802634c895d56a0a33c1d23843dd to your computer and use it in GitHub Desktop.
Save djraw/0a65802634c895d56a0a33c1d23843dd to your computer and use it in GitHub Desktop.
Fixing DNS not working after ubuntu upgrade
My DNS stopped working after upgrading from 16.04 to 18.04.
The solution that worked was to change
dns=dnsmasq
to
dns=systemd-resolved
in /etc/NetworkManager/NetworkManager.conf
Then restart NetworkManager by running:
#sudo systemctl restart NetworkManager
and your DNS should work.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment