Networking, DNS & TLS
DNS: why names exist and who answers
The worldwide phone book that turns app.example.com into an address, who holds each page of it, and why so many outages turn out to be DNS.
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
- Ports and sockets: one IP, many servicesBeginner · 5 min
How one server address can run a website, SSH and a database at once, and why starting a second copy of a service fails with 'Address already in use'.
- TCP vs UDP: when each one is usedBeginner · 4 min
Why a video call tolerates lost packets while a file download repairs them, and how to see the difference with three lines of Python.
- DNS record types: A, AAAA, CNAME, MX, TXT, NSBeginner · 5 min
What each line in a DNS zone means, which record to pick for a website, an alias and email, and the two small mistakes that quietly break them.
- dig, nslookup and /etc/hostsBeginner · 5 min
How to read a dig answer in ten seconds, and why dig can show a correct address while curl still reaches the wrong server because of one line in /etc/hosts.
- HTTP: requests, methods, status codes and headersBeginner · 5 min
What a request and a response actually contain, and how three digits tell you whether to look at the client, the proxy or the app.
- HTTPS and TLS: what the padlock provesBeginner · 5 min
What the browser actually checks before it shows a padlock, what a certificate contains, and why a valid padlock does not mean a site is trustworthy.