Stage 1 · Lesson 7 of 10
DNS: from a name to an address
Computers find each other by number (an ), but people use names like api.example.com. , the Domain Name System, is the phone book that turns the name into the number. The client asks a resolver, a helper server that does the lookup for it.
The resolver asks the root servers, then the .com servers, then the domain's own name servers. It then (remembers) the answer for as long as the record's , its time to live, allows. Learn the records you will actually set.
An A record points a name at an IPv4 address and AAAA at an IPv6 address. A CNAME points one name at another name. MX handles email, and TXT is often used to prove you own the domain.
Common trapforgetting caching: after you change a record, clients keep the old answer until its TTL runs out, so lower the TTL a day before a planned move.
A question to check yourself, an AI practice session and 1 cheat sheet entry come with the full roadmap. Unlock
Resources for this stage
Start with· follow one of these
- CoursePaidGrokking JavaScript Fundamentals
Design Gurus · Beginner · $50
JavaScript itself in a sensible order: scope, closures, promises and async code
- GuideFreeNode.js Learn
OpenJS Foundation · Beginner
Official guides on the event loop, async work, the http module and environment variables
Practise
Keep handy
Also worth your time
The DNS, TCP, TLS and HTTP steps behind every request your backend will handle