I successfully work around this issue by the steps described at https://askubuntu.com/a/907249/153828 :
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
Delete the symlink /etc/resolv.conf
rm /etc/resolv.conf
Restart network-manager
sudo service network-manager restart
I successfully work around this issue by the steps described at https:/ /askubuntu. com/a/907249/ 153828 :
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/NetworkMan ager/NetworkMan ager.conf:
dns=default
Delete the symlink /etc/resolv.conf
rm /etc/resolv.conf
Restart network-manager
sudo service network-manager restart