Back to Articles

DNS and Network Redundancy: Designing for the Failures You Haven't Had Yet

Contents

Where the Single Points of Failure Actually Are

Server-level HA gets budget and attention because it's visible in the architecture diagram. These don't, and they're just as real:

  • One DNS provider. If every domain's authoritative records live with a single provider, that provider's outage is your outage — regardless of how redundant everything behind it is. A major DNS provider's 2016 outage (a DDoS attack against Dyn) took a long list of well-known, well-architected sites offline for hours, not because those sites had bad server redundancy, but because they had none at the DNS layer.
  • One upstream ISP. A single uplink means the provider's outage, a fiber cut on their path, or a mistake upstream of you in BGP — the protocol by which networks advertise to each other which blocks of addresses they can reach — is a total outage no amount of server-side HA fixes.
  • One edge device. The firewall, router, or SD-WAN appliance that everything routes through — covered at the device level in the companion article on high-availability infrastructure, but worth naming here because it sits on the same critical path as the provider and DNS layers.

The pattern across all three: redundancy inside your datacenter protects you from a failure inside your datacenter, and none of it protects you from a failure in the layer above it. This article is about that layer — and the shape of the problem is easier to see than to describe: a client needs a working DNS lookup and a working network path, and today, each of those is usually just one thing.

Today — one path, two single points of failure
Client DNS Provider ISP Origin ! !

Lose the DNS provider or the ISP, and the site is unreachable — regardless of how healthy the server behind them is.

Redundant — either backup keeps you reachable
Client DNS A DNS B ISP A ISP B Origin

Losing one DNS provider and one ISP at the same time still leaves a working path through the other two.

DNS Redundancy: Secondary and Multi-Provider

Two patterns close the single-DNS-provider gap, and they solve slightly different problems:

  • Secondary DNS (same records, a backup authoritative server). A primary DNS server holds the zone as the source of truth, and one or more secondary servers pull a copy via zone transfer (AXFR for a full transfer, IXFR for incremental updates)[1], then answer queries for the same zone independently. If the primary becomes unreachable, the secondaries keep answering with the last-transferred data. This is the traditional pattern and is still what many registrars and DNS providers support natively.
  • Multi-provider (two independent DNS providers, both authoritative). Rather than primary/secondary within one architecture, delegate the zone's NS records to two unrelated providers (for example, a mix of a cloud DNS service and an independent DNS provider), each running its own infrastructure end to end. This is the stronger guarantee, because it removes the shared-infrastructure risk that a primary/secondary pair on the same platform doesn't — if one provider's entire platform has an outage, the other's is unaffected.

