Skip to content

Instantly share code, notes, and snippets.

@humbertodias
Last active December 9, 2017 05:43
Show Gist options
  • Save humbertodias/3a938bcb3cb785451f2071c76a33d189 to your computer and use it in GitHub Desktop.
Save humbertodias/3a938bcb3cb785451f2071c76a33d189 to your computer and use it in GitHub Desktop.
Linux fix for resolv.conf
How can I flush the DNS on Ubuntu?
sudo rm -f /etc/resolv.conf
sudo ln -s /run/systemd/resolve/resolv.conf /etc/resolv.conf
reboot
# Source
https://askubuntu.com/questions/974477/systemds-implementation-of-dns-is-not-resolving-names
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment