Created
February 25, 2020 06:46
-
-
Save FatihGoktas/0ec8e4a17204fc019492a882bcc33889 to your computer and use it in GitHub Desktop.
This file contains 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
I've faced the exactly same problem but I've fixed it with another approache. | |
Using Ubuntu 18.04, first disable systemd-resolved service. | |
sudo systemctl disable systemd-resolved.service | |
Stop the service | |
sudo systemctl stop systemd-resolved.service | |
Then, remove the link to /run/systemd/resolve/stub-resolv.conf in /etc/resolv.conf | |
sudo rm /etc/resolv.conf | |
Add a manually created resolv.conf in /etc/ | |
sudo vim /etc/resolv.conf | |
Add your prefered DNS server there | |
nameserver 208.67.222.222 | |
I've tested this with success. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thank you, you saved my life.