Open in the explorer

Use DNS name resolution when a single-label domain name is used, by appending different registered DNS suffixes, if the AllowSingleLabelDnsDomain setting is not enabled.

Utilisez la résolution de noms DNS lorsqu’un nom de domaine en une seule partie est utilisé, en ajoutant différents suffixes DNS inscrits, si le paramètre AllowSingleLabelDnsDomain n’est pas activé.

Type
Computer
GPO path
Computer Configuration › Policies › Administrative Templates › System › Net Logon › DC Locator DNS Records FR: Configuration ordinateur › Stratégies › Modèles d'administration › Système › Net Logon › Enregistrements DNS du localisateur de contrôleurs de domaine
Supported on
At least Windows Server 2012 R2 or Windows 8.1 FR: Au minimum Windows Server 2012 R2 ou Windows 8.1
ADMX file
Netlogon.admx
Internal name
Netlogon/Netlogon_AllowDnsSuffixSearch

Explanation

This policy setting specifies whether the computers to which this setting is applied attemps DNS name resolution of single-lablel domain names, by appending different registered DNS suffixes, and uses NetBIOS name resolution only if DNS name resolution fails. This policy, including the specified default behavior, is not used if the AllowSingleLabelDnsDomain policy setting is enabled.

By default, when no setting is specified for this policy, the behavior is the same as explicitly enabling this policy, unless the AllowSingleLabelDnsDomain policy setting is enabled.

If you enable this policy setting, when the AllowSingleLabelDnsDomain policy is not enabled, computers to which this policy is applied, will locate a domain controller hosting an Active Directory domain specified with a single-label name, by appending different registered DNS suffixes to perform DNS name resolution. The single-label name is not used without appending DNS suffixes unless the computer is joined to a domain that has a single-label DNS name in the Active Directory forest. NetBIOS name resolution is performed on the single-label name only, in the event that DNS resolution fails.

If you disable this policy setting, when the AllowSingleLabelDnsDomain policy is not enabled, computers to which this policy is applied, will only use NetBIOS name resolution to attempt to locate a domain controller hosting an Active Directory domain specified with a single-label name. The computers will not attempt DNS name resolution in this case, unless the computer is searching for a domain with a single label DNS name to which this computer is joined, in the Active Directory forest.

French text from Windows 11 26H2

Ce paramètre de stratégie indique si l’ordinateur auquel ce paramètre est appliqué tente la résolution de noms DNS des noms de domaine en une seule partie, en ajoutant différents suffixes DNS inscrits, et utilise la résolution de noms NetBIOS uniquement si la résolution de noms DNS échoue. Cette stratégie, y compris le comportement par défaut spécifié, n’est pas utilisée si le paramètre de stratégie AllowSingleLabelDnsDomain est activé.

Par défaut, quand aucun paramètre n’est spécifié pour cette stratégie, le comportement est le même que si vous activez de manière explicite cette stratégie, sauf si le paramètre de stratégie AllowSingleLabelDnsDomain est activé.

Si vous activez ce paramètre de stratégie, lorsque la stratégie AllowSingleLabelDnsDomain n’est pas activée, les ordinateurs auxquels ce paramètre de stratégie est appliqué localisent un contrôleur de domaine qui héberge un domaine Active Directory spécifié à l’aide d’un nom en une seule partie, en ajoutant différents suffixes DNS inscrits afin d’effectuer une résolution de noms DNS. Le nom en une seule partie n’est pas utilisé sans que des suffixes DNS soient ajoutés, sauf si l’ordinateur fait partie d’un domaine dont le nom en une seule partie existe dans la forêt Active Directory. En cas d’échec de la résolution de noms DNS, la résolution de noms NetBIOS est effectuée sur le nom en une seule partie uniquement.

Si vous désactivez ce paramètre de stratégie, lorsque la stratégie AllowSingleLabelDnsDomain n’est pas activée, les ordinateurs auxquels cette stratégie est appliquée utilisent uniquement la résolution de noms NetBIOS pour tenter de trouver un contrôleur de domaine hébergeant un domaine Active Directory spécifié à l’aide d’un nom en une seule partie. Les ordinateurs ne tentent pas de résolution de noms DNS dans ce cas, sauf si l’ordinateur recherche un domaine avec un nom DNS en une seule partie auquel il appartient dans la forêt Active Directory.

Registry

HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Netlogon\Parameters
Value name
AllowDnsSuffixSearch
StateValue written
EnabledREG_DWORD = 1
DisabledREG_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: Netlogon/Netlogon_AllowDnsSuffixSearch
$k = 'HKLM:\Software\Policies\Microsoft\Netlogon\Parameters'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'AllowDnsSuffixSearch' -Value 1 -Type DWord

Disable

# Disable: Netlogon/Netlogon_AllowDnsSuffixSearch
$k = 'HKLM:\Software\Policies\Microsoft\Netlogon\Parameters'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'AllowDnsSuffixSearch' -Value 0 -Type DWord

Revert to "Not configured"

# Revert to "Not configured": Netlogon/Netlogon_AllowDnsSuffixSearch
$k = 'HKLM:\Software\Policies\Microsoft\Netlogon\Parameters'
Remove-ItemProperty -Path $k -Name 'AllowDnsSuffixSearch' -ErrorAction SilentlyContinue

Availability