In Windows, we use
ipconfig /flushdns
in Ubuntu 16.04 run this command to flush dns cache:
sudo /etc/init.d/dns-clean restart
or use:
sudo /etc/init.d/networking force-reload
Ubuntu 20.04
How to Clear DNS Cache on Ubuntu?
We can run the following command to clear the DNS cache on Ubuntu.
sudo systemd-resolve --flush-caches
No comments:
Post a Comment