References:

https://unix.stackexchange.com/questions/442598/how-to-configure-systemd-resolved-and-systemd-networkd-to-use-local-dns-server-f

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