Dynamic update
Mise à jour dynamique
Explanation
Specifies if DNS dynamic update is enabled. DNS clients configured for DNS dynamic update automatically register and update their DNS resource records with a DNS server.
If you enable this policy setting, or you do not configure this policy setting, the DNS client will attempt to use dynamic DNS registration on all network connections that have connection-specific dynamic DNS registration enabled. For a dynamic DNS registration to be enabled on a network connection, the connection-specific configuration must allow dynamic DNS registration, and this policy setting must not be disabled.
If you disable this policy setting, the DNS client may not use dynamic DNS registration for any of their network connections, regardless of the configuration for individual network connections.
Spécifie si la mise à jour dynamique DNS est activée. Les clients DNS configurés pour la mise à jour dynamique DNS inscrivent et mettent à jour automatiquement leurs enregistrements de ressources DNS auprès d’un serveur DNS.
Si vous activez ce paramètre de stratégie ou si vous ne le configurez pas, le client DNS tente d’utiliser l’inscription DNS dynamique sur toutes les connexions réseau pour lesquelles l’inscription DNS dynamique spécifique à la connexion est activée. Pour qu’une inscription DNS dynamique soit activée sur une connexion réseau, la configuration spécifique à la connexion doit autoriser l’inscription DNS dynamique et ce paramètre de stratégie ne doit pas être désactivé.
Si vous désactivez ce paramètre de stratégie, le client DNS ne peut pas utiliser l’inscription DNS dynamique pour ses connexions réseau, quelle que soit la configuration des connexions réseau individuelles.
Registry
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows NT\DNSClient- Value name
RegistrationEnabled
| State | Value written |
|---|---|
| Enabled | REG_DWORD = 1 |
| Disabled | REG_DWORD = 0 |
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_RegistrationEnabled
$k = 'HKLM:\Software\Policies\Microsoft\Windows NT\DNSClient'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'RegistrationEnabled' -Value 1 -Type DWordDisable
# Disable: DnsClient/DNS_RegistrationEnabled
$k = 'HKLM:\Software\Policies\Microsoft\Windows NT\DNSClient'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'RegistrationEnabled' -Value 0 -Type DWordRevert to "Not configured"
# Revert to "Not configured": DnsClient/DNS_RegistrationEnabled
$k = 'HKLM:\Software\Policies\Microsoft\Windows NT\DNSClient'
Remove-ItemProperty -Path $k -Name 'RegistrationEnabled' -ErrorAction SilentlyContinue