DNS
Domain Name SystemApplication layer · OSI 7How domain names turn into IP addresses
| No. | Time | Source | Destination | Protocol | Info | Size |
|---|---|---|---|---|---|---|
| Play the first step to capture packets. | ||||||
Overview
translates website names like www.example.com into numerical . A tree of name servers splits up the directory, and caches save recent answers nearby.
The Domain Name System (RFC 1034, RFC 1035) resolves domain names over 53 (or 53 when responses exceed limits or for zone transfers). A walks referrals from root to to and caches records for their .
Key facts
- Layer
- Application (OSI Layer 7)
- Port
- 53 (UDP; TCP for large replies)
- Hierarchy
- Root -> TLD -> Authoritative
- Caching
- Stored until record TTL expires
- Defined in
- RFC 1034, RFC 1035, RFC 6891
Address resolved
Starting from an empty cache, your recursive resolver followed referrals from root to `.com` to `example.com`, then returned the IP address. Future lookups reuse the cached record until its TTL expires.
Four UDP exchanges on port 53 resolved `www.example.com` to `203.0.113.10`. The recursive resolver and stub cache both store the A record for 3600 seconds per RFC 1035.
- Exchanges
- 4 queries, 4 replies
- Transport
- UDP port 53
- Resolved IP
- 203.0.113.10
- Cache TTL
- 3600 s
Try it yourself
Look up a domain name
Run a DNS query from your terminal to see the returned A record, the server that answered, and the remaining TTL.
nslookup www.example.com