• Health tips to prevent the spread of COVID-19:
    • Wash your hands frequently;
    • Maintain 2 meters social distancing;
    • Minimise outdoor activities.
    Stay safe in your bubble!

How to clear DNS cache on my Mac? [Solved]

Andy

Administrator
User ID
1
Joined
7 Jan 2019
Messages
201
Reaction score
8
Points
18
  • Step 1: Open the Terminal
    • Navigate to Applications -> Utilities -> Terminal
  • Step 2: Flush DNS - Type the following command and hit enter.
    • Mac OS X Yosemite and later
      Code:
      sudo killall -HUP mDNSResponder
    • Mac OS X Yosemite v10.10 through v10.10.3
      Code:
      sudo discoveryutil mdnsflushcache
    • Mac OS X Mavericks, Mountain Lion and Lion
      Code:
      sudo killall -HUP mDNSResponder
    • Mac OS X Snow Leopard
      Code:
      sudo dscacheutil -flushcache
 
 Short URL:
Top