Remote engineering teams often need to control how long DNS records are cached by resolvers worldwide. This guide covers the basics of Time to Live (TTL) settings, the differences between proxied and unproxied records, and how to configure nameserver TTLs during migrations.
Assuming a Team Needs Faster Record Updates
Suppose a remote infrastructure author is drafting a short runbook for a distributed team that has just discovered its authoritative zone is publishing a one-hour TTL on an A record while an upcoming migration window may need a rollback within minutes. The author’s working material is deliberately modest: a sketch of the zone file, a note that two secondary nameservers sit in different regions, and a rough list of resolver caches that have already served the old address. None of these are real records; they are the author’s own examples for explaining the problem.
The author might name the page “TTL Adjustment Worksheet,” “Record Change Timing Notes,” or “Zone Timing Assumptions.” The first is the most concrete because it suggests a form the reader can fill in. A usable form would have columns for record name, current TTL, proposed TTL, change window, rollback plan, and who verified the authoritative answer. Two invented rows could look like this: “api.example-lab.net, A, 3600, 300, Tuesday 02:00 UTC, revert within 10 minutes, zone editor” and “status.example-lab.net, CNAME, 1800, 600, Tuesday 02:30 UTC, restore previous target, on-call engineer.” The author keeps the names as internal labels only and does not claim any resolver will honor them exactly.
For a choice, the author weighs lowering the TTL a day before the change versus editing it at the last moment. Lowering early gives caches time to expire the old value, but it also exposes the record to more frequent lookups. The author selects the early reduction and writes the reason beside the row: the team can tolerate extra queries but not a long stale window. That is an example trade-off, not a tested result.
The author avoids asserting that every resolver will respect the new value; instead, the note marks “resolver behavior” as an open question to verify with direct queries. The page remains a worksheet for organizing decisions, not a promise about global caching behavior.
Understanding How TTL Affects Cache Duration
On the authoritative side, TTL is a field on DNS records that determines how long each record is cached and, in turn, how long record updates take to reach end users. As the Cloudflare documentation explains, longer TTLs speed up DNS lookups by raising the chance of cached results, while a longer TTL also means updates take longer to go into effect.1
The same page distinguishes record types. Proxied records default to a TTL of Auto, set to 300 seconds, and this value cannot be edited, which keeps potential changes to the assigned anycast IP address from being cached by recursive resolvers for more than five minutes. It notes that local DNS caching may make actual record changes take longer than five minutes to experience. For DNS only records, the page states that a TTL can be chosen between 30 seconds (Enterprise) or 60 seconds (non-Enterprise) and 1 day, and that Auto is 300 seconds.1
You can take your team’s existing DNS TTL change note and add a worked “before and after” comparison that shows how the same record is read during a planned change. Start with one record, such as the apex address or a mail-related host name, and write three columns you can fill in yourself: current TTL, proposed TTL, and the intended transition window. For example, a record published with a current TTL of 3600 seconds and a proposed TTL of 300 seconds, with a transition window that begins one day before the edit, gives readers a concrete case to reason from.
Then add a second row for the archived version of the same note, keeping the original TTL value and the date the record was retired. Use the same field names in both rows so a reader can compare them without learning two layouts. Example values might read “current TTL: 3600,” “proposed TTL: 300,” and “window opens: one day before edit” for the live entry, and “current TTL: 3600,” “proposed TTL: not changed,” and “retired: date recorded” for the archived entry. You can leave the retired date blank and mark it as something the author will check later.
Finally, add a short line under the table noting that a lower TTL shortens the maximum time a cached answer may be reused, but it does not guarantee every resolver refreshes at that moment. You might phrase that as a question the note leaves open rather than a settled rule, then invite a teammate to record observations from their own region.
Configuring TTL for Proxied vs. Unproxied Records
Cloudflare ’s documentation states that proxied records default to an Auto TTL of 300 seconds, and this value cannot be edited. The page explains that since only records used for IP address resolution can be proxied, the fixed short cache period helps changes to the assigned anycast IP address take effect quickly.1
For DNS-only records, the same page allows a TTL between 30 seconds (Enterprise) or 60 seconds (non-Enterprise) and 1 day; Auto is set to 300 seconds. It also cautions that it may take longer than 5 minutes to experience record changes because a local DNS cache may take longer to update.1
For proxied versus unproxied records, you can add one more comparison row to the worksheet you already started. Use the same field names, but note that a proxied record is typically published with a shorter default TTL than the origin it fronts, while an unproxied record has no such layer and caches for whatever TTL the zone states. A filled example might read: record name www, type A, proxied yes, TTL 300, origin default 7200; and beneath it, record name legacy, type A, proxied no, TTL 3600. The reason column could say "fronted by proxy, shorter default" for the first and "direct answer, zone value only" for the second. Treat those values as illustrative placeholders your own zone may replace.
You might also mark, in a remarks field, that lowering TTL on a proxied record does not by itself control the proxy's own caching. That belongs in the "assumptions to check" column rather than the "observed" column, so a reader can see which claims came from your notes and which await confirmation.
If your worksheet already has a row for the archived version of a zone note, keep the proxied and unproxied columns intact there too, filling in the retired values so the archived and current entries stay comparable across the same fields.
Setting Nameserver TTL During Zone Migrations
For zones using Cloudflare nameservers (standard or advanced) or custom nameservers, the NS record TTL is controlled by the specific setting on the DNS Records page, under DNS record options; Foundation DNS DNS record options are part of Foundation DNS. The default TTL is 24 hours (86,400 seconds), and Cloudflare states you can lower this value depending on your needs, giving nameserver changes or zone migration as an example. Accepted values range from 30 to 86,400 seconds. The same setting can be configured as a DNS zone default, so new zones created in the account automatically start with the value you define. Enterprise customers who do not see Nameserver TTL on the dashboard are directed to reach out to their account team.2
For the nameserver TTL note you are drafting ahead of a zone migration, consider adding a short “before handoff” section that states the value currently published, the value you plan to publish, and the point at which you intend to make the change. You might write: “Current NS TTL: value in place today. Planned value: the shorter one we intend to publish before the move. Change window: the date we will edit the record.” Keeping these three fields together helps readers see the sequence without reading the whole page.
You can then add a second block for the post-migration state, using the same field names but recording the value you expect to restore once the new nameservers are answering. If your note already has a separate archived entry, you might keep the retired value visible there so a reader comparing the current and retired entries can see both changes in one place.
One useful addition is a remarks line that flags resolver behavior as an assumption rather than a guarantee; phrase it as a question the team should settle, not a promise. You can decide whether to include this line or leave it out, depending on how much uncertainty you want the note to carry.
Editing DNS Record Fields in the Dashboard
In the dashboard, select Edit on a specific record, make the necessary changes, and select Save. For A, AAAA, and CNAME records, the Proxy status field is where hostname traffic is routed through the provider, and the TTL field controls how long each record is valid and how long record updates take to reach end users; the page also notes that required fields vary by record type.3
The same page documents a PATCH request to update part of a record with the API, while a PUT request overwrites the entire existing record.3
You can take your team’s current DNS record notes and reorganize them into two short entries that share one field set: record name, currently published TTL, intended TTL, change date, and remarks. For the live entry, fill in the record name, the old value, the value you plan to publish, the planned date, and any open question about resolver caching. For the same record’s archived version, keep the original TTL and add the date it stopped being served, so the historical entry remains readable on its own.
You might then compare the two entries side by side before sharing them. Check that the live entry states only what you intend to publish, while the archived entry preserves what was actually in place. In the remarks field, phrase resolver behavior as an assumption you are preparing to verify, not as a result you have observed. You can leave that note in both entries with slightly different wording: the live one points forward, and the archived one records what was assumed at the time.
For each field, consider adding one example value so a teammate can fill in their own row without guessing. If you already have a field called intended TTL, keep that name in both entries rather than renaming it halfway through.
Reviewing Local Cache Delays After Changes
For proxied records, the documented default TTL is Auto, set to 300 seconds, and it cannot be edited. Only records used for IP address resolution can be proxied; this setting keeps potential changes to the assigned anycast IP address taking effect quickly, since recursive resolvers will not cache them longer than 300 seconds.1
The same page notes a limit on that expectation: it may take longer than five minutes to actually experience record changes, because your local DNS cache may take longer to update.1
You can take your team’s change note and add a local-cache observation row for each record you intend to publish. Give the row four fields: record name, published TTL before the change, published TTL after the change, and the date and local time you first check a cached answer. A filled example might read “api, 3600, 300, Tuesday 09:15 local.” The value is only what your own machine or a designated checker reports, so label it as a local observation rather than a global result.
You might keep a second row beside it for the archived version, with the retired TTL and the date the record was withdrawn, using the same four field names so the two rows remain comparable. When you review them, consider whether the local delay you recorded is shorter than, equal to, or longer than you expected from the published values; that comparison is the useful part of the note.
For the wording under the table, you can write something like “A nearby machine still showed the old answer for the first few minutes,” followed by a question the team can settle: whether the delay is acceptable for this record or calls for a different staging plan. This keeps the note honest about what was checked locally without claiming that every resolver worldwide behaved the same way.
Frequently asked questions
What three columns can I fill in when comparing one record before and after a planned change?
You can take your team’s existing DNS TTL change note and add a worked “before and after” comparison that shows how the same record is read during a planned change. Start with one record, such as the apex address or a mail-related host name, and write three columns you can fill in yourself: current TTL, proposed TTL, and the intended transition window.
What fields should the live and archived DNS record entries share?
You can take your team’s current DNS record notes and reorganize them into two short entries that share one field set: record name, currently published TTL, intended TTL, change date, and remarks. For the live entry, fill in the record name, the old value, the value you plan to publish, the planned date, and any open question about resolver caching.
What four fields should I use for a local-cache observation row for each record?
You can take your team’s change note and add a local-cache observation row for each record you intend to publish. Give the row four fields: record name, published TTL before the change, published TTL after the change, and the date and local time you first check a cached answer.
Time to Live (TTL) · Cloudflare DNS docs . Retrieved 2026-11-21. ↩︎ ↩︎ ↩︎ ↩︎ ↩︎ ↩︎
Multi-provider DNS and nameserver options · Cloudflare DNS docs . Retrieved 2026-11-21. ↩︎
Manage DNS records · Cloudflare DNS docs . Retrieved 2026-11-21. ↩︎ ↩︎