Something happened with my local network connectivity that caused my homelab DNS server to not be prioritized on my remote desktop VM. I configured this by running
sudo resolvectl status and found the gateway to be the current DNS server. A reboot did not fix the problem. Found that
/etc/resolv.conf had the line "# This file is managed by man:systemd-resolved(8). Do not edit" and therefore edited
/etc/systemd/resolved.conf and then ran
sudo service systemd-resolved restart. I expect the DNS settings to survive a reboot.
Source#