Try
↑ ↓ move↵ openesc close

Curriculum · Module 09, Edge and Networking

Lesson 2 · 7 topics · 29 min · Intermediate · 0/7 done

DNS and traffic steering

A name becomes an address through caching resolvers. The TTL sets how long failover takes, some resolvers ignore it, and weighted, latency-based and anycast answers steer traffic coarsely.

What each topic covers

  • Clients find a service by name. Caches between them and the name server decide how fast a change reaches anyone.
  • A stub resolver, a recursive resolver and the authoritative servers, with a cache at the first two.
  • Fail one endpoint on a schedule and change the TTL, the share of resolvers that ignore it, and the routing policy.
  • The TTL is a promise some resolvers do not keep, so the real failover time is longer than the record says.
  • DNS can hand out different answers to split traffic or to pick a nearby endpoint. The split is coarse.
  • Announce one address from many places and let the network pick the nearest. No cache sits in the way.
  • Three quick checks on TTLs, ignored TTLs and weighted answers, with the standards behind the lesson.

Topics

  1. 1The address that will not change3 min
  2. 2The resolution path and the TTL4 min
  3. 3Fail an endpoint and time the failover8 min
  4. 4Failover is detection plus the longest cache4 min
  5. 5Weighted and latency-based answers4 min
  6. 6Anycast in words3 min
  7. 7DNS in review3 min

Practise this lesson

8 interview questions on dns and traffic steering, with worked answers and sources.

Practise these

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