Inscrever registros PTR: valor do Registro RegisterReverseLookupComputadorHKLM\Software\Policies\Microsoft\Windows NT\DNSClient

ID da política
DNS_RegisterReverseLookup
Escopo
Configuração do Computador
Compatível com
Sistemas operacionais Windows Server 2003 e Windows XP Professional ou posterior
Fonte
Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (versão 1.0)
Categoria
Rede › Cliente DNS

Registro

RegisterReverseLookup

REG_DWORDComputador
Valor habilitado
Depende do valor da opção
Elemento
Registrar registros PTR:
Opções
ItemValor armazenado
Registrar somente se o registro A tiver êxito2
Registrar1
Não registrar0
Aplicar com .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows NT\DNSClient]

; Opções (use apenas uma)
; Registrar somente se o registro A tiver êxito
"RegisterReverseLookup"=dword:00000002
; Registrar
"RegisterReverseLookup"=dword:00000001
; Não registrar
"RegisterReverseLookup"=dword:00000000
CMD
:: Opções (use apenas uma)

:: Registrar somente se o registro A tiver êxito
reg add "HKLM\Software\Policies\Microsoft\Windows NT\DNSClient" /v "RegisterReverseLookup" /t REG_DWORD /d 2 /f
:: Registrar
reg add "HKLM\Software\Policies\Microsoft\Windows NT\DNSClient" /v "RegisterReverseLookup" /t REG_DWORD /d 1 /f
:: Não registrar
reg add "HKLM\Software\Policies\Microsoft\Windows NT\DNSClient" /v "RegisterReverseLookup" /t REG_DWORD /d 0 /f
PowerShell
# Comum: criar a chave
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows NT\DNSClient' -Force | Out-Null

# Opções (use apenas uma)
# Registrar somente se o registro A tiver êxito
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows NT\DNSClient' -Name 'RegisterReverseLookup' -PropertyType DWord -Value 2 -Force | Out-Null
# Registrar
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows NT\DNSClient' -Name 'RegisterReverseLookup' -PropertyType DWord -Value 1 -Force | Out-Null
# Não registrar
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows NT\DNSClient' -Name 'RegisterReverseLookup' -PropertyType DWord -Value 0 -Force | Out-Null