-
-
Save kpma1985/b2b56a54e379159d690d5fe5737b42d2 to your computer and use it in GitHub Desktop.
Revisions
-
zoilomora revised this gist
Mar 10, 2020 . 1 changed file with 0 additions and 1 deletion.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 @@ -21,4 +21,3 @@ ## Sources - https://askubuntu.com/questions/907246/how-to-disable-systemd-resolved-in-ubuntu -
zoilomora revised this gist
Mar 10, 2020 . 1 changed file with 1 addition and 1 deletion.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 @@ -9,7 +9,7 @@ - Then put the following line in the `[main]` section of your `/etc/NetworkManager/NetworkManager.conf`: dns=default - Delete the symlink `/etc/resolv.conf` -
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