Are you using systemd-resolved
and systemd-networkd
? If so, have you checked and double checked you set up your config with the appropriate lines in /etc/systemd/resolved.conf
and /etc/systemd/network/*.network
?
Also make sure to reload the appropriate systemd
unit files after changing network and DNS configuration (you don't have to restart).
Maybe this can help?