Skip to content

Instantly share code, notes, and snippets.

@mtask
mtask / ublocaldns.txt
Created August 19, 2017 09:38
Disable local dns ubuntu
Source: https://askubuntu.com/questions/907246/how-to-disable-systemd-resolved-in-ubuntu
Disable the systemd-resolved service and stop it:
sudo systemctl disable systemd-resolved.service
sudo service systemd-resolved stop
Put the following line in the [main] section of your /etc/NetworkManager/NetworkManager.conf:
dns=default
Delete the symlink /etc/resolv.conf