Try
↑ ↓ move↵ openesc close
In this lesson · topic 7 of 7
  1. 1. The address that will not change
  2. 2. The resolution path and the TTL
  3. 3. Fail an endpoint and time the failover
  4. 4. Failover is detection plus the longest cache
  5. 5. Weighted and latency-based answers
  6. 6. Anycast in words
  7. 7. DNS in review

Topic 7

DNS in review

3 min read

Predict first

What bounds failover delay when every resolver obeys the TTL?

Predict first

You set a 20 second TTL and some users still hit a dead endpoint for minutes. What is the likely cause?

Predict first

Why is a weighted DNS split only approximate?

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

Your progress is saved in this browser. Sign in to keep it on every device. Privacy · Terms