How To Disable Caching Of A DNS Record

By default Microsoft DNS Servers cache a record for 1 day. In some cases, you might need to disable this functionality for a DNS Server. To disable this behaviour, you can modify the below mentioned registry entry:

  • KEY Name: HKLM\System\CurrentControlSet\Services\DNS\Parameters
  • Entry Name: MaxCacheTtl
  • Type: REG_DWORD
  • Value: 0x15180 (this is the default value)

To disable the caching completely on DNS Server, set the value of MaxCacheTtl to 0x0. The DNS Server saves the records in memory area so that it can respond quickly to the Client DNS Queries for the same name. Records are deleted from the cache as per the value defined in the MaxCacheTtl registry entry. The value of this entry overrides the TTL Value set on the Resource Record. 

1 thought on “How To Disable Caching Of A DNS Record”

Leave a Comment

Your email address will not be published. Required fields are marked *

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Scroll to Top