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 system:
dscacheutil -q user
Similar Articles:
- Mac OS X Server: We Don’t Need No Stinkin’ Squid
- Adding DHCP Options in Mac OS X Server
- Mac OS X Server 10.5: LDAP ACLs
- Installing Joomla! on Mac OS X Server
- Mac OS X Server 10.5: Troubleshooting CalDAV
In: Mac OS X, Mac OS X Server · Tagged with: 318, flush dns cache, flushing dns cache resolver, Mac OS, Mac OS X Server, mac os x server 10.5



on August 29, 2008 at 3:33 pm
Permalink
bob