I find these articles: http://support.microsoft.com/kb/318803 andhttp://support.microsoft.com/kb/245437 both of which explain how to change the maximum TTL forWindows 2000. However, I wuld like to verify this KB also applies to Windows Server 2008 R2.
Problem I am trying to solve:
Our printers are defined using DNS host (A) records. The default TTL for new entries on our DNS servers is 3600 seconds (1 hour). This TTL is used by the client (in this case, the client is a Win2k8r2 print server). I want the print server to see a change to DNS close to real-time (we use round-robin DNS resolution and integrated Windows Active Directory DNS servers, and allowing for domain replication, "real-time" could be 5 minutes. So a 5 minute TTL for the entry in the DNS cache would be an okay compromise. We are using IPv4, IPhlpsvc is disabled, and IPv6 is not configured on the network adapter and is blocked at the firewall.
For a Windows Server 2008 R2 Standard computer:
1. Can I simply add HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\DNSCache\Parameters DWORD "MaxCacheTtl" value 300 (decimal = 300 seconds)?
2. Even after updating MaxCacheTtl (after restarting server) will the dnscache service honor this value?