Skip to content

Conversation

@JamesKehr
Copy link
Owner

Updated the documentation to specify PowerShell commands for DNS verification and system restart.

nslookup, in Windows, does not use the Windows DNS client resolver. It has an independent resolution engine. The Resolve-DnsName PowerShell cmdlet uses the Windows DNS client resolver.

Resolve-DnsName must be used when testing whether a Windows role, feature, service, or application can correctly resolve a DNS name. Because Resolve-DnsName uses the exact same Win32 API call (DnsQueryEx()) as other Windows processes. While nslookup does not. This can lead to false positive or negative lookups.

Internal to Microsoft, you can read more about this topic at: https://aka.ms/NoNsLookup

Updated the documentation to specify PowerShell commands for DNS verification and system restart.

nslookup, in Windows, does not use the Windows DNS client resolver. It has an independent resolution engine. The Resolve-DnsName PowerShell cmdlet uses the Windows DNS client resolver.

Resolve-DnsName must be used when testing whether a Windows role, feature, service, or application can correctly resolve a DNS name. Because Resolve-DnsName uses the exact same Win32 API calls (DnsQueryEx()) as Windows, while nslookup does not, which can lead to false positive or negative lookups.

Internal to Microsoft, you can read more about this topic at: https://aka.ms/NoNsLookup
@JamesKehr JamesKehr merged commit 2c39a14 into main Nov 6, 2025
@JamesKehr
Copy link
Owner Author

Merging into my fork.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants