Search through more than a hundred articles on every aspect of Agentcis

Nootan Ghimire
Written by Nootan Ghimire

Common Network Issues: Clearing DNS Cache

Clearing the DNS cache on your computer can help resolve various network-related issues. Follow the steps below for Windows and Mac.


Flushing DNS Cache on Windows:


  1. Press the Windows key on your keyboard to open the Start menu.
  2. Type "Command Prompt" in the search bar.
  3. Right-click on "Command Prompt" in the search results and select "Run as administrator". This will open the Command Prompt with administrative privileges.
  4. In the Command Prompt window, type the following command and press Enter:
  5. ipconfig /flushdns
  6. Wait for the process to complete. Once the DNS cache has been flushed, you will see a message confirming the successful flush.

That's it! The DNS cache on your Windows computer has been successfully flushed/cleared.

Flushing DNS Cache on Mac:

Flushing the DNS cache on a Mac can help resolve network-related issues. Follow the steps below to flush the DNS cache on a Mac:

  1. Click on the "Finder" icon in the Dock to open a Finder window.
  2. In the top menu, click on "Go" and then select "Utilities".
  3. In the Utilities folder, open the "Terminal" application.
  4. In the Terminal window, type the following command and press Enter: sudo killall -HUP mDNSResponder
  • Note: You may be prompted to enter your Mac user account password. When typing the password, you won't see any characters on the screen. Press Enter after entering the password.
  • After executing the command, you may see some activity in the Terminal window. Once the process is complete, the DNS cache on your Mac has been successfully flushed.

Congratulations! You have successfully flushed/cleared the DNS cache on your Mac.

Remember, flushing the DNS cache can help resolve network-related issues by clearing outdated or corrupted DNS entries. It is a useful troubleshooting step, especially when you encounter problems with website access or DNS resolution.

Categories: