NETLEARN
Lesson 01Name & Address

DNS Resolution

Computers don't know where example.com is. They only know numbers. DNS is the global directory that translates names into IP addresses, usually without you noticing.

Layer
Layer 7 · Application, port 53
Reference
RFC 1034 / RFC 1035
Steps
8
Clientbrowser
Resolverrecursive (ISP)
Root13 clusters
TLD.com
Authoritativens.example.com
legendrequestresponsemessage in flight

Common misunderstandings

  • If you switch hosting and forget to lower the TTL a day in advance, propagation can feel slow, even though that's the cache, not your server.

Key notes

Why TCP too?
Large or truncated answers are sent over TCP; ordinary queries are fine over UDP.
Many types
A (IPv4), AAAA (IPv6), MX (email), CNAME (alias), TXT (verification), and others.
TTL
How long an answer may be cached. A short TTL means changes spread quickly, but there are more queries.
DoH/DoT
Plain DNS is unencrypted; DoH & DoT wrap it so it can't easily be snooped on.