Index

Module 05 · NetworkingBuild it yourself

Build it: the concierge who walks (a recursive resolver)

DNS Resolution
DNS Resolution · Open board

The concierge who walks the chain of referrals for you. In DNS Resolution you watched the walk with dig +trace. Here you build the walker, and the sticky notes it keeps.

Before you start. You need DNS Resolution (the concierge, referrals, glue, TTL), DNS on the wire (the bytes of a question and an answer) and Write the telegram yourself (you wrote a question by hand and read a name back out of a reply). This lesson joins them: the stub of 0009, grown into a program that starts knowing four addresses and ends up able to answer for any name. Python 3, no packages. A different build, From Scratch’s DNS server, is the other half of DNS: that one answers questions for a zone, and this one asks them.

Continue reading with a plan

The first three lessons of every track are free. This lesson is included with a plan, which unlocks every lesson, board, video, lab and paper for one price.

View plans →Already a member? Sign in

Lab

You changed the address. How long until the world stops sending people to the old one?

Set Seconds the concierge keeps the note to 300, press Add next question through the run, and watch the stranded count in The tally.

Open The TTL dial →

Review Networking →

Saved in this browser, and to your account when you sign in.