DNS TTL Calculator – Plan Your TTL Values Right

April 7, 2026

⏱️ DNS TTL Calculator

Calculate optimal DNS TTL values, propagation times, and cache impact for any record type

⚡ Quick Presets
🔧 Calculator Settings
✅ DNS TTL Analysis Results
📊 TTL Quick Reference Specs
60s
CDN / HA Minimum
3600s
Industry Standard
86400s
NS Record Standard
48 hrs
Max Propagation Time
900s
SOA Negative Cache
300s
Pre-Migration Target
604800s
7-Day NS Max TTL
2x TTL
Safe Change Window
📋 DNS Record Type Recommended TTL Table
Record Type Recommended TTL Min Practical Max Practical Change Frequency Notes
A (IPv4)3600s (1 hr)300s86400sOccasionalLower before IP migrations
AAAA (IPv6)3600s (1 hr)300s86400sRareSame guidance as A record
CNAME1800s (30 min)60s43200sOccasionalAvoid on apex/root domain
MX3600s (1 hr)300s86400sRareHigh TTL for mail stability
TXT / SPF3600s (1 hr)300s86400sRarelySPF changes need propagation time
NS86400s (24 hr)3600s604800sVery RareParent zone also needs update
SOA3600s (1 hr)900s86400sAutomaticNegative cache = SOA minimum field
SRV1800s (30 min)300s43200sOccasionalUsed for SIP, XMPP, etc.
PTR (Reverse)86400s (24 hr)3600s604800sRareManaged by IP owner, not always DNS admin
CAA3600s (1 hr)300s86400sRareSSL cert authority restriction
🔄 Propagation Time by Scenario
Scenario Recommended TTL Expected Propagation Safe Change Window Resolver Cache Impact
Standard Hosting3600s1–4 hours7200s (2 hrs)Medium
Pre-Migration (48h before)300s5–30 min600s (10 min)Low
Active Migration / Cutover60s1–5 min120s (2 min)Very Low
Post-Migration Stable3600s1–4 hours7200sMedium
CDN / Edge Cache60–300s1–10 min600sVery Low
High Availability / Failover60sUnder 2 min120sMinimal
Static / Stable Site86400s24–48 hours172800s (48 hr)High
Development / Testing60s1–3 min120sMinimal
📐 TTL to Time Conversion Reference
TTL (seconds) Minutes Hours Days Common Use
601 min0.017 hr—CDN, HA Failover
3005 min0.083 hr—Pre-Migration, Low TTL
90015 min0.25 hr—SOA Negative Cache
180030 min0.5 hr—CNAME, SRV Records
360060 min1 hr—Standard A, MX, TXT
14400240 min4 hr—Stable records
43200720 min12 hr0.5 daySemi-static records
864001440 min24 hr1 dayNS, Static A
60480010080 min168 hr7 daysNS maximum
🎯 Common DNS Scenario Recommendations
Project / Use Case Record Type Recommended TTL Propagation Time Notes
Small Business WebsiteA3600s1–4 hrStandard; update before changes
E-Commerce MigrationA300s (reduce 48h early)5–30 minCritical: reduce TTL well in advance
Google Workspace / Office 365MX, TXT3600s1–4 hrSPF/DKIM requires propagation
Cloudflare CDNA / CNAME300s (proxied auto)Auto-managedCloudflare overrides TTL when proxied
Home Lab DNS ServerA300s5–15 minLower TTL suits frequent changes
Kubernetes IngressA / CNAME60s1–3 minPods change IPs often
Domain Transfer / RegistrarNS86400s24–48 hrAllow full 48h for NS propagation
💡 Pre-Migration TTL Strategy: Always reduce your TTL to 300s or lower at least 48 hours before any planned DNS cutover. This ensures old cached values expire quickly once you make the change, minimizing the time visitors see old records. After the migration is confirmed stable, raise the TTL back to 3600s or higher.
⚠️ Understanding Propagation vs. TTL: TTL controls how long resolvers cache your record. It does NOT control global propagation speed — that depends on how many resolvers have cached the old value and when their cache expires. The maximum propagation wait time equals your current TTL. A shorter TTL means a shorter maximum wait after a change.

DNS’s ttl or Time to Live is simply the time that marks when saved DNS records expire. One measures it in seconds, so if you see a value of 1800, that matches to 30 minutes. And 86400?

It represents a whole day.

What is DNS TTL

DNS records save data about your domain IP addresses, host names and alike causes. Ttl points to other servers, how much time they deserve to use their saved copy, before needing to ask for a fresh version. Here is the key: when ttl expires, the DNS server does not right away hunt for a new updated record.

It only asks for a fresh copy, when someone does a question and finds that the old version already expired.

Most domains have a default ttl between 12 and 24 hours. That creates a real problem, when you switch your website to a new server… It could last that much time, before all globally notice the change.

Changes do not spread at once to all servers. On the contrary, local DNS servers simply wait, until their memory empties, and then take a fresh copy the next time, when someone asks. That whole process is what folks usually call DNS expansion.

One finds ttl in two places. It has a default setting in the SOA record for the whole domain, but separate records can own their own value. If a particular record has its setting, it beats what the zone authority orders.

Whoever cares about your DNS records, that controls those numbers, and you can freely choose different ttl values for various records. Normal DNS systems almost everywhere observe those separate settings for every record.

Short ttl values are useful, when you prepare changes. Ttl of 300 seconds forces a refresh every 5 minutes, which helps to spread your updates more quickly. Even so, keeping everything at short ttl for always is not a wise idea.

Long ttl values cause fewer DNS questions, while short cause more. Here is the business side: long ttl values protect you against outages, because saved copies allow visitors to reach your website, even if your DNS server briefly fails.

Under 60 seconds it becomes complex. Many resolvers do not accept that and simply raise it to 60 seconds. Ttl of one or two seconds probably will not work with most DNS programs.

Some hosting providers simply refuse too set anything under 30 seconds.

In cases of failure. Where you must manually switch to a backup server, which commonly lasts around 10 to 15 minutes just to note the mistake and make the change. Ttl between 300 and 900 seconds (5 to 15 minutes) reaches the ideal level.

There is no magic number that works everywhere. The best choice depends on how commonly you change records and how you balance between speed and stability. Longer ttl values extend the saving of records, reduce questions and ease the service.

The downside? Too high values cause pains, when saved data no longer matches withthe reality.

Clearing the DNS memory on your own computers after updates always deserves the effort, because those saved items stay until the ttl countdown ends.

DNS TTL Calculator – Plan Your TTL Values Right

Related posts

Leave a Comment