Join our Newsletter — 33% off our NHI Course
Home› Guides› DNS and CDN Provider Outage Resilience: Multi-Provider DNS,…
Guide Resilience & Recovery

DNS and CDN Provider Outage Resilience: Multi-Provider DNS, Failover and Trade-offs

PDF for newsletter subscribers · free to read online

← All guides
By NHI Mgmt Group, under the editorial direction of Lalit Choda Updated 27 November 2026 13 min read
On this page

When your authoritative DNS or CDN provider goes down, every service behind your domain can disappear at once, however healthy your own servers are. DNS and CDN sit in front of everything else, so a single provider is a single point of failure that in-house redundancy cannot fix. This guide covers multi-provider authoritative DNS, keeping zones in sync, CDN failover, TTL choices, DNSSEC with more than one provider, and the runbook for switching. It is written for infrastructure, SRE and resilience leads, and is honest about the cost each option adds. For the wider DNS control set, see the DNS Security Guide.

Key takeaways

  • Resolvers already fail over for you. Recursive resolvers try the other name servers in your NS set, so serving one zone from two independent providers at the same time is the strongest protection against an authoritative DNS outage.
  • Sync is the real cost. Primary and secondary with zone transfer is simple and consistent; two independently managed primaries need tooling that pushes every change to both and checks they match.
  • DNSSEC changes the design. If both providers sign, you need an RFC 8901 multi-signer model with a shared algorithm and cross-imported keys; otherwise sign once and transfer the signed zone.
  • The registrar and parent NS set are the hidden dependency. A provider that is not already in the parent delegation is not a fast fallback, because parent-side NS records are cached for hours or days.
  • A failover you have not rehearsed is a hope. Withdraw one provider on purpose, measure from outside, and keep a written runbook with owners and rollback steps.

Why provider outages matter

A provider failure, whether from a faulty configuration push, a software defect or a denial of service attack (ATT&CK T1498 Network Denial of Service), takes out every customer whose names point only at that provider. Applications may be running normally, but clients cannot resolve the name or reach the edge, so to users the outage is total.

  • Blast radius: websites, APIs, email delivery (MX lookups), single sign-on redirects and machine-to-machine calls fail together. Service accounts and agents calling your APIs by name fail at the same moment as users.
  • Caching cuts both ways: cached answers keep some clients working through a short outage, but long TTLs also keep clients pointed at a dead CDN after you switch.
  • Change paths share the failure: if the provider's portal and API are down, you cannot edit records there. Any plan that needs changes at the failed provider will not work.

RFC 2182 (BCP 16) recommends name servers at geographically distant sites with diverse network paths, so a routing fault within one provider cannot make all of them unreachable. It also warns that a compromised secondary can affect the security of hosts in the domain, so a second provider is a supplier risk decision as well as an availability one. The Cloud Region Outage Resilience guide covers the equivalent analysis at the compute layer.

Single vs multi-provider DNS

ModelHow it worksComplexity and costSyncDNSSEC
Single providerOne provider hosts the zone on its anycast networkLowestNone neededProvider signs; simplest
Primary plus secondary providerA primary sends the zone to a second provider by AXFR/IXFR, triggered by NOTIFY; both are in the NS setMedium; two subscriptionsAutomatic, tracked by SOA serialSign once, transfer the signed zone
Hidden primary, two public providersAn unlisted primary you control feeds both providers as secondariesMedium; you run the primarySingle source of truthSign at the hidden primary or an inline signer
Multi-primary, unsignedYour pipeline writes every change to both providers' APIsMedium to high; toolingYour responsibility; drift is the main riskNot applicable
Multi-signer (RFC 8901)Each provider signs with its own keys and serves as a primaryHigh; providers must support key importAPI push plus DNSKEY coordinationModel 1 or Model 2 key sharing

Choosing: zone transfer is the default when both providers support standard AXFR/IXFR. RFC 8901 explains why it is not always possible: a provider may sign online, or you may rely on nonstandard features such as geographic or health-checked answers that do not transfer. Decide whether you need those features on the fallback path at all; a plainer zone at the second provider is often acceptable during an outage.

Small vs large: a small organisation can accept one well-run provider plus a tested procedure to move to a pre-provisioned second provider, accepting the delay set by parent NS caching. A large or regulated organisation should run both providers live in the delegation all the time.

Registrar and NS record dependency

  • Parent NS caching: resolvers find your name servers through delegation records in the parent zone, whose TTL is set by the registry, not by you. Adding a provider during an outage takes effect only as those caches expire. Check the value for each TLD you use; see DNS Investigation with dig and nslookup.
  • Parent and child must match: RFC 1912 advises keeping the parent's NS records the same as those in your zone. A listed server that does not serve the zone is a lame delegation, causing timeouts.
  • NS count: RFC 1912 suggests about seven NS records or fewer to avoid oversized UDP responses. Two providers with four servers each already exceeds that.
  • Registrar access is recovery-critical: use phishing-resistant MFA, named administrators, registry lock where offered, and contact addresses outside the domain. Treat registrar and DNS API tokens as privileged non-human identities. See the Domain Registrar Compromise Playbook.

