How would you design DNS for high availability?
AdvancedProductionDNS & Traffic Management in Production
Answer
Two independent authoritative providers (for example Route 53 and Cloudflare) with the same zone pushed by octoDNS or Terraform, NS records at the registrar listing both, registrar lock enabled, DNSSEC handled carefully across providers, and external monitoring from multiple networks.
Mind features that do not sync across providers (alias records, health-check-based routing). Test by blackholing one provider in a game day.
More on DNS & Traffic Management in Production
What TTL values do you choose for production records?BeginnerHow do you manage DNS as code?BeginnerHow do you do a zero-downtime DNS cutover?IntermediateWhy does DNS failover take longer than expected, and how do you make it faster?AdvancedHow do Route 53 health checks work and what are their pitfalls?IntermediateHow do you run internal service DNS across multiple VPCs and accounts?Intermediate