Technology1 min read

Probing DNS at Cloudflare

By · Published by Everything Blog

In short

The expanded framework adapts Cloudflare's HTTP testing system, which already executes hundreds of millions of checks daily, to identify distributed and partial DNS failures. Engineers deploy the lightweight tooling across bare-metal servers using a dedicated domain-specific language designed with a setup-request-response format. This setup ensures predictable performance under resource constraints while minimizing script debugging during outages. The resulting propagation data directly prevents delayed hostname resolutions and blocked certificate issuances during edge software releases.

Key points

  • Continuous DNS propagation measurements from every data center now determine whether soft…: Continuous DNS propagation measurements from every data center now determine whether software rollouts proceed or roll back.
  • A custom domain-specific language simplifies test authoring and prevents engineers from n…: A custom domain-specific language simplifies test authoring and prevents engineers from needing to debug the test scripts themselves.
  • Modular architecture allowed the HTTP-focused Flamingo framework to expand into catching…: Modular architecture allowed the HTTP-focused Flamingo framework to expand into catching slow and partial DNS failures.

Sources checked by our analysis pipeline: 1

Imagine this: you’ve just pushed a release. All the unit tests passed and your dashboards are green. You sit back to relax but then suddenly your phone starts blowing up: prod is broken.

This is something the Cloudflare DNS team has experienced firsthand. In one rollout of the service that publishes DNS records to our edge, a scheduling bug let some record changes sit unpublished for hours. The service stayed up and was healthy, but new hostnames were slow to resolve and certificates couldn't be issued until the bug was squashed.

DNS failures are hard to catch because they are slow, spread across the network, and partial in where they cause impact. We needed to figure out a way to test DNS the way customers experience it: constantly, from every data center, and against production.

For us, the answer was to extend Flamingo, the end-to-end testing framework we were already using to run hundreds of millions of tests a day against Cloudflare's edge. This post covers how Flamingo's modular design lets us add DNS support, how we measure propagation, and…

Technology