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