Now you can easily utilize a local DNS resolver cache like Windows and Mac OS X.
Perform following steps to clear the DNS cache in Linux :
(i) Open the terminal.
(ii) Restart the name service cache daemon by typing following command :
(iii) In some cases, the nscd daemon might not be installed.
Thus using the following command you can install it in Ubuntu or in other Debian-based distros :
sudo apt-get install nscd
(iv) For the RedHat-based distributions (like Fedora, CentOS), you can install nscd daemon using yum package manager as :
yum install nscd
Also Read :