The operational cost of multi-provider is real: records now have to be kept in sync across two platforms (either manually, via each provider's API, or via a third-party DNS management tool that pushes to both), and every DNS feature you use (health-checked failover records, DNSSEC) has to be verified as working the same way on both providers. That cost is why multi-provider DNS is typically reserved for domains where a DNS outage is a business-critical event, not applied universally across every zone an organization owns.

Anycast and Global Server Load Balancing

Once DNS itself is redundant, the next question is which endpoint DNS sends a client to — and that's where anycast and GSLB (Global Server Load Balancing) come in:

  • Anycast. The same IP address is announced from multiple physical locations via BGP[2], and network routing sends each client to the topologically nearest announcing location. This is how most major DNS providers and CDNs achieve both low latency and resilience[5] — a location going dark simply stops being routable, and traffic shifts to the next-nearest one, without any DNS change or client-side action required. Anycast is infrastructure you typically buy from a provider rather than build yourself; running your own anycast network means becoming a piece of the internet's routing fabric in your own right — an AS number (the identifier that marks you as an independent network in BGP), your own block of IP addresses that isn't borrowed from an ISP, and a BGP peering session with a provider at every site you announce from.
  • GSLB. A DNS-layer mechanism (Amazon Route 53 routing policies[3], Azure Traffic Manager[4], F5 DNS, and similar) that returns different answers to the same query based on the client's location, the health of each regional endpoint, or a weighted policy — directing users to the nearest or healthiest region. Unlike anycast, GSLB works by choosing which IP to hand back in the DNS response, so it's subject to the TTL and caching behavior covered in the next section.

The two compose well: anycast for the DNS resolution layer itself (so DNS queries reach a healthy nameserver location), and GSLB for directing application traffic to the healthiest regional deployment behind it.

Network Path Redundancy: Dual ISP, BGP, and SD-WAN

Redundant DNS doesn't help if the network path underneath it has only one way out. Two shapes cover most sites:

BGP MultihomingSD-WAN / Simple Dual-WAN
What it requiresYour own ASN, provider-independent (PI) IP space, a router that speaks BGP, and a peering relationship with each ISPTwo internet connections and an edge device or appliance that can fail over or load-share between them
Failover granularityFull control — you announce your own routes and can steer traffic per-prefixCoarser — the appliance decides, typically based on link health, not per-destination routing policy
Operational complexityHigh — BGP is unforgiving of misconfiguration, and you're now part of the internet's routing fabricLower — closer to a networking appliance than a routing protocol to operate
Best fitSites that need address-space independence from any single ISP, or that run their own services that must stay reachable on a stable IP regardless of providerMost branch and mid-size sites — the pragmatic default when you don't need to own your own address space

The honest read: BGP multihoming is the textbook answer and the one large enterprises with a real network team run, but it's a genuine operational commitment — a misconfigured BGP session can affect routing beyond your own network, not just take you offline. For most mid-size sites, a dual-ISP SD-WAN or router-based failover setup gets the bulk of the resilience — surviving one provider's outage — without the ASN, the PI space application, or the ongoing BGP operational burden.

DNS TTLs and Failover: What DNS Can and Can't Do Fast

DNS-based failover — pointing a record at a healthy endpoint after a health check fails — is a common and useful pattern, and it has a hard ceiling that catches teams who haven't hit it yet: the TTL (time to live) on the record determines how long resolvers and clients keep using the old, possibly-dead answer.

A short TTL (30–60 seconds) makes failover fast in principle, but three things blunt it in practice: some resolvers and client stacks cache longer than the TTL says (or ignore it outright), a client that already has an open connection to the old IP won't re-resolve until that connection fails, and a very short TTL on a high-traffic domain meaningfully increases query volume and cost. The realistic expectation for DNS-based failover, done well, is failover measured in low minutes for most clients — not the sub-second failover a load balancer or anycast can provide. Treat DNS as one layer of a failover story, not the whole story: pair a short-TTL, health-checked record with a network layer (anycast, a load balancer with its own HA) that can fail over faster, and use DNS for the changes that genuinely need to redirect traffic to a different location entirely.

A Worked Example: Dual-Provider DNS and Dual-ISP

The shape of standing up both layers for a mid-size site — the sequence and the checks, not vendor-specific clicks, since the exact console steps vary by provider.

  1. Pick two independent DNS providers. Independent means different infrastructure end to end — not two accounts on the same platform. Confirm both support the record types and health-check features your zone actually uses before committing.
  2. Delegate the zone to both. At the registrar, set the NS records to include nameservers from both providers. Keep the zone's records synchronized — either through a DNS management layer that pushes to both, or a documented manual process with a checklist, because a sync gap here is a silent split-brain that only shows up when one provider's records go stale.
  3. Verify both are actually answering. Query each provider's nameservers directly, not just the domain, to confirm they hold current records independently:
# Query each provider's nameserver directly for the zone
dig @ns1.provider-a.example example.com A
dig @ns1.provider-b.example example.com A

# Confirm both return the same, current answer
  1. Provision the second internet connection. A different physical path where possible — a different ISP, ideally entering the building through different infrastructure than the primary, so a single fiber cut can't take both down.
  2. Configure the failover policy on the edge device. Active-passive (simplest, clearest to reason about during an incident) or active-active (better utilization, more coordination to get right) — pick based on your team's operational comfort, not on which sounds more impressive in a diagram.

Confirm your registrar and provider support the pattern before you commit. Not every registrar allows NS delegation to arbitrary third-party providers cleanly, and not every DNS provider's health-check and failover feature set matches another's — a feature you rely on with provider A may not exist on provider B. Verify the specific feature parity you need against both providers' current documentation before the architecture depends on it.

Testing Redundancy (Because Untested Redundancy Isn't)

The same rule that applies to every other kind of failover applies here, and it's the step most sites skip because it feels riskier than leaving well enough alone: redundancy you haven't tested is a design, not a capability. On a schedule, and in a controlled window:

  • Disable one DNS provider (or simulate it by making its nameservers unreachable from a test vantage point) and confirm resolution still succeeds via the other, and measure how long it actually took for your own monitoring to notice.
  • Fail the primary internet connection at the edge device and confirm the secondary picks up traffic, and measure the real-world gap — not the vendor's claimed failover time.
  • Let a health check fail on a GSLB-fronted endpoint and confirm traffic actually shifts to the healthy region, end to end, not just in the provider's dashboard.

Each test answers a question a diagram can't: not "is this redundant," but "how long does the redundancy actually take to kick in, and does anyone notice before a customer does." Run it quarterly, and treat a test that reveals a gap as a finding, not a failure of the test.

When Redundancy Is More Than You Need

Not every site needs both layers fully built out:

  1. A single-site business with a documented, accepted RTO. The RTO — recovery time objective — is just the longest outage the business has agreed in advance that it can absorb. If an hour of downtime during a rare provider outage genuinely sits inside that number — written down, agreed to, not just assumed — a single ISP and a single DNS provider with good support may be the right-sized answer. The failure mode to avoid is not designing for this deliberately, and discovering the acceptance was never actually made.
  2. BGP multihoming for a site that doesn't need address independence. If you're not running services that must stay reachable on a stable IP regardless of provider, and a simpler dual-WAN failover would recover from the same failures, the ASN and the ongoing BGP operational burden are cost without a matching benefit.
  3. Anycast you buy but never verify. Paying for an anycast-backed DNS or CDN service and never confirming it actually improves your resilience (via the testing above) is redundancy theater — you're paying for the architecture diagram, not the outcome.

Rule of Thumb: Price each layer of redundancy against the cost of the outage it prevents, in the units your business actually measures — revenue per hour, support tickets per outage, the reputational cost of a well-known site being visibly down. Multi-provider DNS and dual-ISP are proportionate the moment an hour of unplanned downtime costs more than the ongoing cost of the redundancy; below that line, a single well-supported provider on each layer, with a documented and accepted RTO, is the honest right size.


References

  1. IETF — RFC 1035, "Domain Names — Implementation and Specification": the DNS protocol, zone transfers, and TTL semantics. IETF, current.
  2. IETF — RFC 4271, "A Border Gateway Protocol 4 (BGP-4)": the routing protocol behind multihoming and anycast announcement. IETF, current.
  3. Amazon Web Services — "Amazon Route 53" documentation: routing policies, health checks, and DNS failover configuration. AWS Documentation, current.
  4. Microsoft — "Azure Traffic Manager" documentation: DNS-based traffic routing methods and endpoint health monitoring. Microsoft Learn, current.
  5. Cloudflare — "What is Anycast DNS?" and related network architecture documentation: anycast routing fundamentals. Cloudflare Learning Center, current.
← Back to Articles ← Previous: Load Balancing Architecture Next: Secrets Management →