Flush the DNS cache
The command to Flush the DNS cache can vary widely depending on your specific distribution and version.
Ubuntu and Debian-derived distributions use:
sudo service dns-clean restart.
Other Linux distributions using NSCD (Name Service Caching Daemon) may need to use one of the following commands.
sudo service nscd restartsudo systemctl restart nscd.servicenscd -I hosts
Comments
Post a Comment