Knowledge Base
MilesWeb / Web Hosting FAQ

Learn to clear the local DNS cache in Linux

Approx. read time : 2 min

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 :

(iv) For the RedHat-based distributions (like Fedora, CentOS), you can install nscd daemon using yum package manager as :

Also Read :

1) Learn to import .sql file into a Postgre database

Need help? We’re always here for you.