Interview Prep/Networking/DNS & Service Discovery

Your DNS provider has an outage and your site is unreachable. How do you design to survive that?

AdvancedScenarioDNS & Service Discovery
Answer

Situation read → DNS is a global single point of failure unless you plan multi-provider.

What I'd do →

  1. Run two authoritative providers (for example Route 53 and NS1 or Cloudflare) and publish both sets of NS records
  2. Keep zones in sync with octodns or dnscontrol from Git
  3. Keep TTL on NS and critical records reasonable (hours, not seconds) so resolvers keep answers during an outage
  4. Monitor from outside with synthetic checks against each provider
  5. Practice a drill

Why → Resolvers will fall through to the second provider's nameservers if the first stops answering.

Interview tip → Mention dnscontrol, with zone files as code reviewed through PRs.

All Networking questions Roadmap: Networking for DevOps

More on DNS & Service Discovery