Cloudflare extends its Flamingo testing framework to probe DNS propagation
in plain words
Cloudflare is a company that runs a large network of computers around the world. Its engineers built a testing tool called Flamingo and changed it so it can check how quickly website name changes reach every server. This helps them catch problems before a software update goes live to customers.
Full summary
Cloudflare’s DNS Domain Name System The internet's directory that links domain names to computer addresses. Full definition of DNS team reports that a scheduling bug in one rollout of the service that publishes DNS record One entry in a DNS zone, made of a name, a type, a TTL and data. Full definition of DNS record to its edge left some record changes unpublished for hours. The service stayed up and healthy, but new hostnames were slow to resolve and certificates could not be issued until the bug was fixed.
The company says DNS failures are hard to catch because they are slow, spread across the network, and only partly affect service. To test DNS the way customers experience it, Cloudflare decided to extend Flamingo, its end-to-end testing framework, which already runs hundreds of millions of tests a day against its edge.
Flamingo was first built around multi-step HTTP testing. Cloudflare says its modular design lets teams add support for other networking protocols, and it used that design to add DNS support. The framework includes a control plane and scheduler that target specific environments, data centers or shares of servers, and it is designed to run on bare-metal servers with predictable performance.
To keep tests easy to maintain, Cloudflare built Flamingo around a custom domain-specific language with a simple setup, request and response format. The company says this avoids forcing engineers to debug both the tested system and the test code when a test fails.
The approach changes the framework from one that makes HTTP requests into one that can perform any action whose outcome is measured. Cloudflare says the DNS measurements now help decide whether a release goes ahead or is rolled back.