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… flush it with sudo systemctl restart systemd-resolved