← 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

  1. 1Check local hosts file and static rules (not shown here).
  2. 2Query DNS Client cache on Windows (ipconfig /displaydns).
  3. 3Send query to configured DNS servers in order with timeouts.
  4. 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. 1Resolve-DnsName www.microsoft.com
  2. 2ipconfig /displaydns | more
  3. 3Clear-DnsClientCache
  4. 4Get-DnsClientServerAddress