X
X
Worldwide (English) TRY 0

Welcome

Sign in

What Is Time-to-Live (TTL)?

HomepageArticlesWhat Is Time-to-Live (TTL)?
Network device, connections and network diagram
Illustrative image · HostTurka

Originally published: 2025-11-07

Technical update: 22 October 2026. DNS TTL specifies how long a DNS record may be cached, in seconds. A TTL of 300 represents five minutes. IP packet TTL/Hop Limit concerns packet lifetime in a network and is a different concept.

What does TTL control?

An authoritative server publishes a record; resolvers may reuse its cached answer for the appropriate lifetime. Different record types may have different TTLs. RFC 1035 defines the TTL field in DNS resource records.

Before a migration

  1. Identify the records changing: web A/AAAA, mail MX and related TXT records serve different roles.
  2. Lower TTL sufficiently in advance where appropriate; answers cached with the old higher TTL do not immediately disappear.
  3. Test the new service’s hostname, TLS and application beforehand.
  4. After switching, compare authoritative answers with those from the resolvers in use.
  5. Return to the normal TTL policy once stable.

TTL is not a propagation guarantee

Lowering TTL now does not retroactively shorten previously cached responses. Browsers, operating systems, VPNs, corporate DNS and applications can hold separate caches. Negative-answer caching also needs consideration. Do not assume every visitor switches at the same instant.

Domain transfer and DNS changes

Transferring registration does not move website files or mailboxes. Plan domain transfer and hosting migration separately. When pointing to a new cloud server, retain control of authoritative DNS and rollback records.

ABOUT THE AUTHOR

Computer Programmer | Hostturka

A 2009 Kadir Has University graduate and owner of CND Medya, working in hosting, server administration, networking and web software.

Education, projects and professional background →

Copyright © 2026 All Rights Reserved
Top