This article addresses how SaaS product teams can configure DNS TTL values to control how long resolvers cache records. It explains the trade-off between faster lookups and slower updates, details default settings for proxied versus unproxied records, and outlines steps for adjusting TTLs during migrations or routine changes.
Understanding the Core Trade-off: Caching Speed vs. Update Propagation
This is a hypothetical scenario: a documentation author at a small SaaS company is assembling a DNS configuration guide for internal release engineers, working from a folder of draft notes and two example record sets.
The first candidate title is “TTL Settings for Release-Week Changes.” The author's draft note lists three records the team expects to touch during a release: the product hostname that serves the app, the status hostname used by the public health page, and the mail-sending hostname. Each record is written in a small table with columns for record name, purpose, current caching window, and who approves a change. Two made-up rows show how the table classifies entries: one row uses the label “app” with a 300-second window and the note “change together with deploy window”; another uses “status” with a 60-second window and the note “short window only during an incident.” These are not real records or old settings, just examples the author invented to explain the sorting logic.
The second candidate is “Choosing Between Fast Updates and Steady Caching.” Here the author starts with a side-by-side comparison rather than a table. On the left is a short caching duration, illustrated with a hypothetical 60-second value; on the right, a longer one, illustrated with a hypothetical 3600-second value. The accompanying paragraph asks the reader to pick one based on how often the mapped address changes. The author's own worked choice is a sample entry named “release-test” that starts with a short window because its address is expected to move during the test, then moves to a longer window once the address is stable. The reasoning is that a short window costs more resolver lookups but limits the stale-address interval; a long window does the reverse. This is an example of how one team might decide, not a recommendation for every deployment.
The third candidate, “A Checklist for Changing a TTL,” is a plain list of four items: confirm which hostnames map to the service, note the current caching window for each, decide whether the release changes an address, and record the chosen window next to the change ticket. The author leaves the checklist blank of real values to keep it reusable.
Configuring TTL for Proxied and Unproxied Records
For proxied records, the Cloudflare page states that all proxied records default to a TTL of Auto, 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 a 300-second cap keeps potential changes to the assigned anycast IP address taking effect quickly as recursive resolvers do not cache them longer than five minutes. The page adds a note that record changes may take longer than five minutes to be experienced because the local DNS cache may take longer to update.1
For DNS only records, the same page says you can choose a TTL between 30 seconds (Enterprise) or 60 seconds (non-Enterprise) and 1 day, with Auto set to 300 seconds. It also distinguishes Nameserver TTL as a separate feature affecting only Cloudflare nameservers and custom nameservers; for other NS records in the DNS records table, TTL is controlled by their respective TTL fields.1
You can take one of the draft notes you already have — say, the one listing three records touched during release week — and split it into two columns before writing any prose: proxied and unproxied. For each record, note which column it belongs in based on how your team actually routes that hostname. That single sort gives you the structure this section needs.
The fields I would suggest for each row are: record name, current TTL, whether traffic passes through a proxy, who changes it, and the rollback window. A filled example might read: checkout host, 300 seconds, proxied, release engineer, 30 minutes. Another might read: status page host, 3600 seconds, unproxied, on-call engineer, two hours. You can fill these in from your own notes rather than copying mine.
When you draft the explanation, consider writing one short paragraph per column instead of one combined rule. The proxied paragraph can say the TTL you set is not necessarily the caching duration resolvers observe, while the unproxied paragraph can describe the resolver-facing value more directly. Then decide whether the two paragraphs share a closing sentence or stay separate — either choice is fine, as long as the distinction is visible to a reader skimming headings.
Adjusting Nameserver TTL Values
The nameserver TTL is described as a separate feature that only affects Cloudflare nameservers and custom nameservers. For other NS records in the DNS records table, the TTL is controlled by their respective TTL fields rather than by this separate setting.1
For the nameserver row in your guide, you can take the existing draft sentence and rewrite it as a plain choice. The draft might say, “Set the TTL for the nameserver records before delegating the domain,” which reads like a fixed instruction. A revision could say, “You can choose a longer TTL for nameserver records once delegation is stable, and a shorter one while you expect to move providers.” That keeps the decision visible and leaves the value to the team.
You might then show the same field set in two filled rows. For the current entry, write the nameserver host, a TTL such as 86400, who owns the change, and the reason: stable delegation. For an archived entry, write the old host, its TTL, the change date, and a note that it was replaced during a provider move. The two rows use identical fields, so the difference is in the values and the status, not the structure.
When you compare candidates for how much detail to include, you can keep a short version that names the trade-off and a longer version that adds both example rows. Choose based on whether your readers already know the record names; if they do, the short version plus one row may be enough.
Lowering NS Record TTL During Migrations
The Route 53 migration guide recommends lowering the NS record TTL at the current DNS service provider and in the Route 53 hosted zone before switching name servers, and it notes that a typical NS TTL is 172800 seconds, or two days. If you don't lower the TTL, the guide says the domain could be unavailable for up to two days if something goes wrong.2
Some full resolvers might cache the NS record TTL of the parent authoritative server, so the guide states that the TTL of NS records registered on the parent authoritative DNS server must also be reduced. In the Route 53 hosted zone, the guide recommends a TTL between 60 seconds and 900 seconds (15 minutes).2
After the migration, the guide's step 9 says to change the NS record TTL in the Route 53 hosted zone back to a higher value, for example 172800 seconds. It attributes improved latency to users not having to wait as often for resolvers to query for the domain's name servers.2
Take the two example record rows you already prepared — the current nameserver entry and the archived one — and add a single field to each: “planned change.” For the current row, fill it with a short phrase describing what the team intends to do, such as “lower NS TTL before cutover.” For the archived row, fill it with the past action, such as “NS TTL lowered before the last cutover, now restored.” This keeps one field set serving both live and historical entries without inventing a second template.
You can then decide how much of the migration detail belongs in this section. One option is a brief version: one sentence naming the trade-off between a shorter caching window and the extra query load, followed by the filled current row. A longer option adds the archived row and a sentence explaining why the past value was restored. Either choice works; keep whichever matches the depth of your other sections.
Before writing the explanation, consider rereading your draft for any sentence that tells release engineers what they must set. Rewrite it as a choice: “You can lower the NS TTL ahead of the change if you want resolvers to pick up the new delegation sooner.” That phrasing stays with the reader's decision and avoids presenting a fixed rule as settled practice.
Steps to Edit TTL in the DNS Dashboard
In the Cloudflare dashboard, the documented path for editing a TTL is the DNS Records page: go to Records, select Edit on a specific record, make the necessary changes, and select Save. The TTL field appears among the fields completed when creating a record, and the source describes it as controlling how long each record is valid and, as a result, how long record updates take to reach end users.3
The source also states that if a domain is added to Cloudflare by a hosting partner, DNS records are managed through that hosting partner. Edits to part of a record can alternatively be made with a PATCH request, while a PUT request overwrites the entire existing record.3
For the DNS dashboard section, you can start from the two example record rows you already filled in for the nameserver entry and the archived entry, and add a short walk-through of how each field would be edited. Begin with the current row: the record name, the current TTL such as 86400, who owns the change, and the planned change field. Then describe the edit a release engineer would make in plain prose — for the current entry, they would select the record, enter the new TTL, and confirm the change; for the archived entry, the TTL stays as recorded and only the planned change field notes that it is kept for reference.
You might present those two walk-throughs as a side-by-side comparison rather than separate paragraphs. The current column can say which field changes and what the engineer enters; the archived column can say which fields stay untouched. That layout lets a reader see at a glance that the same field set serves both an active edit and a historical record.
When you turn to how much of the dashboard mechanics to explain, you can keep it brief: name the fields a reader will touch and the order they appear, then let the example rows carry the detail. A longer version could add a sentence about what happens when the record is saved, but only if your draft notes already cover it; otherwise the short version keeps the section focused on the reader's own record rows.
Best Practices for Choosing Appropriate TTL Values
You can start with the two-column split you already prepared — the release-week record list and the field set with record name, current TTL, proxy status, owner, and rollback window — and turn it into a short decision guide rather than a rule sheet. The new action is to add a “why this value” sentence under each row, written in plain prose, so a reader can weigh the choice instead of copying a number.
For the row where traffic passes through a proxy, your “why” sentence might read: “A short TTL here keeps the cached window small, so a change becomes visible quickly, at the cost of more lookups.” For the nameserver row, the same slot could read: “A long TTL keeps the cached window large, so a change propagates slowly but steadily.” You can leave both as candidates until you decide which one better matches the record’s role in the guide.
Consider giving readers a small self-check rather than a checklist of required steps. You might write four questions they can answer in their own notes: which hostnames does this record serve; how quickly must a change take effect; how often will it change; and who decides to shorten it? Filled in for the release-week example, the answers might be: three hostnames, within one hour, once per release, the release lead. Those answers are yours to invent as a demonstration, not a record of anything that happened.
You might also show a before-and-after rewrite. The draft sentence “Set the TTL to 300 so updates are fast” can become “You can choose a shorter TTL if fast updates matter more than fewer lookups.” The second version leaves the decision with the team and names the cost of the choice, which is what this section is trying to teach.
Finally, decide how much explanation to keep. One option is a single paragraph naming the trade-off plus the two example rows. A longer option adds the four self-check questions and the rewritten sentence. You can draft both and keep the one that reads cleanly without repeating the proxy discussion you wrote earlier.
Frequently asked questions
How can I turn a draft note that lists release-week records into two columns before writing prose?
You can take one of the draft notes you already have — say, the one listing three records touched during release week — and split it into two columns before writing any prose: proxied and unproxied. For each record, note which column it belongs in based on how your team actually routes that hostname.
What fields should I put in each row of my records table?
The fields I would suggest for each row are: record name, current TTL, whether traffic passes through a proxy, who changes it, and the rollback window. A filled example might read: checkout host, 300 seconds, proxied, release engineer, 30 minutes.
What four questions can I answer in my own notes as a self-check?
Consider giving readers a small self-check rather than a checklist of required steps. You might write four questions they can answer in their own notes: which hostnames does this record serve; how quickly must a change take effect; how often will it change; and who decides to shorten it?
Time to Live (TTL) · Cloudflare DNS docs . Retrieved 2026-11-21. ↩︎ ↩︎ ↩︎
Making Route 53 the DNS service for a domain that's in use - Amazon Route 53 . Retrieved 2026-11-21. ↩︎ ↩︎ ↩︎
Manage DNS records · Cloudflare DNS docs . Retrieved 2026-11-21. ↩︎ ↩︎