Specify DC Locator DNS records not registered by the DCs
Spécifier les enregistrements DNS du localisateur de contrôleurs de domaine non inscrit par les contrôleurs de domaine
Explanation
This policy setting determines which DC Locator DNS records are not registered by the Net Logon service.
If you enable this policy setting, select Enabled and specify a list of space-delimited mnemonics (instructions) for the DC Locator DNS records that will not be registered by the DCs to which this setting is applied.
Select the mnemonics from the following list:
Mnemonic Type DNS Record
LdapIpAddress A <DnsDomainName>
Ldap SRV _ldap._tcp.<DnsDomainName>
LdapAtSite SRV _ldap._tcp.<SiteName>._sites.<DnsDomainName>
Pdc SRV _ldap._tcp.pdc._msdcs.<DnsDomainName>
Gc SRV _ldap._tcp.gc._msdcs.<DnsForestName>
GcAtSite SRV _ldap._tcp.<SiteName>._sites.gc._msdcs.<DnsForestName>
DcByGuid SRV _ldap._tcp.<DomainGuid>.domains._msdcs.<DnsForestName>
GcIpAddress A gc._msdcs.<DnsForestName>
DsaCname CNAME <DsaGuid>._msdcs.<DnsForestName>
Kdc SRV _kerberos._tcp.dc._msdcs.<DnsDomainName>
KdcAtSite SRV _kerberos._tcp.<SiteName>._sites.dc._msdcs.<DnsDomainName>
Dc SRV _ldap._tcp.dc._msdcs.<DnsDomainName>
DcAtSite SRV _ldap._tcp.<SiteName>._sites.dc._msdcs.<DnsDomainName>
Rfc1510Kdc SRV _kerberos._tcp.<DnsDomainName>
Rfc1510KdcAtSite SRV _kerberos._tcp.<SiteName>._sites.<DnsDomainName>
GenericGc SRV _gc._tcp.<DnsForestName>
GenericGcAtSite SRV _gc._tcp.<SiteName>._sites.<DnsForestName>
Rfc1510UdpKdc SRV _kerberos._udp.<DnsDomainName>
Rfc1510Kpwd SRV _kpasswd._tcp.<DnsDomainName>
Rfc1510UdpKpwd SRV _kpasswd._udp.<DnsDomainName>
If you disable this policy setting, DCs configured to perform dynamic registration of DC Locator DNS records register all DC Locator DNS resource records.
If you do not configure this policy setting, DCs use their local configuration.
Ce paramètre de stratégie détermine les enregistrements DNS du localisateur de contrôleurs de domaine qui ne sont pas inscrits par le service Net Logon.
Si vous activez ce paramètre de stratégie, sélectionnez Activer, puis spécifiez une liste de mnémoniques (instructions) délimités par des espaces pour les enregistrements DNS du localisateur de contrôleurs de domaine qui ne seront pas inscrits par les contrôleurs de domaine auquel ce paramètre est appliqué.
Sélectionnez les mnémoniques dans la liste suivante :
Mnémonique Type Enregistrement DNS
LdapIpAddress A <nom_domaine_dns>
Ldap SRV _ldap._tcp.<nom_domaine_dns>
LdapAtSite SRV _ldap._tcp.<nom_site>._sites.<nom_domaine_dns>
Pdc SRV _ldap._tcp.pdc._msdcs.<nom_domaine_dns>
Gc SRV _ldap._tcp.gc._msdcs.<nom_forêt_dns>
GcAtSite SRV _ldap._tcp.<nom_site>._sites.gc._msdcs.<nom_forêt_dns>
DcByGuid SRV _ldap._tcp.<guid_domaine>.domains._msdcs.<nom_forêt_dns>
GcIpAddress A gc._msdcs.<nom_forêt_dns>
DsaCname CNAME <guid_dsa>._msdcs.<nom_forêt_dns>
Kdc SRV _kerberos._tcp.dc._msdcs.<nom_domaine_dns>
KdcAtSite SRV _kerberos._tcp.<nom_site>._sites.dc._msdcs.<nom_domaine_dns>
Dc SRV _ldap._tcp.dc._msdcs.<nom_domaine_dns>
DcAtSite SRV _ldap._tcp.<nom_site>._sites.dc._msdcs.<nom_domaine_dns>
Rfc1510Kdc SRV _kerberos._tcp.<nom_domaine_dns>
Rfc1510KdcAtSite SRV _kerberos._tcp.<nom_site>._sites.<nom_domaine_dns>
GenericGc SRV _gc._tcp.<nom_forêt_dns>
GenericGcAtSite SRV _gc._tcp.<nom_site>._sites.<nom_forêt_dns>
Rfc1510UdpKdc SRV _kerberos._udp.<nom_domaine_dns>
Rfc1510Kpwd SRV _kpasswd._tcp.<nom_domaine_dns>
Rfc1510UdpKpwd SRV _kpasswd._udp.<nom_domaine_dns>
Si vous désactivez ce paramètre de stratégie, les contrôleurs de domaine configurés pour effectuer une inscription dynamique des enregistrements DNS du localisateur de contrôleurs de domaine inscrivent tous les enregistrements de ressources DNS du localisateur de contrôleurs de domaine.
Si vous ne configurez pas ce paramètre de stratégie, les contrôleurs de domaine utilisent leur configuration locale.
Registry
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Netlogon\Parameters- 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: Netlogon/Netlogon_DnsAvoidRegisterRecords
$k = 'HKLM:\Software\Policies\Microsoft\Netlogon\Parameters'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# Mnemonics
Set-ItemProperty -Path $k -Name 'DnsAvoidRegisterRecords' -Value '<value>' -Type StringDisable
# Disable: Netlogon/Netlogon_DnsAvoidRegisterRecords
# No value is written in the "Disabled" state (nothing defined in the ADMX)Revert to "Not configured"
# Revert to "Not configured": Netlogon/Netlogon_DnsAvoidRegisterRecords
$k = 'HKLM:\Software\Policies\Microsoft\Netlogon\Parameters'
Remove-ItemProperty -Path $k -Name 'DnsAvoidRegisterRecords' -ErrorAction SilentlyContinueOptions (1)
| Label | Control | Registry value | REG type | Constraints / details |
|---|---|---|---|---|
| Mnemonics:Mnémoniques :Netlogon_DnsAvoidRegisterRecordsLabel | Text boxtext | DnsAvoidRegisterRecords | REG_SZ | Required |