.      How to articles       Windows Services       Group Policy             Donate        
Computer step by step

TTL value for A and PTR records

Description:

Specifies the value of the time to live (TTL) field in A and PTR resource records that are registered by computers to which this policy setting is applied.

To specify the TTL, click Enabled and then enter a value in seconds (for example, 900 is 15 minutes).

If you enable this policy setting, the TTL value that you specify will be applied to DNS resource records registered for all network connections used by computers that receive this policy setting.

If you disable this policy setting, or if you do not configure this policy setting, computers will use the TTL settings specified in DNS. By default, the TTL is 1200 seconds (20 minutes).








Supported on:

At least Windows Server 2003 operating systems or Windows XP Professional

GPO PowerShell Regedit CMD

We can use Command Prompt to add or delete the registry key(s):


For Enabled, Add the registry key:

REG add "HKLM\Software\Policies\Microsoft\Windows NT\DNSClient" /v NV RegistrationTtl /t REG_DWORD /d 1 /f


For Disabled, Delete the registry key:

REG DELETE "HKLM\Software\Policies\Microsoft\Windows NT\DNSClient" /v RegistrationTtl /f


For Not Configured, Delete the registry key:

REG DELETE "HKLM\Software\Policies\Microsoft\Windows NT\DNSClient" /v RegistrationTtl /f