Watch a resolver walk the DNS tree. L7
Stub client, recursive resolver with a cache, root, TLD, and an authoritative server. Pick a name, watch the cache decide, watch the walk, watch a CNAME chase re-enter the whole thing.
Scenario
The cache persists between runs. Run the full lookup twice and the second one becomes a hit. Reset the cache to start fresh (one entry is re-seeded so "cache hit" always has something to hit).
Idle
Pick a scenario.
Topology
stub client
/etc/resolv.conf
origin
recursive resolver
1.1.1.1
cache: 0
root
a.root-servers.net
. zone
.com TLD
a.gtld-servers.net
tld
example.com
ns1.example.com
auth
Resolver cache (name -> value)
| Name | Type | Value |
|---|---|---|
| Cache is empty. | ||