MC-BARS.COMDomains · SSL · HTTPS · Guides
News / DNS and Hosting
DNS and Hosting

Cloudflare sped up DNS change processing and reduced memory usage

Cloudflare described a redesign of its internal DNS zone build system: partial updates replaced many full rebuilds. The November 5 overview explains how this benefits domain names and the infrastructure of large websites.

Original source: Cloudflare Blog — How we halved DNS build delay and cut memory use by 85% · Original date: 2026-11-02 · Overview published: 2026-11-05
Illustration on DNS and Hosting

What happens after a DNS record is changed

When an administrator changes an A, CNAME, or TXT record, the update still needs to be prepared for authoritative DNS servers. To do this, cloud infrastructure converts the zone state into a format that can be distributed across network nodes. Cloudflare described this stage as a zone build. Previously, some changes to service parameters led to the entire zone being rebuilt, even when they affected only a small portion of the data. For a small project, this is almost unnoticeable, but in zones with millions of records, the extra work increased latency and memory consumption. That is why the company’s engineers changed how the build method is selected.

Partial builds instead of full recalculations

According to Cloudflare’s technical post dated November 2, the new system analyzes the type of event and tries to update only the resources associated with it. If a single record changes, there is no need to scan the other millions of records again. Based on observations over a 24-hour period, about 92.95% of builds did not require a full zone rebuild, while the share of truly full builds was approximately 7.04%. The company reports that the number of full builds has decreased by about 40% compared with the previous approach. A full recalculation is still necessary in some cases, for example, when a zone is first published or when a parameter that affects all records is changed.

How performance metrics changed

Cloudflare’s internal measurements show a significant reduction in memory consumption. The application’s average working set decreased from approximately 49 to 7 GiB, or about 86%; peak usage fell from 79 to 12 GiB. The company also reports that the average latency for preparing changes was cut roughly in half. These figures apply to the internal Zone Builder component, not to webpage loading speed for each customer. The new system does not guarantee that DNS changes will instantly appear in all caching resolvers: TTL, caching, and other infrastructure components still affect the user experience.

Why DNS is becoming more complex

The number of events processed by Cloudflare’s system has grown compared with 2022. The technical article gives an estimate of about 700 record changes per second, plus around a hundred other types of events, such as changes to zone settings. Some large zones contain more than twenty million records. If all the data is reread after every such operation, resources are wasted. Partial builds help scale the system without a proportional increase in memory and load. The engineering challenge, however, is not just to make the process faster, but also to correctly identify dependencies: if an event affects the entire zone, a local update would be dangerous.

What domain owners should consider

For website owners, the practical takeaway is that DNS reliability depends not only on server locations, but also on the software that processes updates. When transferring a domain, setting up email, or issuing an SSL certificate, it is important to check the resulting records and account for caching time. Even if a provider has sped up its internal system, an incorrect TXT or MX record will not fix itself. For important projects, it is worth documenting changes, maintaining backup settings, and avoiding unnecessary edits during a migration. Cloudflare’s post appeared on November 2, 2026; the MC-BARS.COM overview is dated November 5 so as not to conflate the date of the event with the date of editorial processing.

All news

IP Geolocation by DB-IP