How to Flush DNS

Most of the OS & DNS clients shall automatically cache IP Addresses & other DNS results, this can be done to speed up subsequent requests to the same hostname.

Many times bad results will be cached & so that we need to cleared it from the cache, results we will communicate with host properly.

This facility is available in all OS, Please follow below steps to flush DNS.

 

Please consider following step-by-step guide to flush DNS:

// Click on Start button.

// Click on RUN ( Right click on RUN + run as administrator )

// Open Command prompt by typing CMD on RUN prompt.

// Command prompt will appear in front of you, to flush DNS issue the following command on command prompt:

Flush DNS - Command prompt

Flush DNS – Command prompt

DNS successfully flushed with above mentioned command with message Successfully flushed the DNS Resolver Cache.

Same above method will be applicable with the following mentioned OS to flush DNS.

  • Windows 98
  • Windows NT
  • Windows 2000
  • Windows XP
  • Windows Vista
  • Windows 7
  • Windows 8

 

How to flush DNS in Linux OS.

If nscd Name Service Cache Daemon running on your linux OS then issue the following command to flush DNS on terminal prompt. ( as root user )
/etc/init.d/nscd restart

OR

service nscd restart

OR

service nscd reload

***********************************************************************

Note: Please don’t hesitate to revert in case of any query OR feedback.

Thanking you.

Have a easy life ahead.

This entry was posted in Other and tagged .

Leave a Reply