DNS
DNS, the Domain Name System, is the internet's phone book. It translates a name people can remember into the numeric IP address computers use.
The lookup
When you type a domain, your computer asks a DNS resolver for its address. The resolver works down from the root servers to the one responsible for that name.
Record types
- A — an IPv4 address
- AAAA — an IPv6 address
- CNAME — an alias to another name
- MX — where email should go
Caching
Answers are cached for a while (the TTL) so repeat lookups are fast and the system isn't overwhelmed.