Open in the explorer

Register PTR records

Inscrire les enregistrements PTR

Type
Computer
GPO path
Computer Configuration › Policies › Administrative Templates › Network › DNS Client FR: Configuration ordinateur › Stratégies › Modèles d'administration › Réseau › Client DNS
Supported on
At least Windows Server 2003 operating systems or Windows XP Professional FR: Au minimum Windows Server 2003 ou Windows XP Professionnel
ADMX file
DnsClient.admx
Internal name
DnsClient/DNS_RegisterReverseLookup

Explanation

Specifies if the DNS client will register PTR resource records.

By default, DNS clients configured to perform dynamic DNS registration will attempt to register PTR resource record only if they successfully registered the corresponding A resource record.

If you enable this policy setting, registration of PTR records will be determined by the option that you choose under Register PTR records.

To use this policy setting, click Enabled, and then select one of the following options from the drop-down list:

Do not register: the DNS client will not attempt to register PTR resource records.

Register: the DNS client will attempt to register PTR resource records even if registration of the corresponding A records was not successful.

Register only if A record registration succeeds: the DNS client will attempt to register PTR resource records only if registration of the corresponding A records was successful.

If you disable this policy setting, or if you do not configure this policy setting, the DNS client will use locally configured settings.

French text from Windows 11 26H2

Spécifie si le client DNS va inscrire les enregistrements de ressources PTR.

Par défaut, les clients DNS configurés pour effectuer une inscription DNS dynamique tenteront d’inscrire un enregistrement de ressources PTR uniquement s’ils ont correctement inscrit l’enregistrement de ressource A correspondant.

Si vous activez ce paramètre de stratégie, l’inscription des enregistrements PTR sera déterminée par l’option que vous choisissez sous Inscrire les enregistrements PTR.

Pour utiliser ce paramètre de stratégie, cliquez sur Activer, puis sélectionnez l’une des options suivantes dans la liste déroulante :

Ne pas inscrire: le client DNS ne tentera pas d’inscrire les enregistrements de ressources PTR.

Inscrire : le client DNS tentera d’inscrire des enregistrements de ressources PTR même si l’inscription des enregistrements A correspondants n’a pas réussi.

Inscrire uniquement si l’inscription des enregistrements a réussit : le client DNS tentera d’inscrire les enregistrements de ressources PTR uniquement si l’inscription des enregistrements correspondants a réussi.

Si vous désactivez ce paramètre de stratégie ou ne le configurez pas, le client DNS utiliser les paramètres configurés localement.

Registry

HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows NT\DNSClient
Value name
not defined in the ADMX

Enable / disable values: not defined in the ADMX (see the options below).

PowerShell

PowerShell commands that write to the registry what the policy would write. Values in angle brackets (<…>) must be replaced.

Writing directly to the registry bypasses Group Policy: if a GPO manages this value, it will be rewritten at the next gpupdate; otherwise the value stays in place (the "tattooing" effect). Prefer a GPO or, locally, LGPO.exe. Run PowerShell as administrator for HKLM. Some policies need a restart or gpupdate /force.

Enable

# Enable: DnsClient/DNS_RegisterReverseLookup
$k = 'HKLM:\Software\Policies\Microsoft\Windows NT\DNSClient'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# Register PTR records
# Possible options:
#   Register only if A record registration succeeds = 2
#   Register = 1
#   Do not register = 0
Set-ItemProperty -Path $k -Name 'RegisterReverseLookup' -Value 2 -Type DWord

Disable

# Disable: DnsClient/DNS_RegisterReverseLookup
# No value is written in the "Disabled" state (nothing defined in the ADMX)

Revert to "Not configured"

# Revert to "Not configured": DnsClient/DNS_RegisterReverseLookup
$k = 'HKLM:\Software\Policies\Microsoft\Windows NT\DNSClient'
Remove-ItemProperty -Path $k -Name 'RegisterReverseLookup' -ErrorAction SilentlyContinue

Options (1)

LabelControlRegistry valueREG typeConstraints / details
Register PTR records:Inscrire les enregistrements PTR :DNS_RegisterReverseLookup_BoxDrop-down listenumRegisterReverseLookupREG_DWORD
Required · Default choice (UI): #0
LabelValue
Register only if A record registration succeedsREG_DWORD = 2
RegisterREG_DWORD = 1
Do not registerREG_DWORD = 0

Availability