Networking, DNS & TLS
How a name is resolved: stub, recursive, root, TLD, authoritative
The exact trail from a program's question to an answer, why the first lookup takes 118 ms and the second takes none, and how to see each hop with dig.
What is in the lesson
- A real situation where this goes wrong
- How it works, step by step
- A walkthrough with commands you can run
- How it fails in production, and how to tell
- Three quiz questions with explanations
Read this lessonFree. No account needed.
More in Networking, DNS & TLS
- MTU and path MTU discoveryBeginner · 5 min
Why ssh and small requests work while a 20 KB upload hangs forever, and the one ICMP message whose loss causes it.
- UDPBeginner · 5 min
UDP sends datagrams without connection reliability.
- TTL and DNS cachingBeginner · 5 min
Why 40% of traffic still hits the old load balancer half an hour after you changed a record, what 'propagation' really is, and how to plan a DNS change.
- CNAME rules and the zone apex problemBeginner · 5 min
Why swapping the bare domain's A record for a CNAME to a CDN breaks mail within minutes, and the three ways to point a bare domain at a hostname without breaking it.
- Negative caching: why a new name stays NXDOMAINBeginner · 5 min
A resolver remembers 'this name does not exist' as carefully as it remembers a good answer. That is why creating the record is not the same as being able to resolve it.
- Certificate chains and intermediate CAsBeginner · 4 min
Chrome loads the site, Java refuses it. The server sent one certificate when the clients needed two, and only some clients quietly fix that for you.