---
title: "Probing DNS at Cloudflare"
description: "Cloudflare extended Flamingo, its Rust-based end-to-end testing framework that runs hundreds of millions of tests a day against the production edge, with a DNS module to catch slow, partial DNS failures that unit tests and health checks miss."
url: "https://swe.quest/articles/probing-dns-at-cloudflare-ecbd543e122dda77"
canonical: "https://blog.cloudflare.com/probing-dns-at-cloudflare/"
source: "Cloudflare"
published: "2026-11-23"
difficulty: "medium"
kind: "Case study"
reading_minutes: 8
tags: ["dns","testing","sre","deployment","rust"]
---

# Probing DNS at Cloudflare

A post on [Cloudflare](https://swe.quest/sources/cloudflare.md), published 2026-11-23, 8 min read, Case study. Original: [https://blog.cloudflare.com/probing-dns-at-cloudflare/](https://blog.cloudflare.com/probing-dns-at-cloudflare/)

## Summary

Cloudflare extended Flamingo, its Rust-based end-to-end testing framework that runs hundreds of millions of tests a day against the production edge, with a DNS module to catch slow, partial DNS failures that unit tests and health checks miss. Flamingo tests use a setup-action-response DSL, and protocol support is added as modules dispatched through strongly typed Action/ActionOutput enums. Scheduling and reporting are handled by the framework. The DNS probe continuously updates a TXT record with a timestamp and queries three authoritative nameservers and 1.1.1.1 from every data center. It asserts freshness within 90s for the authoritative servers and 600s for the resolver. These results feed SLOs whose error-budget burn rates automatically decide whether a canary release is promoted or rolled back.

Written by swe.quest, not by the author.

**Difficulty:** Medium: assumes a working developer; shows how it is built or done

## Topics

- [DNS](https://swe.quest/tags/dns.md) (Infrastructure)
- [Testing](https://swe.quest/tags/testing.md) (Engineering practices)
- [SRE](https://swe.quest/tags/sre.md) (Reliability & operations)
- [Deployment](https://swe.quest/tags/deployment.md) (Reliability & operations)
- [Rust](https://swe.quest/tags/rust.md) (Languages)

## Prerequisites

- DNS resolution and TTLs ([easy posts on DNS](https://swe.quest/tags/dns.md?difficulty=easy))
- SLOs and error budgets
- Rust enums and async ([easy posts on Rust](https://swe.quest/tags/rust.md?difficulty=easy))

## Keywords

Flamingo, Cloudflare, 1.1.1.1, TXT records, synthetic monitoring

## Related posts

- [Why We Built Our Own DNS Infrastructure](https://swe.quest/articles/why-we-built-our-own-dns-infrastructure-b1c8975cd0ea6aa3.md): Replit · 2021-04-29 · Medium · 4 min read · DNS, Load balancing, Distributed systems, Go
  Replit made its repl hosting cluster-aware by running its own authoritative DNS server for \*.repl.co, which resolves each repl's domain to the proxy load balancer in the cluster hosting that repl.
- [The Case of the Recursive Resolvers](https://swe.quest/articles/the-case-of-the-recursive-resolvers-401d01cc3239f3e3.md): Slack Engineering · 2021-11-29 · Medium · 15 min read · DNS, Incidents & postmortems, Cryptography, Cloud platforms
  Slack's third attempt to enable DNSSEC on slack.com caused a 24-hour outage for under 1% of users.
- [Throwing Out The Phonebook](https://swe.quest/articles/throwing-out-the-phonebook-38542538ac98046f.md): Fly.io · 2026-11-13 · Hard · 10 min read · Networking, Linux, Distributed systems, Deployment, System design
  Fly.io rebuilt 6PN, its private IPv6 network between Fly Machines, replacing a fleet-wide eBPF map of every migrated Machine's location (hundreds of thousands of entries kept in sync from Corrosion's gossip-replicated SQLite) with lazy, on-demand routes.
- [How we halved DNS build delay and cut memory use by 85%](https://swe.quest/articles/how-we-halved-dns-build-delay-and-cut-memory-use-by-85-571d0d573d8e7634.md): Cloudflare · 2026-11-02 · Hard · 15 min read · DNS, Scaling, Queues & messaging, Performance engineering, Testing
  Cloudflare's DNS Zone Builder now uses a targeted build planner that picks the smallest provably safe build (resources only, resources plus metadata, apex plus metadata, purge, or full zone) and a unified per-zone scheduler that merges queued work.
- [Block DNS threats with Infoblox rules in Amazon Route 53 Resolver DNS Firewall](https://swe.quest/articles/block-dns-threats-with-infoblox-rules-in-amazon-route-53-resolver-dns-firewall-a59d15a81fb7a72a.md): AWS Architecture Blog · 2026-11-18 · Medium · 10 min read · DNS, Threat detection, Cloud platforms, Security
  Infoblox Threat Defense is now in preview as a partner-managed rule in Amazon Route 53 Resolver DNS Firewall, so VPC workloads get Infoblox-maintained domain threat intelligence (Critical through Informational risk categories) without managing domain lists, billed through AWS Marketplace.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
