DNS from scratch: resolvers, record types, how a lookup travels
10 steps · about 2 h 27 min · Beginner
- How DNS Works: Resolution Explained (article, Think Like a Computer, 12 min)
Follows the full path from stub resolver to authoritative server and shows caching at each hop.
- Recursive vs Authoritative DNS: Who Answers What, and Why (article, ScoutDNS, 10 min)
Separates the two server roles that most beginners confuse.
- How DNS Works: The Complete DNS Lookup Process Explained (guide, SpeedtestHQ, 12 min)
Reinforces the lookup with a numbered walkthrough, including the browser, OS and resolver caches.
- DNS Record Types Explained: A, AAAA, CNAME, MX, TXT, NS, SOA, SRV, CAA, PTR (reference, ShowMyIP, 15 min)
Now that you know the path, learn what the answers (records) actually contain.
- DNS Record Types Guide: A, AAAA, CNAME, MX, TXT, NS, CAA (guide, InfraNest, 15 min)
Adds copy-pasteable examples, the CNAME-at-apex rule and the RFC behind each record.
- Time to Live (TTL) (doc, Cloudflare DNS docs, 8 min)
Explains why DNS changes take time to spread and how to trade speed against freshness.
- dig Command in Linux: DNS Lookup (tutorial, Linuxize, 20 min)
Lets you run real queries for each record type against different resolvers.
- dig command tutorial — 30 worked examples for DNS troubleshooting (tutorial, DNScale, 30 min)
Practise dig +trace to watch root, TLD and authoritative servers answer in turn.
- New tool: Mess with DNS! (blog, Julia Evans (jvns.ca), 15 min)
Introduces a free playground where you set up real records on a real DNS server and watch the queries.
- DNS concepts (doc, Cloudflare DNS docs, 10 min)
Wraps up with records, nameservers and DNSSEC as the fix for spoofed answers.