• Mac OS X,  Mac OS X Server

    Mac OS X: Flushing the DNS Cache Resolver

    I originally posted this at http://www.318.com/TechJournal So you need to empty your cache resolver, but you fire up your handylookupd but you’re getting a command not found error. What to do… Try dscacheutil, which let’s you do so very much more than lookupd. For example, using the -cachedump allows you to dump an overview of the cache contents. -cachedump has a slew of flags to get pretty granular with the output such as -entries and -buckets. -configurationallows you to access detailed information about your search policy. -statistics allows you to view detailed information on statistics of calls. Examples of using these commands: Emtpy the DNS Cache Resolver: dscacheutil -flushcache Dump cache with user entries: dscacheutil -cachedump -entries user Lookup all the users on a…