In this lesson · topic 7 of 7
Topic 7
DNS in review
3 min read
Predict first
Predict first
Predict first
Take away
- DNS maps a name to an address, and caches at resolvers hold the answer for the TTL.
- Failover delay is detection time plus the longest cache. A short TTL lowers it and raises the load on authoritative servers.
- Some resolvers and clients ignore the TTL, so the real delay can be longer than the record says.
- Weighted answers split by cached answer, not by request. Use a load balancer for a precise split.
- Latency-based answers use the resolver’s location, which may differ from the user’s.
- Anycast announces one address from many places. Failover follows routing, not a cache, and long connections can be disrupted by a route change.
Sources
- Paul Mockapetris, RFC 1034: Domain Names, Concepts and Facilities, IETF, 1987.
- Paul Mockapetris, RFC 1035: Domain Names, Implementation and Specification, IETF, 1987.