Network - How To Clear Your DNS Cache on macOS

Objective

Following these steps will clear the DNS cache on your macOS machine. This is a common troubleshooting step for various website issues.

Environment

macOS

Before You Begin

N/A

Steps

  1. Open Terminal, either from Applications > Utilities or by searching in Spotlight
  2. In the terminal window that opens, run the following command:
    • sudo killall -HUP mDNSResponder
  3. OPTIONAL - Reboot your machine
  4. You're done! The DNS cache should now be cleared out.

Additional Info

N/A

Details

Article ID: 1932
Created
Thu 3/21/24 1:35 PM
Modified
Thu 3/21/24 1:41 PM

Related Services / Offerings (3)

DNS
Domain Name System - Service allows Internet connected devices to resolve hostnames to IP addresses.
MSU Information Technology offers network consulting, engineering, and installation services for MSU departments and units on and off campus. Network services include wired and wireless network design and installation.
Wireless Networking Service provided by MSU.