← All labs
DNS resolution lab
Resolve names from the browser (DNS-over-HTTPS) and compare with how the Windows DNS client behaves.
Resolve a name (DNS-over-HTTPS)
This uses a public resolver from the browser. On Windows, the DNS Client service follows a similar logical path with its own cache and server list.
Windows DNS client path
- 1Check local hosts file and static rules (not shown here).
- 2Query DNS Client cache on Windows (ipconfig /displaydns).
- 3Send query to configured DNS servers in order with timeouts.
- 4Cache successful answers for later lookups.
On a Windows machine (PowerShell)
These steps run locally — the browser lab above is for learning; Windows tools show the real system behavior.
- 1
Resolve-DnsName www.microsoft.com - 2
ipconfig /displaydns | more - 3
Clear-DnsClientCache - 4
Get-DnsClientServerAddress