How to Flush DNS on a Mac Print

  • clear DNS cache macOS flush DNS Mac dscacheutil Terminal Apple DNS troubleshooting mDNSResponder website not loading
  • 0

  1. Press Command + Space, type Terminal, then press Return to open it.
  2. Type the following command and press Return:
    sudo dscacheutil -flushcache
    If prompted, enter your Mac administrator password and press Return. Characters will not appear while you type your password. This is normal.
  3. Type the following command and press Return:
    sudo killall -HUP mDNSResponder
    Enter your administrator password again if prompted.
  4. Terminal normally returns to the command prompt without displaying a confirmation message. If no error appears, the commands have completed.
  5. Quit and reopen your web browser, then try accessing the website again.

These instructions apply to modern versions of macOS.


Was this answer helpful?

« Back