Clearing the DNS Cache
You want to clear DNS cache. The DNS cache contains resource records that are cached for a period of time in memory so that repeated requests for the same record can be returned immediately. There are two types of DNS cache. One pertains to the resolver on any Windows client (servers and workstations), and the other to the cache used by the Microsoft DNS server.
Clearing the DNS Cache from workstation
Use the following command to flush the client resolver cache
ipconfig /flushdns
Use the following command to flush the client resolver cache
ipconfig /Displaydns
Clearing the DNS Cache from DNS server
Use any of the following solutions to flush the DNS server cache
Using a graphical user interface
. Open the DNS Management snap-in.
. Right-click on DNS in the left pane and select Connect to DNS Server.
. Enter the server you want to connect to and click Enter.
. Right-click on the server and select Clear Cache.
Using a command-line interface
The following command will clear the cache on "DNSServerName". You can leave out "DNSServerName" to run against the local server:
dnscmd "DNSServerName" /clearcache
The client resolver cache is populated whenever a DNS lookup is performed on a workstation or server; for example, with the nslookup command.
The second type of cache is only for Microsoft DNS servers.
It is a cache of all DNS requests the server has made to resolve queries from clients. With both the client and server cache, the records are removed from the cache after the record's TTL or Time To Live value expires. The TTL is used to age records so that clients and servers have to rerequest them at a later point and receive any changes that may have occurred.
Comments
Post a Comment
If you any doubt , Please let me know