Keeping zones in sync

Every multi-provider design fails the same way when zones drift: one provider returns an old address, and users get different results depending on which server their resolver picks.

  • Transfers: use NOTIFY (RFC 1996), IXFR (RFC 1995) and AXFR (RFC 5936), authenticated with TSIG (RFC 8945). RFC 9103 adds zone transfer over TLS (XoT), on port 853 by default; it notes TSIG adds no confidentiality and prefers mutual TLS where one method is used.
  • SOA expire: RFC 1912 suggests refresh of 20 minutes to 2 hours and expire of 2 to 4 weeks. Expire is how long a secondary keeps serving without reaching the primary; a short value turns a primary outage into a secondary outage.
  • Serials: RFC 2182 says increment the SOA serial on every change and never decrease it. Alert when providers report different serials.
  • Many zones: catalog zones (RFC 9432, Standards Track) provision zones on secondaries through normal zone transfer. RFC 9432 warns that a faulty update, such as an empty catalog from a broken script, could remove many zones at once: gate catalog changes like code.
  • API push: keep the zone as code, let one pipeline write to both providers, block console edits with permissions, and compare every record set at both providers on a schedule. Scope and rotate the pipeline's tokens; see the Secrets Management Guide.

CDN failover options

A CDN outage is harder than a DNS outage because hostnames point at the CDN, TLS terminates there, and controls such as WAF and bot management run there.

OptionProtects againstTrade-offs
Origin failover inside one CDNFailure of your origin onlyCheap, but useless if the CDN itself is down. For example, Amazon CloudFront origin groups fail over only GET, HEAD and OPTIONS requests, and by default try the primary for up to 30 seconds first
DNS steering to a second CDN (active-passive)Full outage of one CDNNeeds certificates, cache and security rules in place at the second CDN; switch speed depends on the steering record's TTL
Multi-CDN active-activeOutage or degradation of either CDNHighest cost and parity effort; the steering layer becomes the critical dependency
Bypass to originCDN outage with no second CDNExposes origin to load and DDoS without edge protection
  • Certificates and CAA: issue certificates at both CDNs in advance and make sure CAA records allow both CDNs' certificate authorities.
  • Security parity: WAF rules, rate limits and origin access controls must exist on the fallback path. See the CDN Security Guide and DDoS Protection Guide.
  • Origin allow-lists: if the origin accepts only one CDN's addresses or signed headers, failover produces 403 errors.
  • Steering location: never host the steering record only on the CDN it is meant to route around. Put it on your multi-provider DNS.

TTL and failover timing

RecordApproachReasoning
NS records and name server addressesLong; RFC 1912 suggests 1 to 2 weeks for stable NS and name server A recordsRarely change; long caching rides out short outages
Records you may repoint (CDN CNAMEs, steering)Short, matched to your recovery time objectiveSwitch takes effect within one TTL; cost is more queries
Stable service records (MX, verification TXT)Hours or longerSurvive a provider outage from cache
Planned migrationsLower TTL, wait out the old value, change, verify, raise againThe RFC 1912 procedure; the wait is the step most often skipped

Short TTLs reduce outage protection: a 60-second record leaves caches a minute into an authoritative outage. With two live providers that is fine; with one, longer TTLs are what keeps users working. RFC 8767 serve-stale lets recursive resolvers return expired data (suggested maximum 1 to 3 days, stale answers given a 30-second TTL) when authorities are unreachable, but it is a local resolver choice that zone owners cannot request, so never design around it. Some clients, such as long-running application DNS caches, also hold answers beyond the TTL: test real clients, including your integrations.

DNSSEC with multiple providers

The DNSSEC Deployment Guide covers signing and rollovers generally; this section covers what changes with two providers.

ApproachKeysParent DSMain constraint
Single signer, signed zone transferredOne signer; secondary serves signatures unchangedOne setSecondary must serve a pre-signed zone
RFC 8901 Model 1Zone owner holds a common KSK and signs the combined DNSKEY RRset; each provider has its own ZSKsOne set, for the owner's KSKOwner imports every provider ZSK; incompatible with a combined signing key
RFC 8901 Model 2Each provider has its own KSK and ZSK and imports the others' ZSKsOne DS per provider KSKEvery key roll needs updates at the other providers; CDS and CDNSKEY cross-imported
  • All ZSKs everywhere: RFC 8901 (Informational) requires each provider's DNSKEY RRset to contain the active ZSKs of all providers, or resolvers may get signatures they cannot validate.
  • One algorithm, one denial method: providers must share a signing algorithm. Mixing NSEC and NSEC3 lets adversaries enumerate the zone through the NSEC provider.
  • Key APIs are high-value: RFC 8901 calls for strong authentication on key import and export, such as client-authenticated HTTPS, MFA or TSIG.
  • Parent automation: CDS and CDNSKEY (RFC 7344) are polled by the parental agent, so both providers must publish the same set.
  • Removing a provider: withdraw its NS records first and remove its keys and DS only after those records age out, or validating resolvers return SERVFAIL. Misaligned keys fail at both providers, which is worse than losing one.

