Could you paste the output from $ systemd-resolved --status when the system is in a bad state? That is, system mentions the domains in /etc/resolv.conf when it should not have.
Could you paste the output from
$ systemd-resolved --status
when the system is in a bad state? That is, system mentions the domains in /etc/resolv.conf when it should not have.