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 →
- Run two authoritative providers (for example Route 53 and NS1 or Cloudflare) and publish both sets of NS records
- Keep zones in sync with
octodnsordnscontrolfrom Git - Keep TTL on NS and critical records reasonable (hours, not seconds) so resolvers keep answers during an outage
- Monitor from outside with synthetic checks against each provider
- 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.
More on DNS & Service Discovery
A customer types www.example.com in a browser. Walk through how DNS resolves it.BeginnerWhat is the difference between an A record and a CNAME, and when do you use each?BeginnerWhy can't you put a CNAME at the zone apex, and what do you use instead?BeginnerYou are moving a site to a new server. What do you do with DNS to make the cutover smooth?BeginnerHow do you find which nameservers are authoritative for a domain and query them directly?BeginnerWhat DNS records do you set up for company email?Beginner