Troubleshoot DNS resolution with Windows PowerShell

Son güncelleme
Assess the current state first. Apply the fix, then verify the result.

If the connection is active but sites cannot be reached by name, check DNS resolution.
Before you begin
Open PowerShell on a Windows device you are authorised to use. Adapt the examples to your environment.
Example command
Get-DnsClientServerAddress -AddressFamily IPv4
Resolve-DnsName example.com
Interpret the result
The first command lists the configured DNS servers. The second shows how the example domain resolves. Compare the affected device with a working one.
Precautions
Avoid replacing corporate DNS servers with arbitrary public resolvers. Internal domains and Active Directory may depend on corporate DNS.
İlgili makaleler
Fix Windows network issues: IP, DNS and connectivity
Diagnose Windows network problems step by step by checking the cable, IP address, default gateway and DNS settings.
What is a VLAN? Check VLANs in Windows and on a switch
Understand VLANs and use Windows to check adapter link status. Verify membership on the switch with its access and trunk settings.
Wi-Fi connected but no internet on Windows 11
Wi-Fi connected but no Internet in Windows 11? Check DHCP, the default gateway, DNS and whether other devices are also affected.
Makale etkileşimi
Bu makale işinize yaradı mı?
Sorular ve yorumlar
Onaylı gönderim bulunmuyor.