-
-
Save XCage15/25368632a98c9fc0ebf8af34d26d77bc to your computer and use it in GitHub Desktop.
Revisions
-
zoilomora created this gist
Jun 13, 2019 .There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,24 @@ # How to disable systemd-resolved in Ubuntu ## Stages - Disable and stop the systemd-resolved 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=none - Delete the symlink `/etc/resolv.conf` rm /etc/resolv.conf - Restart network-manager sudo service network-manager restart ## Sources - https://askubuntu.com/questions/907246/how-to-disable-systemd-resolved-in-ubuntu - https://askubuntu.com/questions/623940/network-manager-how-to-stop-nm-updating-etc-resolv-conf