- Make sure the resolvconf package is deinstalled.
This resolvconf package is useful for ‘on-the-road’ Laptops but is an overkill and can create problems in Servers.
apt-get remove resolvconf
Edit the systemd controlled resolved.conf
DNS= 18.104.22.168 22.214.171.124 2001:4860:4860::8888 2001:4860:4860::8844
Update systemd to the new edited resolved.conf
systemctl restart systemd-networkd
systemctl restart systemd-resolved