Clearing the Windows DNS Server cache from the command line is an easy task.
C:\> dnscmd . /clearcache
The .
indicates the local DNS server. You can use this command to clear the
cache of remote DNS servers by replacing the .
with the hostname or IP address
of the remote server.