Ipconfig /flushdns – Clear the DNS cache

You need to clear the DNS, after transferring to a new web hosting server.

By using the ‘ipconfig /flushdns’ command, you delete the contents of the DNS resolver cache, meaning that your system will now recheck its settings to see where it should be going to get DNS addresses. Problem solved.

The bellow is the steps.

1. First click the start button

2. Click the Run

3. Type in cmd

4. Type in ipconfig /flushdns

5. Then you will get the result

Windows IP Configuration…….



Most DNS clients cache the results of name resolution requests. This speeds up name resolution if multiple lookups are done to the same address, such as is common when browsing the web.

Sometimes a bad DNS entry will be cached and you will need to either flush the DNS cache to get rid of it, or wait up to 24 hours for it to be dropped from the cache automatically.


Performing this task does not require you to have administrative credentials. Therefore, as a security best practice, consider performing this task as a user without administrative credentials.

To open a command prompt, click Start, point to All programs, point to Accessories, and then click Command prompt.

To view the complete syntax for this command, at a command prompt, type:

ipconfig /help

The ipconfig /flushdns command provides you with a means to flush and reset the contents of the DNS client resolver cache. During DNS troubleshooting, if necessary, you can use this procedure to discard negative cache entries from the cache, as well as, any other dynamically added entries.

Resetting the cache does not eliminate entries that are preloaded from the local Hosts file. To eliminate those entries from the cache, remove them from this file. For more information, see Related Topics.

Although the ipconfig command is provided for earlier versions of Windows, the /flushdns option is only available for use on computers running Windows 2000, Windows XP, or Windows Server 2003 operating systems.

More support at Support@Entertop