Domains

How to Adjust DNS TTL for Faster Domain Propagation

Learn how to configure the TTL on your DNS records so domain changes propagate in minutes instead of hours.

Detailed shot of Ethernet cables connected to server ports highlighting technology infrastructure.

A DNS TTL (Time to Live) tells recursive resolvers across the internet how many seconds they may cache a DNS record before checking again. Lowering your TTL before making a DNS change can cut propagation from 48 hours down to under 5 minutes.

This guide explains what TTL is, how to choose the right value for your situation, and exactly how to apply the change in the most common DNS panels.

What Is DNS TTL and Why Does It Affect Propagation?

When someone visits your site, their ISP queries a recursive DNS resolver. That resolver caches the answer for however many seconds the TTL specifies. Until that cache expires, visitors see the old IP — even if you already updated the record.

A high TTL (86,400 seconds = 24 hours) means changes take up to a full day to reach everyone. A low TTL (300 seconds = 5 minutes) forces resolvers to refresh more often, at the cost of slightly more DNS query traffic.

Common TTL Values at a Glance

TTL (seconds) Equivalent When to use it
86,400 24 hours Stable setup, no changes planned
3,600 1 hour Sensible default for most domains
300 5 minutes Right before a migration or IP change
60 1 minute Emergency changes; raise it back afterward

When to Lower Your TTL (and When to Raise It Back)

The correct strategy always follows a three-step pattern:

  1. Lower the TTL in advance. Do this at least 24–48 hours before the planned change, so the previous (higher) TTL can expire everywhere and the new low value gets cached globally.
  2. Make the DNS change. Update the A record, CNAME, or whichever record points to your new destination.
  3. Raise the TTL back. Once the change is confirmed (wait one full low-TTL cycle plus a buffer), set the TTL back to 3,600 or 86,400 to reduce unnecessary query load.

Raising the TTL during a migration extends propagation rather than shortening it. Order matters.

How to Change the TTL in Common DNS Panels

cPanel / WHM (BIND Zone Editor)

  1. Log in to cPanel → Zone Editor.
  2. Click Manage next to your domain.
  3. Find the record you want to update (e.g., the A record with your IP).
  4. Edit the TTL field and enter 300.
  5. Save. The change takes effect on your nameservers within seconds; the rest of the internet sees it as cached values expire.

Cloudflare

  1. Open the Cloudflare dashboard → select your domain → DNS.
  2. Click the record you want to edit.
  3. Expand the TTL field. If the record is proxied (orange cloud), Cloudflare locks TTL to "Auto" and won't let you change it.
  4. Switch to DNS only (grey cloud) to set a custom TTL between 2 minutes and 24 hours.
  5. Save, then re-enable proxying after the migration if needed.

Registrars with Their Own DNS Panel (GoDaddy, Neubox, Namecheap)

The path varies, but the idea is the same: find the DNS Management or DNS Zone section, locate the record, and edit the TTL field. Some registrars hide the TTL field but allow you to change it via a support ticket — contact them if you don't see it.

Verifying the TTL Change Took Effect

You can confirm the active TTL from your terminal or with online tools:

dig A yourdomain.com +noall +answer

The numeric column between the record name and its type (A, CNAME, etc.) is the remaining TTL in seconds for that resolver's cache. You can also use online DNS diagnostic tools such as WhatsMyDNS or dnschecker.org to check the value from multiple geographic locations simultaneously.

Reading the Results

  • If the TTL shown matches your new low value (e.g., 300), the change is active on that resolver.
  • If you see the old TTL counting down, the cache hasn't expired yet — wait and check again.
  • If different servers around the world return different IPs, propagation is still in progress; this is normal during the transition window.

Common TTL Mistakes to Avoid

  • Lowering TTL the same day as the change. If your previous TTL was 86,400, resolvers already have the value cached for up to 24 more hours. The new low TTL only applies to fresh lookups.
  • Forgetting to raise the TTL afterward. A TTL of 60 in production generates unnecessary query volume and can increase costs if your DNS provider charges per query.
  • Confusing the record TTL with the SOA TTL. The SOA record has its own negative-cache TTL (for NXDOMAIN responses). For active records, work with the individual record's TTL.
  • Ignoring CDN caching. If you use a CDN or proxy like Cloudflare, the TTL end users actually see is set by the CDN, not directly by your DNS zone.

Find more guides on DNS records, nameservers, and domain configuration in our domains section.

Key Takeaways

  • TTL controls how long DNS resolvers cache your records; a lower value speeds up propagation.
  • Lower the TTL at least 24–48 hours before the planned change, not on the day itself.
  • Useful values: 300 for migrations, 3,600–86,400 for normal operation.
  • Verify the new TTL with dig or an online DNS checker.
  • Once the change is confirmed, raise the TTL back to reduce query load.

Planning a hosting migration or domain switch? The team at elenlace.com can walk you through every step to make the transition invisible to your visitors.

FAQ

How long does DNS propagation actually take?

It depends on your previous TTL. With a TTL of 86,400 it can take 24–48 hours. If you lowered the TTL to 300 far enough in advance, most resolvers around the world will pick up the change in under 10 minutes.

Can I set the TTL to 0?

Some registrars allow it, but a TTL of 0 is not well-supported across all recursive resolvers and can cause unpredictable behavior. The practical minimum is 60 seconds.

Does TTL affect email delivery?

Yes. MX records also carry a TTL. If you switch email providers, apply the same three-step strategy: lower the MX record's TTL before the change, then raise it again after confirming mail flows correctly to the new provider.

Where do I set TTL if my domain uses Cloudflare?

In the Cloudflare DNS panel, edit the record and expand the TTL selector. If the record is proxied (orange cloud), Cloudflare manages TTL automatically and the field is locked. Switch to DNS-only mode temporarily for full control over the TTL value.

Compare providers

Other providers and guides worth comparing:

← All