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

  • submit to reddit
lookupd -flushcache


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

In Leopard: dscacheutil -flushcache

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

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