Knowledge Base Hub

Browse through our helpful how-to guides to get the fastest solutions to your technical issues.

Home  >  Web Hosting FAQ  >  Learn to clear the local DNS cache in Linux
Top Scroll

Learn to clear the local DNS cache in Linux

 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 :

sudo/etc/init.d/nscd restart

(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 :

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

For our Knowledge Base visitors only
Get 10% OFF on Hosting
Special Offer!
30
MINS
59
SECS
Claim the discount before it’s too late. Use the coupon code:
STORYSAVER
Note: Copy the coupon code and apply it on checkout.