Microsoft KB Archive/297510

= HOW TO: Modify Time to Live on Domain Name System Records =

Article ID: 297510

Article Last Modified on 10/31/2006

-

APPLIES TO


 * Microsoft Windows 2000 Server
 * Microsoft Windows 2000 Advanced Server

-



This article was previously published under Q297510





IN THIS TASK
SUMMARY
 * Modify the TTL on a Single Record
 * Modify the Default TTL for an Entire Zone
 * Control the Caching Time on a Client Computer

IMPORTANT: This article contains information about modifying the registry. Before you modify the registry, make sure to back it up and make sure that you understand how to restore the registry if a problem occurs. For information about how to back up, restore, and edit the registry, click the following article number to view the article in the Microsoft Knowledge Base:

256986 Description of the Microsoft Windows Registry



SUMMARY
This article describes the steps to modify Time to Live (TTL) on Domain Name System (DNS) records. Time to Live is used by name servers and some DNS clients to determine the length of time that a name must be cached. In Windows 2000, the default TTL for DNS records is 60 minutes. You can modify the TTL of the record in the DNS Management console.

By default, the TTL field is not displayed on records. If you want the TTL field displayed on records, enable the Advanced View feature.

back to the top

Modify the TTL on a Single Record
WARNING: If you use Registry Editor incorrectly, you may cause serious problems that may require you to reinstall your operating system. Microsoft cannot guarantee that you can solve problems that result from using Registry Editor incorrectly. Use Registry Editor at your own risk.


 * 1) In Administrative Tools, open the DNS Management console.
 * 2) Click View.
 * 3) Click to select the Advanced check box.
 * 4) Right-click the record that you want to modify. The record displays a TTL field that you can modify.

back to the top

Modify the Default TTL for an Entire Zone

 * 1) In Administrative Tools, open the DNS Management console.
 * 2) Click View.
 * 3) Click to select the Advanced check box.
 * 4) Right-click the zone that you want to modify. The zone record displays a Minimum Default Zone TTL field that you can modify. The default for a new zone is 60 minutes.

The caching of records on a host is further controlled by the caching resolver service.

back to the top

Control the Caching Time on a Client Computer
 Start Registry Editor (Regedt32.exe). Locate and click the following key in the registry:

HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Dnscache\Parameters

 On the Edit menu, click Add Value, and then add the following registry value:

Value name: MaxCacheEntryTtlLimit

Data type: REG_DWORD

Radix:

Value data: 0x1-0xFFFFFFFF (seconds)

 Quit Registry Editor.

back to the top

Keywords: kbdns kbenv kbhowto kbhowtomaster KB297510

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.