Testing and runbooks

Phased implementation

  1. Inventory: every zone, provider, registrar, provider-specific feature, DNSSEC status and CDN dependency, with named admins.
  2. Stand up the second provider undelegated: load the zone, query it directly and compare every record for at least a week of normal changes.
  3. Coordinate DNSSEC keys before the new provider reaches the parent delegation.
  4. Delegate: add the provider to the zone NS set and at the registrar; watch error rates and query share per provider.
  5. Prepare the CDN fallback: certificates, security rules, origin access and a short-TTL steering record.
  6. Rollback: remove the provider from the parent and zone NS sets, wait out the parent TTL, then remove its keys and DS.

Runbook for switching

  1. Confirm: query each provider's servers directly from two or more external networks; trust your measurements over a status page.
  2. Decide: the incident lead decides against pre-agreed criteria, and scripted automation executes, to avoid failing over on a false alarm.
  3. DNS, both providers live: usually no action. Remove the failed provider from the NS set only if it is returning wrong data rather than timing out.
  4. DNS, standby provider: change the delegation at the registrar and update the zone NS set; tell stakeholders recovery depends on cache expiry.
  5. CDN: repoint the steering record, confirm certificates and WAF are active, and watch origin load.
  6. Freeze and return: stop non-essential record changes; restore normal routing only after sync checks pass, then request the provider's post-incident report.

Rehearse at least twice a year in a production-like test zone, and keep owners current through the Business Continuity Plan Template.

Detection and measurement

  • Monitor: probe each provider's servers directly from several regions for timeouts, SERVFAIL and answers that differ between providers; alert on serial mismatch, missing DNSKEYs and signatures near expiry; log and alert on any NS, DS or glue change made outside the pipeline. See the DNS Logging and Detection Guide.
  • KPI: percentage of critical zones live on two independent providers.
  • KPI: drift incidents per month between providers.
  • KPI: time from failover decision to 95% of probes reaching the fallback path, against target RTO.
  • KPI: days since the last successful rehearsal, per zone.

Framework mapping

FrameworkReferenceRelevance
NIST SP 800-53 Rev 5SC-22 Architecture and Provisioning for Name/Address Resolution ServiceFault-tolerant, diverse name service
NIST SP 800-53 Rev 5SC-20 Secure Name/Address Resolution Service (Authoritative Source)Valid DNSSEC across providers
NIST SP 800-53 Rev 5CP-2 Contingency Plan; CP-10 System Recovery and Reconstitution; SC-5 Denial-of-service ProtectionRunbook, rehearsal, DoS resilience
NIST CSF 2.0PR.IR-03; ID.AM-04; GV.SC-07; RC.RP-01Resilience mechanisms, supplier inventory and risk, recovery execution

Common failure patterns

  • Standby configured but not delegated: recovery waits on a registrar change and parent caching.
  • Silent drift: a console edit at one provider is never copied to the other.
  • Misaligned DNSSEC keys: one provider rolls a ZSK the other never imports, and validation fails intermittently.
  • Short SOA expire: the hidden primary is down for a weekend and secondaries stop answering.
  • Fallback without controls: failover drops the WAF and DDoS protection, turning an availability incident into a security one.

Practitioner checklist

  • Serve each critical zone from two independent providers, both in the live parent delegation.
  • Prefer zone transfer with NOTIFY, IXFR and TSIG or XoT; set SOA expire in weeks.
  • Manage multi-primary zones as code with drift checks at both providers.
  • For signed zones, use a single signer or an RFC 8901 model with one algorithm and one denial method.
  • Protect registrar and DNS accounts and tokens with MFA, registry lock and least privilege.
  • Pre-provision certificates, WAF rules and origin access at the fallback CDN; host steering on multi-provider DNS.
  • Use short TTLs only on records you will repoint.
  • Rehearse provider withdrawal and CDN failover twice a year and record timings.

Standards and references

Related NHI Mgmt Group resources: DNS Security Guide · DNSSEC Deployment Guide · Cloud Region Outage Resilience · CDN Security Guide · Major IT Outage Lessons Guide

PDF for subscribers

Take this guide with you

Every section, table and checklist in one PDF, with links to the sources and related guides. Subscribe to our weekly NHI & AI Identity Journal and we’ll email you a download link.

Free weekly newsletter

Subscribe to the NHI & AI Identity Journal

The latest on NHI and Agentic AI security – articles, research, breaches, news and events every week.

Bonus 33% off our NHI Course when you subscribe.

PDF Downloads for Newsletter Subscribers

Get the guide

Enter your details and we’ll email you a download link.

The full guide is free to read online. The PDF is a thank you for subscribing.

Fill in all fields marked * and tick both boxes to continue.