DZone Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world

Snippets has posted 5883 posts at DZone. View Full User Profile

Clear DNS Lookup / IP Address Cache On OS X Tiger

08.25.2005
| 18744 views |
  • submit to reddit
        
lookupd -flushcache
    

Comments

Ryan Heneise replied on Thu, 2007/12/20 - 2:36pm

In Leopard: dscacheutil -flushcache

Snippets Manager replied on Mon, 2012/05/07 - 2:14pm

This works on all versions of OS X from 10.0 on.