
DNS connects names such as example.com with information that applications need, including IP addresses. Root servers supply information about the top of that naming hierarchy. Your device usually asks a recursive resolver to do the lookup work on its behalf.
Give each participant a job
A stub resolver on a device sends questions to a configured recursive resolver. That resolver can answer from a still-valid cache or ask other DNS servers. An authoritative server publishes answers for a zone it serves. A root server serves the root zone, including delegations that direct a resolver toward top-level domains such as .com.
IANA's root-server reference lists 13 named authorities operated through many server instances around the world. The names describe logical authorities, not a count of physical machines. Anycast lets multiple instances offer the same service address, with network routing selecting a path to an instance. The root-server operators' site provides instance information.
Walk through an uncached lookup
The following is a simplified explanation for a resolver without the necessary cached referrals. Actual traffic can involve cached data, aliases, retries and DNS privacy features.
- Your application needs an address for
www.example.comand asks the device's resolver. - The recursive resolver asks a root server how to reach the relevant top-level-domain service.
- The root response refers it toward .com's authoritative service. The resolver then asks there for the next delegation.
- The .com service refers it to the authoritative servers for example.com.
- The resolver obtains the requested record or follows an alias, returns the result and caches eligible information for its allowed lifetime.
An A record carries an IPv4 address; an AAAA record carries an IPv6 address. The browser then uses an address to establish a connection. DNS resolution and the subsequent encrypted web connection are separate steps. The foundational hierarchy, delegation and caching model is described in RFC 1034.
Why a repeat lookup can take a different path
A cache retains answers and referrals according to their time-to-live and resolver policy. This reduces repeated work and makes many ordinary lookups independent of a fresh trip through every level. When a site changes an address, different clients can temporarily see different cached information.
For a hypothetical record with 300 seconds left to live in a cache, an authoritative change at that moment may coexist with the cached answer for roughly those remaining five minutes. That example illustrates the mechanism; real migration planning also considers earlier TTLs, multiple records, resolver behavior and application caches. Record the exact name, record type, resolver and timestamp before comparing two observations.
Inspect a result without changing your network
On Windows PowerShell with the DnsClient module, these read-only commands ask for records through your configured resolver:
Resolve-DnsName -Name example.com -Type A
Resolve-DnsName -Name example.com -Type AAAAMicrosoft's Resolve-DnsName documentation explains the record types and optional server parameter. Treat returned addresses as observations at that time; CDN and geographic responses can vary. An AAAA answer confirms published IPv6 information, while a successful IPv6 connection requires an additional path check.
| Observation | Interpretation | Useful next check |
|---|---|---|
| An address is returned | The resolver supplied an answer | Check the application connection separately |
| NXDOMAIN | The queried name was reported as nonexistent | Check spelling, the full name and an authoritative source |
| SERVFAIL | The server could not complete this query | Record time and resolver; ask the operator to investigate |
| Timeout | No usable reply arrived before the wait expired | Check network reachability and resolver availability |
A lookup failure at one device gives limited evidence about the root system. Compare an unrelated name, another device and the provider's status information. On a managed network, consult IT before changing DNS settings: internal names, filtering and VPN access may depend on the assigned resolver.
Continue with IPv6 connection checks or the general connection-testing workflow.
Explore the Internet library
Internet: Connections, Networks and Online Life brings together connection choices, network explanations, travel connectivity and Internet history.