-
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=default rc-manager=resolvconf
-
Delete the symlink
/etc/resolv.conf
rm /etc/resolv.conf
-
Restart network-manager
sudo systemctl restart NetworkManager
-
-
Save aolwas/23f3b781e6d509af4148fd9ab7bea32e to your computer and use it in GitHub Desktop.
How to disable systemd-resolved in Ubuntu
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment