Language / Technology

Why does DNS use caches?

Short answer

Caching reduces repeated queries for the same name and can make name resolution faster.

How it works

Caches have a lifetime, so changes may not appear everywhere immediately. TTL indicates how long a result may be kept.

Key point

The practical point is this: TTL indicates how long a result may be kept.

References