Created
October 2, 2020 23:46
-
-
Save Terkea/d751c5223d0e00d11b7e69d2a82f0269 to your computer and use it in GitHub Desktop.
disable dns resolve
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
Disable and stop the service | |
sudo systemctl disable systemd-resolved.service | |
sudo systemctl stop systemd-resolved | |
Then put the following line in the [main] section of your | |
/etc/NetworkManager/NetworkManager.conf | |
dns=default | |
Delete the symlink /etc/resolv.conf | |
rm /etc/resolv.conf | |
Restart network-manager | |
sudo service network-manager restart |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment