I would add a command to collect the status of rsolvectl, to understand what went wrong when the dns is not working.
% resolvectl status
I would add a command to collect the status of rsolvectl, to understand what went wrong when the dns is not working.
% resolvectl status