How to flush DNS cache in Linux / Windows / Mac

To flush DNS cache in Microsoft Windows:

- Start -> Run -> type cmd
- in command prompt, type ipconfig /flushdns
- Done! You Window DNS cache has just been flush.

 

To flush the DNS cache in Linux, restart the nscd daemon:

- To restart the nscd daemon, type /etc/rc.d/init.d/nscd restart in your terminal
- Once you run the command your linux DNS cache will flush.

 

To flush the DNS cache in Mac OS X Leopard:

- type lookupd -flushcache in your terminal to flush the DNS resolver cache.
ex: bash-2.05a$ lookupd -flushcache
- Once you run the command your DNS cache (in Mac OS X) will flush.

To flush the DNS cache in Mac OS X:

- type dscacheutil -flushcache in your terminal to flush the DNS resolver cache.
ex: bash-2.05a$ dscacheutil -flushcache
- Once you run the command your DNS cache (in Mac OS X Leopard) will flush.

  • 0 משתמשים שמצאו מאמר זה מועיל
?האם התשובה שקיבלתם הייתה מועילה

מאמרים קשורים

Do you have pre-installed scripts?

To access preinstalled scripts, please log in to your cPanel and search for Fantastico under...

Do you offer SSL email encryption?

Every Lotosus client can encrypt his or her email data (free of charge) using our SSL...

Can you transfer my accounts?

We can transfer your hosting accounts from old server if it's running WHM/cPanel. To transfer...

Can I have a dedicated IP?

If you need your own dedicated IP address for some reasons (to get better positions in search...

What is Cloud Backup?

Cloud Backup is an advanced backup service for Lotosus customers to protect their data from loss....