This guide outlines the practical steps for tuning Time to Live (TTL) values on DNS records, focusing on balancing lookup speed and update propagation.
Scenario: A studio preparing for a site migration
Imagine a small design consulting studio preparing to move its primary website to a new hosting provider. The team has three distinct record types they need to manage during the transition window. First, there is the A record pointing to the current server IP address. Second, there is a CNAME record used for their subdomain dedicated to client portals. Third, there is an MX record handling email delivery. For this hypothetical scenario, the studio owner decides to adjust the TTL values on these records forty-eight hours before the planned cutover. The goal is to minimize the time global resolvers hold onto outdated data once the change occurs.
The owner selects two specific strategies for different record types based on criticality. For the A record, which serves the main marketing site, the TTL is lowered from thirty-six hundred seconds to three hundred seconds. This choice reflects a priority on rapid propagation for public-facing content. If the new server configuration has issues, the studio wants visitors to see the updated status quickly rather than being stuck with cached errors. Conversely, for the MX record, the owner keeps the TTL at one hour. Email infrastructure changes are riskier and less frequent. By maintaining a longer cache duration here, the studio avoids potential mail delivery interruptions caused by transient DNS lookup failures during the high-traffic migration period. This trade-off accepts slower email routing updates in exchange for greater stability in message delivery.
The CNAME record for the client portal receives a moderate adjustment, set to six hundred seconds. This middle ground acknowledges that while clients need access, occasional brief delays are preferable to the complexity of managing very short TTLs across multiple dependent services. These numbers are not universal rules but illustrative choices made by this fictional author to balance user experience against operational risk. The studio documents these decisions in a simple spreadsheet, listing each record type, the old value, the new value, and the rationale. This internal log helps the team verify that the intended caching behavior matches what resolvers actually observe after the migration begins.
Understanding the core trade-off of TTL settings
Time to Live is a DNS record field that controls how long each record is cached and, as a result, how long record updates take to reach end users. The trade-off runs both ways: longer TTLs speed up DNS lookups by increasing the chance of cached results, while also meaning that updates to those records take longer to go into effect.1
For proxied records, the TTL defaults to Auto at 300 seconds and cannot be edited; since only records used for IP address resolution can be proxied, this keeps potential changes to the assigned anycast IP address taking effect quickly. For DNS only records, a TTL between 30 seconds (Enterprise) or 60 seconds (non-Enterprise) and 1 day can be chosen, with Auto also set to 300 seconds. Nameserver TTL is a separate feature affecting only Cloudflare nameservers and custom nameservers.1
You might begin by writing a short trade-off note for each record you plan to touch, then score it against what a change would cost you if it propagated slowly versus how much resolver chatter you can tolerate. For each record, note its current TTL, the longest outage you could accept, and whether the record points to stable infrastructure or to something you expect to move.
A filled example could read: record name, main site entry; current TTL, one hour; acceptable visibility window, ten minutes; expected change this quarter, maybe one; decision, shorten before a move and restore afterward. A second example could read: record name, client portal; current TTL, six hundred seconds; acceptable visibility window, thirty minutes; expected change, unknown; decision, leave as is for now.
Short TTLs mean resolvers ask again sooner, so a correction appears faster but lookups recur more often. Long TTLs reduce repeated lookups but can leave old answers in place for longer. You can record which side of that balance each record belongs on, then choose to change one candidate at a time and note the reason beside it.
Configuring proxied versus unproxied record defaults
Cloudflare 's DNS documentation separates proxied from unproxied record defaults. By default, all proxied records have a TTL of Auto, which is set to 300 seconds, and this value cannot be edited. The stated reason is that only records used for IP address resolution can be proxied, so the 300-second cap on recursive resolver caching lets potential changes to the assigned anycast IP address take effect quickly.1
For DNS only records, the picture differs: you can choose a TTL between 30 seconds (Enterprise) or 60 seconds (non-Enterprise) and 1 day, and an Auto TTL is set to 300 seconds. The page also notes that it may take longer than 5 minutes to actually experience record changes, since your local DNS cache may take longer to update. Nameserver TTL is described as a separate feature affecting only Cloudflare nameservers and custom nameservers.1
For each record you plan to change, you can write a short default-setting note for yourself before touching anything: record type, whether it sits behind a proxy, current TTL, the longest stale answer you could tolerate, and what change you expect this quarter. A filled example might read: record type, site entry; proxy status, proxied; current TTL, auto; acceptable stale window, thirty minutes; expected change, planning a move next month. A second example for an unproxied record could read: record type, mail-related entry; proxy status, unproxied; current TTL, one hour; acceptable stale window, ten minutes; expected change, none planned.
You might compare your two notes side by side and mark where they diverge, especially when a proxied record hides the published TTL behind the proxy provider's own default and an unproxied record leaves the value fully visible to resolvers. If you find yourself setting a short TTL on a proxied entry mainly to speed up a correction, consider whether the proxy layer already handles that change, since a short TTL there may just add resolver churn without giving you the control you wanted. The choice stays yours; the note simply records which trade-off you accepted and why.
Adjusting TTL ranges for non-Enterprise accounts
For DNS only records, Cloudflare states that the TTL can be set between 60 seconds for non-Enterprise accounts and 1 day. The 30-second lower bound applies specifically to Enterprise accounts, so a non-Enterprise user works within the 60-second floor. An Auto TTL is set to 300 seconds, or five minutes, for DNS only records.1
Proxied records are separate from this choice: by default all proxied records have a TTL of Auto set to 300 seconds, and Cloudflare says this value cannot be edited. Nameserver TTL is also a separate feature that only affects Cloudflare nameservers and custom nameservers, while other NS records in the DNS records table have TTL controlled by their respective TTL fields.1
For non-Enterprise accounts, the practical next step is to write a short TTL range note for each record you plan to touch, then test whether your chosen range survives the questions you can answer yourself. You can start with fields such as record name, current TTL, proposed short value, proposed long value, and the rollback choice if a change misbehaves. A filled example might read: record name, main site entry; current TTL, one hour; proposed range, five to thirty minutes; rollback, return to one hour; reason, a planned hosting switch this quarter.
You might then compare that note against the same record's history entry, using the identical fields but labelling the row as archived and leaving proposed values blank. Marking one row current and one row historical keeps the pair from blurring together when you revisit the file later. If a record sits behind a proxy, you can add a separate question: does the visible TTL belong to the proxy rather than your own setting? You can leave the answer open rather than guessing.
Consider whether the shorter end of your range is worth the extra lookup churn for a record that rarely changes; you might keep the longer value there and reserve the shorter value for records tied to an imminent move. These are choices you can record, revise, and compare later, not fixed answers.
Locating the TTL field in the dashboard interface
In the Cloudflare dashboard, the DNS Records page is reached by going to Records. Selecting Add record and choosing a record Type brings up required fields that vary per record; for some records, TTL is listed among the particularly important fields, alongside Proxy status and Comment and Tag. The page describes TTL as controlling how long each record is valid and how long updates take to reach end users.2
For an existing record, the dashboard path is to go to Records, select Edit on that specific record, make changes, and select Save. The same page notes that a domain added to Cloudflare by a hosting partner is managed through that hosting partner instead.2
You can open the DNS management view for one record and look for the editable value labelled TTL or Time to Live, usually shown in seconds or as a preset such as five minutes, one hour, or a day. Before changing anything, note the field as it currently reads and record the surrounding context—record type, host label, and whether the record sits behind a proxy—so you can compare it against your own trade-off note.
Consider writing a small before-and-after line for the field itself: current value, proposed value, and the visibility window you are willing to accept. A filled example might read: host label, main site entry; current TTL, 3600 seconds; proposed TTL, 600 seconds; reason, planned hosting change this month. Treat that as a personal working note rather than a confirmed setting.
If you keep both a live row and an archived row for the same record, use the identical field labels but mark one row as current and the other as archived, leaving the proposed column blank on the archived row. You might then re-read the live row first and decide whether the shorter end of your range is worth the extra lookup churn; for a record that rarely changes, keeping the longer value and reserving the shorter one for an upcoming move remains a reasonable choice.
Verifying record changes after editing
For a record edited in the Cloudflare dashboard, the documented path is to open the DNS Records page, select Edit on the specific record, make the necessary changes, and select Save. The same page offers the API alternatives: a PATCH request updates part of a record, while a PUT request overwrites the entire existing record.2
The source states that the TTL field controls how long each record is valid and, as a result, how long it takes for record updates to reach end users. It otherwise describes editing and saving without any separate post-save verification step.2
For a record you have just edited, you can begin verification with a short timing note of your own before checking any live view. Write the record name, the time you saved the change, the old TTL, the new TTL, and the observation window you are prepared to accept. A filled example might read: main site entry, saved 10:15, old TTL three thousand six hundred seconds, new TTL three hundred seconds, window thirty minutes. This is your own scratch note, not proof that any resolver has refreshed.
How you verify depends on what you want to confirm. You might decide to watch the same management view and record when the displayed value changes, or you may prefer to compare notes against an independent lookup you perform yourself. Each choice answers a different question: the management view mostly confirms what you saved, while an external lookup speaks to what a resolver currently returns. You can pick one or both, and note which one you used in your timing note.
If the old answer persists past your window, consider whether the cause is the TTL you set or a cached copy taken before your edit. You might extend the window once, record the new end time, and note that the earlier value appeared longer than expected; that observation belongs in your own log, not as a conclusion about the system.
Frequently asked questions
How might I begin organizing my notes when planning TTL changes for each record?
You might begin by writing a short trade-off note for each record you plan to touch, then score it against what a change would cost you if it propagated slowly versus how much resolver chatter you can tolerate.
What can I write in a short default-setting note for each record before making changes?
For each record you plan to change, you can write a short default-setting note for yourself before touching anything: record type, whether it sits behind a proxy, current TTL, the longest stale answer you could tolerate, and what change you expect this quarter. A filled example might read: record type, site entry; proxy status, proxied; current TTL, auto; acceptable stale window, thirty minutes; expected change, planning a move next month.
What kind of before-and-after line can I write for the TTL field itself?
Consider writing a small before-and-after line for the field itself: current value, proposed value, and the visibility window you are willing to accept. A filled example might read: host label, main site entry; current TTL, 3600 seconds; proposed TTL, 600 seconds; reason, planned hosting change this month.