Let’s start the discussion about How to clear DNS cache in Ubuntu in following methods.
Contents
Clear dns cache in Ubuntu
To Clear DNS cache in Ubuntu run the below command.
sudo systemd-resolve --flush-caches
I hope the strategies listed above work for you. Happy coding and come back again.
Similar Post : How to flush DNS in ubuntu 18.04