This does NOT just flush the DNS cache; it flushes the whole Directory Service cache. The man page for dscacheutil says:
-flushcache
Flushes the entire cache. This should only be used in extreme
cases. Validation information is used within the cache along
with other techniques to ensure the OS has valid information
available to it.
[Version 1.1]
There are currently no troubleshooting comments by this member.
Please login or create a new MacUpdate Member account to use this feature
DNS Flusher
-flushcache
Flushes the entire cache. This should only be used in extreme
cases. Validation information is used within the cache along
with other techniques to ensure the OS has valid information
available to it.