Rick Cogley's journal on life tuning, productivity and management.
Saturday, February 09, 2008
When accessing websites or mailservers, your DNS resolver caches the request so that future lookups are fast. However, sometimes when a zone on DNS is being changed while you work, you want to be able to clear the cache to force the resolver to get the latest name:IP address pair mappings. Here are some command line commands for flushing the DNS cache on your local machine:
On Mac OS X Tiger:
On Mac OS X Leopard:
Update: I noticed that this cache seems to survive reboots, on Leopard.