[{"data":1,"prerenderedAt":80},["ShallowReactive",2],{"term-d\u002Fdns-failover":3,"related-d\u002Fdns-failover":60},{"id":4,"title":5,"acronym":6,"body":7,"category":40,"description":41,"difficulty":42,"extension":43,"letter":44,"meta":45,"navigation":46,"path":47,"related":48,"seo":54,"sitemap":55,"stem":58,"subcategory":6,"__hash__":59},"terms\u002Fterms\u002Fd\u002Fdns-failover.md","DNS Failover",null,{"type":8,"value":9,"toc":33},"minimark",[10,15,19,23,26,30],[11,12,14],"h2",{"id":13},"eli5-the-vibe-check","ELI5 - The Vibe Check",[16,17,18],"p",{},"DNS failover is having a health checker constantly poke your primary server, and the moment it stops answering, quietly swapping the DNS answer to point everyone at a backup instead. Since DNS is the very first step in reaching any service, this is one of the crudest but most universal ways to reroute traffic during an outage, no fancy load balancer required, just a health check and a DNS record with a short TTL.",[11,20,22],{"id":21},"real-talk","Real Talk",[16,24,25],{},"DNS failover automatically updates DNS responses to redirect traffic from a failed or unhealthy endpoint to a healthy backup, based on continuous health checks performed by the DNS provider (Route 53, Cloudflare, NS1). It requires low TTLs on the relevant records to limit how long clients cache the stale answer, and because DNS caching happens at multiple layers outside the provider's control, failover is never instantaneous, some clients keep hitting the dead endpoint until their local cache expires.",[11,27,29],{"id":28},"when-youll-hear-this","When You'll Hear This",[16,31,32],{},"\"DNS failover kicked in within 30 seconds once health checks failed three times in a row.\" \u002F \"We dropped the TTL to 60 seconds specifically to make DNS failover faster during incidents.\"",{"title":34,"searchDepth":35,"depth":35,"links":36},"",2,[37,38,39],{"id":13,"depth":35,"text":14},{"id":21,"depth":35,"text":22},{"id":28,"depth":35,"text":29},"networking","DNS failover is having a health checker constantly poke your primary server, and the moment it stops answering, quietly swapping the DNS answer to point ev...","intermediate","md","d",{},true,"\u002Fterms\u002Fd\u002Fdns-failover",[49,50,51,52,53],"Load Balancer","Anycast","BGP","Multi-Region Active-Active","Circuit Breaker",{"title":5,"description":41},{"changefreq":56,"priority":57},"weekly",0.7,"terms\u002Fd\u002Fdns-failover","LZ0QrZhEoEsXJpHl2s_Fvd_ThJhTU1QDwz45ID_WHvo",[61,66,70,74,77],{"title":50,"path":62,"acronym":6,"category":63,"difficulty":64,"description":65},"\u002Fterms\u002Fa\u002Fanycast","cloud","advanced","Anycast is a networking trick where the same IP address exists in multiple locations.",{"title":51,"path":67,"acronym":68,"category":40,"difficulty":64,"description":69},"\u002Fterms\u002Fb\u002Fbgp","Border Gateway Protocol","BGP is the protocol that lets the entire internet's independent networks tell each other 'here's how to reach me' and figure out the best path for your dat...",{"title":53,"path":71,"acronym":6,"category":72,"difficulty":42,"description":73},"\u002Fterms\u002Fc\u002Fcircuit-breaker","architecture","Circuit Breaker is like the electrical circuit breaker in your house.",{"title":49,"path":75,"acronym":6,"category":40,"difficulty":42,"description":76},"\u002Fterms\u002Fl\u002Fload-balancer","A load balancer is like a traffic cop for servers.",{"title":52,"path":78,"acronym":6,"category":72,"difficulty":64,"description":79},"\u002Fterms\u002Fm\u002Fmulti-region-active-active","Active-passive means you've got a backup region sitting idle, ready to take over if the primary region dies, kind of like a spare tire in your trunk.",1792528076216]