References:
- 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
reboot
Edit the systemd controlled resolved.conf
mcedit /etc/systemd/resolved.conf
[Resolve]
DNS= 8.8.8.8 8.8.4.4 2001:4860:4860::8888 2001:4860:4860::8844
FallbackDNS=
Domains=itmatrix.eu srv
#LLMNR=no
#MulticastDNS=no
#DNSSEC=no
#Cache=yes
#DNSStubListener=yes
Update systemd to the new edited resolved.conf
systemctl daemon-reload
systemctl restart systemd-networkd
systemctl restart systemd-resolved