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

Andy

Administrator
Creative Team
User ID
1
Joined
7 Jan 2019
Messages
943
Reaction score
40
Points
28
  • 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