How To Flush DNS Cache?

DNS is used to solve domain names into IP addresses. Every computer connected to the internet uses some DNS cache in order to store previous DNS requests to solve them faster. But in some cases, this may create problems to connect internet. If the DNS cache is outdated or some misconfiguration the requested website or domain name may not be retrieved properly. Flushing DNS cache generally solves these problems in most cases. In this tutorial, we examine how to flush DNS cache for different Windows and macOS operating systems.

Flush DNS Cache For Windows 10 and Windows 8

Currently, Windows 10 and Windows 8 provide the same methodologies in order to flush DNS cache. The command-line interface is used with the command in order to flush. The command-line interface or MS-DOS should be opened as Administrator where the flushing DNS cache requires higher privileges. Take the following steps to flush the DNS cache for Windows 10 and Windows 8.

  • Right click to the Start Menu to open it.
  • Type ms-dos or command line in order to list command line interface.
  • On the command line interface run the ipconfig /flushdns command which flush the DNS settings.
  • Type ipconfig /registerdns command to register DNS again.
  • Run ipconfig /realease in order to release all IP and related DNS configuration.
  • The las command to execute is ipconfig /renew which renews the IP address and related configuration.
  • Alternatively the netsh winsock reset command can be used to flush DNS cache.

Flush DNS Cache For Windows 7

The Windows 7 operating system provides very similar steps to flush DNS cache. Take the following steps.

  • Right click to the Start Menu to open it.
  • Type ms-dos or command line in order to list command line interface.
  • On the command line interface run the ipconfig /flushdns command which flush the DNS settings.
  • Type ipconfig /registerdns command to register DNS again.
  • Run ipconfig /realease in order to release all IP and related DNS configuration.
  • The las command to execute is ipconfig /renew which renews the IP address and related configuration.
  • Alternatively the netsh winsock reset command can be used to flush DNS cache.
See also  "ipconfig /renew" - Renew IP Address In Windows

Leave a Comment