Chapter 3 of 10All chapters
Chapter 3 of 10
DNS
Names into addresses.
The lookup
DNS translates a domain name into an IP address, asking a chain of servers until one answers. Results are cached at every step, which is why changes take time to spread.
- TTL sets how long an answer may be cached.
- An A record points at an address; CNAME points at another name.
Why it looks like an outage
If DNS fails, everything appears down even though the servers are healthy. It is the first thing to check when a site is unreachable by name but fine by address.