Register PTR records
Inscrire les enregistrements PTR
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.
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 DWordDisable
# 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 SilentlyContinueOptions (1)
| Label | Control | Registry value | REG type | Constraints / details | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Register PTR records:Inscrire les enregistrements PTR :DNS_RegisterReverseLookup_Box | Drop-down listenum | RegisterReverseLookup | REG_DWORD | Required · Default choice (UI): #0
|