Resolving a name during a rollout 00:00:01 Two callers resolve different endpoints Asha points the service name at its replacement. Her authoritative lookup changes immediately, but seven regional resolvers keep sending people to yesterday's destination. Those resolvers can be following their instructions correctly. Before the cutover none of ten checks disagreed with the intended target. Afterward seven of ten still return the former answer. A record already stored by a resolver carries the remaining lifetime it received when it was cached. A stub resolver generally sends a question to a recursive resolver. On a cache miss the recursive resolver follows referrals to an authoritative answer. 00:00:40 Read the remaining lease on a cached answer Records are cached independently for their remaining TTL. Local resolver policy, negative answers and connection reuse can all affect when a client begins using a new address. An example authority serves a record with a 300-second TTL. After 60 seconds the resolver has about 240 seconds left to advertise. A downstream cache normally reuses the remaining TTL subject to its policy. When reusable cached data expires the lookup path must obtain a fresh answer. 00:01:15 One new answer and two live destinations If Asha lowers the published time to live now, must those seven cached answers disappear immediately? A resolver holding an unexpired answer does not have to ask for the revised lifetime. Compare the same name and record type at the affected resolvers. Keep the old target able to serve until the earlier answers can expire. If all resolvers return the new address but requests still reach the former endpoint, inspect persistent connection reuse. 00:01:44 Retire an endpoint after old leases expire Later none of the ten returns the former target. The DNS root delegates responsibility for top-level domains. Those domains delegate to authoritative zones. Caches mean most lookups do not visit every layer. Asha verifies the service at the resolved addresses before retiring it. Lowering the lifetime in advance gives a later cutover a shorter tail.