Flush DNS

Sometimes there are issues with your computer resolving Internet addresses and Domain names. There is a service called DNS (Domain Naming Service) which keeps a cache of IP addresses resolved to Internet addresses. When you have issues with DNS you need to clear out corrupted addresses and refresh – this is called Flushing your DNS.

Below are the commands to Flush DNS for Windows and MacOS.

Windows 10

  1. Use Windows search and type Command Prompt
  2. Right-click Command Prompt and choose Run as Administrator
  3. In User Account Control (UAC) pop-up just click Yes
  4. You will then get a black box called the Command Prompt.
  5. Type the following in the black box:
    ipconfig /flushdns
  6. Then press Enter

MacOS

  1. Open Terminal (Application › Utilities › Terminal or click Go > Utilities > Terminal)
  2. Type the following into the Terminal window:
    sudo killall -HUP mDNSResponder
  3. Then press Enter to run the command
  4. Type in your computer’s password when prompted. (Don’t worry it might not appear on the screen as you type).
  5. Then press Enter again to submit the password
  6. Close the Terminal.