Lesson 1 · Unit 03
DNS
From a name to an address: the hierarchy, records and TTLs
What you practise
- The hierarchy (root, TLD, authoritative), recursive resolvers, record types (A, AAAA, CNAME, MX, TXT, NS), TTLs and caching, reading
digoutput, why changes "take time"
Try a question from this lesson
Pick one
Packets are addressed by IP address, but you typed example.com. What must happen before the first packet to the site can be sent?
Correct answer
A lookup: ask a DNS server which IP address the name has
Why
Routers understand only IP addresses, so the name has to be translated first. That lookup is DNS, and it happens before almost everything you do online. When "the internet is down", it is often just DNS.
The idea
Concept cards are short on purpose. In the app they appear between questions, after you have met the idea.
Concept
A tree of names
No single server knows every name. DNS is a tree, read from right to left.
The root servers know who runs .com. The .com servers know who runs example.com. That domain's own servers, called authoritative, hold the actual records.
. (root)
/ \
com org
/
example.com <- authoritative
/
www10 more exercises in the app
- 1× order the lines
- 3× multiple choice
- 1× match the pairs
- 1× fill the blanks
- 3× type the answer
- 1× true or false
Bitpath is an iOS app in development. Join the waitlist and you get one email when it is ready to try.