Clear DNS Cache on Ubuntu

A hostname change can leave your Ubuntu computer using an earlier address. Ubuntu’s systemd-resolved service can store DNS answers in a local cache, and resolvectl can clear that cache. I’ll show how to check which resolver is active and flush systemd-resolved’s local cache. TL;DR On Ubuntu using systemd-resolved, run sudo resolvectl flush-caches to clear its

Clear DNS Cache on Ubuntu Read More »