Register now or log in to join your professional community.
default cache time for DNS is 60 min
default TTL for DNS records is 60 minutes. You can modify the TTL of the record in the DNS Management console
TTL is set to be 3600 s as default . This period of time can be changed as needed.
Whether or not a DNS query cached is based on the response from the respective DNS server(s):
If DNS responds that the query is non-cacheable, the cache time-to-live (TTL) is set to 0.
If DNS responds that the query is cacheable, the cache TTL is set to a value in seconds.
This Depends on TTL of the records
Your DNS cache stores the locations (IP addresses) of web servers that contain web pages which you have recently viewed. If the location of the web server changes before the entry in your DNS cache updates, you can no longer access the site.
The DNS cache doesn't ever flush, unless you explicitly tell it to or you make a DNS/networking related configuration change. DNS records have a Time To Live (TTL) value associated with them which tells a DNS cache how long the particular record is good for. Records in the cache are kept for their TTL, then re-queried.
On a Windows machine you can see a list of all the records in your cache along with their TTL by executing the following command at the command prompt:
ipconfig /displaydnsYou can force a flush of all cached DNS records using the following command:
ipconfig /flushdns