Clear Local DNS Cache on Windows & Mac

Prev Next

This article will show you how to flush the DNS for a computer running a Windows or Mac operating system.

Clear Local DNS Cache on Windows

  1. Type "cmd" into the Taskbar Search Box Windows Taskbar search box with cmd typed into the search field.

  2. Click the Command Prompt app in the results list when the search completes Command Prompt search result in the search results list.

  3. Within the prompt, type "ipconfig /flushdns" The flush DNS prompt typed into the Command Prompt window.

  4. Hit the Enter key on your keyboard

  5. A Successfully flushed DNS Resolver Cache message should appear A Successfully flushed the DNS Resolver Cache message in the Command window.

Clear Local DNS Cache on Mac

  1. Navigate to Finder, hover over the Go tab, then select the Utilities option in the drop-down list Mac Menu bar Finder option with the Go drop-down and Applications option highlighted.

  2. Select the Terminal option The Terminal app shortcut within the Utilities folder.

  3. A Terminal window will open on your local machine

  4. Within the prompt, type "sudo killall -HUP mDNSResponder && echo macOS DNS Cache Reset"

  5. Hit the Enter key on your keyboard

    Notes:

    • There will be no message, but at this time please reattempt connection to your domain.

    • You may have to enter your administrator password.