Networking, DNS & TLS
Debugging DNS: dig +trace, resolv.conf and systemd-resolved
Why dig says one thing and your application does another: the search list, ndots and the 127.0.0.53 stub sit between them, and Kubernetes pods make all three matter.
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
- tcpdump: capture and read packetsBeginner · 5 min
Settle 'is the packet even leaving this host?' in one command, and learn to read the three flag letters that tell you whether the other side answered.
- Authoritative DNS: NS delegation, SOA and registrarsBeginner · 5 min
The Intern stage showed who answers a DNS query. This lesson shows who is allowed to, and why identical records in the wrong place change nothing.
- The TLS 1.3 handshake step by stepBeginner · 5 min
What the client and server actually say to each other in the one round trip before any HTTP is sent, which parts an eavesdropper can read, and which message proves the…
- The TCP three-way handshakeBeginner · 5 min
What happens in the first round trip of every TCP connection, and why 'connection refused' and 'timed out' point at different problems.
- Congestion controlBeginner · 5 min
Congestion control adjusts sending rate according to network feedback.
- 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.