Yeah, lots of people out there saying "leenucks doesn't have a dns cache!!1!" — well, recent versions of Ubuntu do ootb, and just restarting NetworkManager doesn't clear it for some ungodly reason. If 127.0.0.53
is returning painfully stale results, flush them with this command:
sudo systemctl restart systemd-resolved