Open in the explorer

Turn off smart multi-homed name resolution

Désactiver la résolution intelligente des noms multirésidents

Type
Computer
GPO path
Computer Configuration › Policies › Administrative Templates › Network › DNS Client FR: Configuration ordinateur › Stratégies › Modèles d'administration › Réseau › Client DNS
Supported on
At least Windows Server 2012, Windows 8 or Windows RT FR: Au minimum Windows Server 2012, Windows 8 ou Windows RT
ADMX file
DnsClient.admx
Internal name
DnsClient/DNS_SmartMultiHomedNameResolution

Explanation

Specifies that a multi-homed DNS client should optimize name resolution across networks. The setting improves performance by issuing parallel DNS, link local multicast name resolution (LLMNR) and NetBIOS over TCP/IP (NetBT) queries across all networks. In the event that multiple positive responses are received, the network binding order is used to determine which response to accept.

If you enable this policy setting, the DNS client will not perform any optimizations. DNS queries will be issued across all networks first. LLMNR queries will be issued if the DNS queries fail, followed by NetBT queries if LLMNR queries fail.

If you disable this policy setting, or if you do not configure this policy setting, name resolution will be optimized when issuing DNS, LLMNR and NetBT queries.

French text from Windows 11 26H2

Spécifie qu’un client DNS multirésident doit optimiser la résolution de noms entre les réseaux. Ce paramètre améliore les performances en émettant en parallèle des requêtes DNS, LLMNR (Link Local Multicast Name Resolution) et NetBIOS sur TCP/IP (NetBT) sur tous les réseaux. Si plusieurs réponses positives sont reçues, l’ordre de liaison des réseaux est utilisé pour déterminer quelle réponse accepter.

Si vous activez ce paramètre de stratégie, le client DNS n’effectue aucune optimisation. Dans un premier temps, des requêtes DNS sont émises sur tous les réseaux. Des requêtes LLMNR sont émises si les requêtes DNS échouent, suivies de requêtes NetBT si les requêtes LLMNR échouent.

Si vous désactivez ce paramètre de stratégie ou ne le configurez pas, la résolution de noms est optimisée lorsque des requêtes DNS, LLMNR et NetBT sont émises.

Registry

HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows NT\DNSClient
Value name
DisableSmartNameResolution
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: DnsClient/DNS_SmartMultiHomedNameResolution
$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 'DisableSmartNameResolution' -Value 1 -Type DWord

Disable

# Disable: DnsClient/DNS_SmartMultiHomedNameResolution
$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 'DisableSmartNameResolution' -Value 0 -Type DWord

Revert to "Not configured"

# Revert to "Not configured": DnsClient/DNS_SmartMultiHomedNameResolution
$k = 'HKLM:\Software\Policies\Microsoft\Windows NT\DNSClient'
Remove-ItemProperty -Path $k -Name 'DisableSmartNameResolution' -ErrorAction SilentlyContinue

Availability