Flush DNS Cache in macOS 13 Ventura

Flushing the local DNS cache on macOS 13 Ventura resolves issues related to outdated IP entries, website loading errors, and domain propagation delays. This guide provides the exact Terminal command and straightforward steps required to clear your Mac’s DNS cache instantly.

Steps to Flush DNS Cache

  1. Open Terminal Open the Terminal application using one of the following methods:

    • Press Command + Space to open Spotlight, type Terminal, and press Return.
    • Navigate to Finder > Applications > Utilities > Terminal.
  2. Execute the Flush Command In the Terminal window, paste or type the following command:

    sudo dscacheutil -flushcache; sudo killall -HUP mDNSResponder
  3. Authenticate with Administrator Privileges

    • Press Return.
    • Type your Mac administrator password when prompted. The characters will not appear on the screen as you type.
    • Press Return again to submit your password.

Verification

macOS does not provide a visual success message upon completion. If the command runs successfully, the Terminal prompt will simply reappear on a new line without any error messages. Your local DNS cache is now cleared.