Mac OSX: Clear DNS Cache

From SolverBase.com
Jump to: navigation, search

Problem

  • How to delete the DNS cache on Mac OS X (Mac, MacBook Air, MacBook Pro)?

Solution

  • Open the terminal and then type the following command:
 dscacheutil -flushcache
  • Then press Enter

dscacheutil -flushcache