Cloudflare rebuilt its DNS Zone Builder to rewrite only the parts of a zone that a setting change touches, cutting peak memory 85% and halving median build delay.
Cloudflare now rebuilds only the part of a DNS zone a change affects, and runs a full rebuild whenever it cannot prove the smaller build is correct. Cloudflare measures its speed gains up to its own internal store, so time your critical records end to end yourself.
Changing one setting on a large zone at Cloudflare used to mean rebuilding every record in it. Cloudflare engineer Alex Fattouche described the replacement in a November 2 post on the company's blog: a planner that picks the smallest build that still produces correct DNS answers, paired with a scheduler that merges queued work for each zone. The project finishes work Fattouche wrote about in 2022, when individual record edits stopped triggering full rebuilds and zone settings stayed on the old path.
I worked at Network Solutions and at VeriSign, which runs the .com registry that Network Solutions once operated. Those years left me convinced that people underestimate how much of the world depends on DNS. Every page load and every API call starts with a lookup that turns a name into an address, and for the domains you own, an authoritative DNS provider such as Cloudflare supplies the answer.
A stale answer sends your customers to a server you retired, so the speed and accuracy of your DNS provider's change pipeline belong in your resilience plan.
Cloudflare's DNS pipeline handles nearly three times the changes it did in 2022
The Zone Builder receives about 700 DNS record changes per second, up from about 250 in 2022, plus about 100 other events per second such as zone setting changes (Cloudflare, 2026). Some customer zones hold more than 20 million records, and Cloudflare expects zones to grow toward hundreds of millions.
A change travels through a database and a Kafka event stream before the Zone Builder converts zone data into keys for Cloudflare's authoritative servers. The Zone Builder then compares those keys with Quicksilver, Cloudflare's distributed key-value store, and writes only the keys that changed.
I expect a growing share of those changes to come from automation and AI agents, because tools that provision services on their own also update the records that point to them.
A setting change now rewrites only the records it affects
A full build reads every record in a zone and rewrites every key. On a zone with tens of millions of records, Cloudflare had to load the whole zone into memory to apply one setting. The 2022 project moved record edits to per-record builds, which ran 150 times faster than full builds on average (Cloudflare, 2022). Zone settings stayed on full builds because a setting can change answers anywhere in a zone.
The new planner assigns each event the narrowest of five build types, ranging from resources only to a full zone. Over a 24-hour window, 86.81% of builds touched resources only and 7.04% still required a full zone build (Cloudflare, 2026). The scheduler folds queued events for the same zone into one build, which saves repeated work when a person or an automation tool changes several settings in a row.
Cloudflare requires every shortcut to match a full rebuild byte for byte
Each key a targeted build writes must be byte-for-byte identical to what a full build would write. When the planner cannot prove that, it runs a full build. A zone published for the first time gets a full build, as does any event that does not say what changed. Those remaining full builds average 0.35 seconds because most of them hit new, small zones (Cloudflare, 2026).
The largest zones follow a separate rule. Above a fixed record count, the Zone Builder never escalates to a full build and rebuilds a defined subset of the zone instead, and Cloudflare engineers rebuild individual names by hand for the rare cases the subset misses. My reading is that a full rebuild of a zone that size would hold up every change queued behind it, so Cloudflare accepted a manual step for rare cases to keep its biggest customers' changes moving.
Cloudflare tested the planner before launch and kept checking it after. During rollout, a full build ran alongside every targeted build so the team could compare outputs. Cloudflare now runs a mirror Zone Builder that reads the production event stream, writes to a separate Quicksilver environment with no customer traffic, and compares a 20% sample of zones against production for key differences. The team rolled the scheduler out to free zones before paid zones.
Running the new path beside the old one and comparing results is a change-management habit any infrastructure team can borrow.
Cloudflare proves each targeted build matches a full build and keeps a mirror pipeline checking the results. Its largest zones rely on manual rebuilds for rare edge cases.
The published gains end at Quicksilver, and your team controls the rest of the path
Full builds fell by about 40%, and the largest p99 delay spike dropped from 14.6 minutes to 1.21 minutes. After moving to more precise measurement, Cloudflare reports p90 build delay of about 5.5 seconds and p99 of about 12 seconds (Cloudflare, 2026).
Cloudflare measures build delay from the record or setting change until the Zone Builder finishes writing to Quicksilver, so the figures exclude Quicksilver's distribution to the edge. Resolvers then keep serving cached answers until the time-to-live value on each record expires. Your team sets those values, and your team can time the full path.
The per-zone rebuild interval deserves a line in your vendor review. After a zone builds, its next build waits for an interval that varies by Cloudflare plan, and the post does not publish the values.
Cloudflare shortened that interval on most plans after builds became cheaper.
If your incident runbook pushes several record changes in quick succession, ask Cloudflare for the interval on your plan. Fattouche also wrote that the team will keep moving more event types to targeted builds as it learns what each event changes.
Your disaster recovery plan assumes a DNS change reaches users within a set number of seconds. Who on your team can name that number, and where did it come from?
This quarter, ask your DNS provider for its p99 time from an API change to an answer at the edge, for a zone your size on your plan tier. Then change a low-risk failover record during business hours and time it yourself, end to end. If the two numbers disagree, update the runbook before your next failover.
Cloudflare. "How We Halved DNS Build Delay and Cut Memory Use by 85%." The Cloudflare Blog, 2 Nov. 2026, blog.cloudflare.com/dns-targeted-zone-builds/.
Cloudflare. "How We Improved DNS Record Build Speed by More than 4,000x." The Cloudflare Blog, 2022, blog.cloudflare.com/dns-build-improvement/.
