Meta Global BGP + DNS Outage — Backbone Self-Disconnection Takes Facebook, Instagram & WhatsApp Offline Worldwide
Summary
On 4 October 2021 a single command issued during routine backbone maintenance — intended only to assess global backbone capacity — unintentionally took down every connection in Facebook's backbone, completely severing all of its data centers from the internet. With the backbone gone, Facebook's DNS-serving locations followed their designed safety behavior and declared themselves unhealthy, withdrawing the BGP route advertisements for the authoritative nameservers. That withdrawal pulled Facebook's DNS off the global internet: recursive resolvers everywhere lost any path to the nameservers, so Facebook, Messenger, Instagram, WhatsApp, Mapillary and Oculus all failed simultaneously rather than degrading gracefully. Recovery was slow because primary and out-of-band network access were also down, forcing engineers to travel on-site; the intentionally hardened physical and system security of the facilities made restarting systems difficult, with recovery advancing after a team reached and reset servers at the Santa Clara, California data center. The outage ran roughly six to seven hours (15:39 UTC start to general restoration around 22:50 UTC).
- Users affected
- All users of Facebook, Messenger, Instagram, WhatsApp, Mapillary and Oculus globally (family of apps served the same withdrawn authoritative DNS); precise user count not verified in primary sources
- Duration
- 5h 49m — Outage 15:39 UTC → Cloudflare sees DNS back 21:20 and full reconnection 21:28 UTC.
- Financial
- Not verified in primary Meta or Cloudflare sources; widely-cited revenue/market-cap figures remain unsourced and are excluded here
- Scope
- SEV-1 / Global total outage (characterized by CNBC as Facebook's worst outage since 2008)
- Site
- Facebook Global Backbone / Authoritative DNS (Santa Clara data center recovery site) · Menlo Park, USA, California
- Services down
- Facebook, Messenger, Instagram, WhatsApp, Mapillary, Oculus, Internal engineering tooling, Physical badge / building access
How the defences failed
Blast radius and user impact maxed: every Meta property globally offline at once plus loss of internal tooling and badge access. Duration ~5.8 h to full reconnection on Cloudflare's timeline (other sources put full recovery up to ~7 h) is severe but bounded. Financial score is a qualitative estimate — CNBC called it the worst outage since 2008 — because specific dollar figures are not verified in the primary sources.
All 10 impact metrics
| Outage start | 15:39 UTC, 4 Oct 2021 |
| BGP routing restored | ~21:50 UTC |
| DNS services resumed | 22:05 UTC |
| General platform restoration | ~22:50 UTC |
| Total duration | ~6-7 hours (431 min, 15:39->22:50 UTC) |
| External DNS-availability window (Cloudflare vantage) | ~5.5 hours (~15:50 to ~21:20 UTC) |
| Meta properties globally unavailable | 6 (Facebook, Messenger, Instagram, WhatsApp, Mapillary, Oculus) |
| Backbone connectivity lost | 100% — complete data-center-to-internet disconnection |
| Historical scale | Worst Facebook outage since 2008 (per CNBC, via Wikipedia) |
| Published numbered COE action items | 0 (no enumerated corrective list published) |
Sequence of events
- TRIGGER During a routine backbone maintenance job a capacity-assessment command is issued that unintentionally withdraws all backbone connections between Meta data centers; Cloudflare simultaneously sees a peak of BGP routing changes leaving Facebook's network — 'That's when the trouble began.'Change owner
- CASCADE The change-audit tool that should have blocked the command fails due to a bug: 'a bug in that audit tool prevented it from properly stopping the command.'
- CASCADE The entire backbone is removed from operation, effectively disconnecting Meta's data centers globally.
- CASCADE By health-check design, DNS servers cannot reach the data centers, declare themselves unhealthy, and withdraw their BGP advertisements — a self-protective mechanism firing on a global false-positive.
- DETECTION External detection is near-immediate: Cloudflare observes the peak of routing changes as backbone connections begin dropping.Vendor / upstream provider
- IMPACT facebook.com ceases to resolve on public resolvers as authoritative nameserver prefixes become unreachable — Cloudflare's 1.1.1.1 records it 'stopped being available at around 15:50 UTC.'
- CASCADE Facebook stops announcing routes to its DNS prefixes via BGP — 'Facebook had stopped announcing the routes to their DNS prefixes,' effectively disconnecting itself from the Internet.
- CASCADE Public resolvers 1.1.1.1, 8.8.8.8 and other major resolvers begin 'issuing (and caching) SERVFAIL responses,' propagating the failure across the DNS ecosystem.
- IMPACT A global retry storm forms as clients worldwide re-query relentlessly: 'DNS resolvers worldwide handling 30x more queries than usual' — collateral load on third-party infrastructure.
- DETECTION Internal detection is crippled: 'The total loss of DNS broke many of the internal tools we'd normally use to investigate and resolve outages like this.'
- MITIGATION Remote data-center access is impossible because the networks are down; secure physical-access protocols must be activated — 'it took extra time to activate the secure access protocols needed to get people onsite.'Security responder
- MITIGATION Engineers are physically dispatched into hardened data centers to debug and restart the systems, slowed by hardware 'designed to be difficult to modify even when you have physical access to them.'Operations lead
- RECOVERY Cloudflare sees renewed BGP activity from Facebook's network (peaking 21:17 UTC) as backbone connectivity is restored on-site.
- RECOVERY Power-up is staged cautiously because data centers had power dips 'in the range of tens of megawatts' and a sudden reversal 'could put everything from electrical systems to caches at risk.'Service recovery lead
- RESTORED Facebook DNS returns to availability on Cloudflare's 1.1.1.1 ('returned at 21:20 UTC'); services progressively recover as backbone connectivity is restored, with full reconnection noted by 21:28 UTC.
- RESTORED Meta (Santosh Janardhan) publishes the detailed post-incident writeup: capacity-assessment command + audit-tool bug + DNS self-withdrawal + tooling/physical-access difficulties, following the initial 10-04 statement.Communications lead
Response by role
What each role did
Roles the sequence of events shows acting; every entry quotes its source line. Select a time to jump to it.
Role by role
Recorded actions / playbook actions per role. A role with 0 recorded actions does not appear in the sources.
No on-call responder is named; detection is credited to Cloudflare, not Meta — Meets the first alarm: on-shift technician or security in a facility, on-call engineer in a service.
On the record
No action by this role appears in the sources.
Playbook analyst guidance by failure mode, not a record of what happened
- FM-01Alarm on backbone link count and inter-data-center BGP sessions dropping together, and page the network on-callSRE incident mgmt
- FM-02Alert when a command executes without an audit-tool verdict logged for itChange management
- FM-05Declare remote access lost as soon as management sessions to the data centers time out, and dispatchITIL 4
- FM-04Exercise the incident tools with production DNS blocked, in a regular game daySRE incident mgmt
- FM-03Alarm when the count of DNS locations still advertising prefixes falls below a floorSRE incident mgmt
- FM-06Watch data-center power draw during restoration and report any step changeNFPA 110
No incident commander is named in the record — Owns every decision until formally relieved: site duty manager on scene, or the declared IC of a service incident.
On the record
No action by this role appears in the sources.
Playbook analyst guidance by failure mode, not a record of what happened
- FM-01Declare the incident and bring in network, DNS and data-center operations leads on an out-of-band channelSRE incident mgmt
- FM-02Suspend maintenance jobs that rely on the audit tool until it passes the regression testsSRE incident mgmt
- FM-05Dispatch a named engineer to each data center and hold a radio or phone link with themNIMS / ICS
- FM-04Move the incident to the out-of-band channels at once when internal tools fail to resolveSRE incident mgmtImprovement #4
- FM-03Order the DNS health-check override as an explicit decision with a named approverSRE incident mgmt
- FM-06Keep restoration blocks paced against power-team approval and tell leadership the expected paceNIMS / ICS
Meta engineer running the backbone maintenance job — not named — Authored or approved the change, deployment or configuration push that started the event.
On the record
- Issues a capacity-assessment command that withdraws all backbone connections
During a routine backbone maintenance job a capacity-assessment command is issued
Playbook analyst guidance by failure mode, not a record of what happened
- FM-01Run maintenance commands in stages, with a mandatory dry-run and a blast-radius limit so none can touch the whole backboneImprovement #1
- FM-01Declare the scope of a capacity-assessment command (read-only or not) in the change ticket before it runsChange management
- FM-02Fix the audit-tool bug and add regression tests that assert it blocks whole-backbone withdrawal commandsCorrection of errors #1
Meta engineers dispatched into the data centers to debug and restart — not named — Technical lead who diagnoses and drives the fix; the subject-matter expert at the keyboard or the switchboard.
On the record
- Go on-site to debug and restart systems, slowed by hardware hard to modify
Engineers are physically dispatched into hardened data centers to debug and restart the systems
Playbook analyst guidance by failure mode, not a record of what happened
- FM-02Test the guardrail in a canary run that deliberately issues a blocked command, before each maintenance windowChange managementImprovement #2
- FM-04Build an out-of-band control plane for diagnosis, access and comms that does not use production DNSCorrection of errors #3
- FM-03Add a global-scope guard so DNS locations cannot all withdraw their BGP advertisements at onceCorrection of errors #2
- FM-01Stop the maintenance job and freeze all further backbone changes the moment links dropChange management
- FM-03Override the health check on a subset of DNS servers so they keep advertising their prefixesSRE incident mgmtImprovement #3
- FM-06Bring load back in small blocks while the facility power team watches electrical systemsUptime OSContributing factor #6
- FM-05Restart the routers and systems on site, then hand control back to remote managementSRE incident mgmt
Meta data-center security staff activating the secure access protocols — Attack traffic, intrusion and access control: filtering, containment, forensics.
On the record
- Activates secure physical-access protocols so staff can reach the data centers
it took extra time to activate the secure access protocols needed to get people onsite
Playbook analyst guidance by failure mode, not a record of what happened
Meta engineers restoring the backbone and powering up in stages — not named — Restores customer service: failover, workload moves, capacity, backlog drain.
On the record
Playbook analyst guidance by failure mode, not a record of what happened
- FM-06Write and drill a staged power-up runbook for reversing tens-of-megawatts power dipsCorrection of errors #5
- FM-01Re-establish backbone links data center by data center, confirming each before the nextSRE incident mgmt
- FM-02Revert the withdrawn configuration from the last known-good backbone stateChange management
- FM-04Bring the internal tooling back in dependency order, DNS first, and verify each before its users returnSRE incident mgmt
- FM-03Restore BGP advertisements for DNS prefixes after the backbone reaches the data centersSRE incident mgmt
- FM-07Restore DNS gradually so returning clients do not trigger a second spikeSRE incident mgmt
- FM-06Bring caches and services back after power is stable, checking each stage firstSRE incident mgmt
Meta engineering communications, Santosh Janardhan's write-up — Status page, customer notices, regulators and press; one voice, timed updates.
On the record
- Publishes the write-up on 5 Oct, after the initial 4 Oct statement
Meta (Santosh Janardhan) publishes the detailed post-incident writeup
Playbook analyst guidance by failure mode, not a record of what happened
Cloudflare, which watched BGP and DNS from outside — Third party whose product, service or network sits in the failure path.
On the record
- Observes the routing-change peak at about 15:40 UTC, from outside Meta
Cloudflare observes the peak of routing changes as backbone connections begin dropping
Playbook analyst guidance by failure mode, not a record of what happened
- FM-07Cap retry rate and cache SERVFAIL for longer in public resolvers so a dead authority does not draw 30x queriesSRE incident mgmt
- FM-07Alarm on resolver query volume per zone to spot a failing authoritative nameserver earlySRE incident mgmt
- FM-03Confirm from an external vantage point that DNS prefixes are visible again and resolvingSRE incident mgmtLesson #6
Users and third-party resolvers of Facebook, Instagram and WhatsApp — The tenant or service user: their own redundancy, backups and continuity plan.
On the record
No action by this role appears in the sources.
Playbook analyst guidance by failure mode, not a record of what happened
- FM-07Back off retries with exponential delay in client apps when a name returns SERVFAILSRE incident mgmt
Failure mode & effects analysis (FMEA)
Meta's global backbone and the controls around a backbone maintenance command — the change-audit tool, the health-check that withdraws DNS BGP advertisements, the internal tooling and remote access that depended on the same network and DNS, physical access to hardened data centers, the staged power-up during recovery — and the public DNS resolvers that absorbed the retry storm. Analysed retrospectively from Meta's two official engineering posts, Cloudflare's external analysis and Wikipedia's timeline. Meta published no enumerated corrective-action list: its only stated commitment is a general one to strengthen testing, drills and resilience, and every specific fix in this dossier is an analyst recommendation derived from the root cause and not publicly confirmed. The general commitment cannot be mapped to a specific score change, so no revised score is claimed for any mode and all are shown as residual risk.
- Caught only after impactD ≥ 8
- 5 of 7
- Actions that cut occurrenceO lowered
- 0
- Actions that cut detectionD lowered
- 0
- Actions that cut severityblast radius unchanged
- 0
FM-01 The command unintentionally takes down every connection in the backboneBackbone maintenance command (capacity assessment) 9·6·9 486 —
- Function
- Assess the availability of global backbone capacity during routine maintenance without changing it
- Effect
- All of Meta's data centers are disconnected from each other and from the internet; Facebook, Messenger, Instagram, WhatsApp, Mapillary and Oculus fail worldwide for about six to seven hours
- Cause
- An erroneous command with backbone-wide reach issued during a routine maintenance job, with no blast-radius limit or staged execution
- Prevention in place
- A change-audit tool designed to stop commands like this (failed: see FM-02)
- Detection in place
- None before execution inside Meta; Cloudflare saw the peak of routing changes at about 15:40 UTC
- S 9
- Provider-wide outage of every Meta product with no workaround: the rubric's 9. Not 10: no hazard to people and no facility lost; the data centers were disconnected, not destroyed.
- O 6
- Backbone maintenance is routine work, and a command whose actual reach exceeds its intent is a foreseeable slip that only the (buggy) audit tool guarded: 'occasional, weakly guarded'.
- D 9
- Nothing stopped or flagged the command before it ran, and the loss of DNS then broke Meta's own investigation tools, so the event was recognised through its impact.
Corrective action
- Strengthen overall testing, drills and resilience for backbone maintenance — committed by Meta in general terms; no specific fix itemized Correction of errors #6
- Staged, blast-radius-limited execution with a mandatory dry-run for capacity-assessment commands (analyst recommendation) Improvement #1
Who acts — playbook
- Change owner Run maintenance commands in stages, with a mandatory dry-run and a blast-radius limit so none can touch the whole backboneImprovement #1
- Change owner Declare the scope of a capacity-assessment command (read-only or not) in the change ticket before it runsChange management
- First responder Alarm on backbone link count and inter-data-center BGP sessions dropping together, and page the network on-callSRE incident mgmt
- Operations lead Stop the maintenance job and freeze all further backbone changes the moment links dropChange management
- Incident commander Declare the incident and bring in network, DNS and data-center operations leads on an out-of-band channelSRE incident mgmt
- Service recovery lead Re-establish backbone links data center by data center, confirming each before the nextSRE incident mgmt
On the record at this failure
Evidence
- Sequence of events #12021-10-04 ~15:40 UTC — During a routine backbone maintenance job a capacity-assessment command is issued that unintentionally withdraws all backbone connections between Meta data centers; Cloudflare simultaneously sees a peak of BGP routing changes leaving Facebook's network — 'That's when the trouble began.'
- Sequence of events #32021-10-04 ~15:40 UTC — The entire backbone is removed from operation, effectively disconnecting Meta's data centers globally.
- Reference #2 · official-postmortem“unintentionally took down all the connections in our backbone network”
- Metric #8Backbone connectivity lost: 100% — complete data-center-to-internet disconnection
- Metric #5Total duration: ~6-7 hours (431 min, 15:39->22:50 UTC)
- Contributing factor #1Maintenance/change-control lapse: the erroneous capacity-assessment command was permitted to run against the live global backbone during a routine maintenance job — Meta: 'a command was issued with the intention to assess the availability of global backbone capacity, which unintentionally took down all the connections in our backbone network' (engineering.fb.com/2021/10/05).
- Metric #10Published numbered COE action items: 0 (no enumerated corrective list published)
FM-02 A bug in the audit tool prevents it from stopping the commandChange-audit tool 9·5·9 405 —
- Function
- Audit backbone commands before execution and stop ones that would cause an outage
- Effect
- The erroneous command reaches production unchecked and the backbone is removed from operation
- Cause
- Latent defect in the guardrail itself; no test that the tool blocks whole-backbone withdrawal is recorded
- Prevention in place
- None recorded for the tool itself
- Detection in place
- None; the bug was found only through the outage
- S 9
- The guardrail's failure is the route by which a mistaken command became a provider-wide outage, so it carries the same severity as FM-01.
- O 5
- The bug was a standing condition, but it only mattered when a dangerous command was issued; placed between 'infrequent' and 'occasional' and kept below FM-01 so the event is not counted twice at full weight.
- D 9
- No control is recorded that exercised the guardrail against this class of command, so the defect could be found only through the failure it allowed.
Corrective action
- Fix the change-audit tool bug and add regression tests that block global-scope withdrawal commands — status 'Recommended', specific fix not publicly itemized Correction of errors #1
- Fix and independently test the change-audit tool (analyst recommendation) Improvement #2
Who acts — playbook
- Change owner Fix the audit-tool bug and add regression tests that assert it blocks whole-backbone withdrawal commandsCorrection of errors #1
- Operations lead Test the guardrail in a canary run that deliberately issues a blocked command, before each maintenance windowChange managementImprovement #2
- First responder Alert when a command executes without an audit-tool verdict logged for itChange management
- Incident commander Suspend maintenance jobs that rely on the audit tool until it passes the regression testsSRE incident mgmt
- Service recovery lead Revert the withdrawn configuration from the last known-good backbone stateChange management
Evidence
- Sequence of events #22021-10-04 ~15:40 UTC — The change-audit tool that should have blocked the command fails due to a bug: 'a bug in that audit tool prevented it from properly stopping the command.'
- Contributing factor #2Defective safety guardrail: the automated audit tool meant to catch exactly this class of command was itself buggy and did not stop it — Meta: 'a bug in that audit tool prevented it from properly stopping the command' (engineering.fb.com/2021/10/05).
- Root cause“a bug in that audit tool prevented it from properly stopping the command”
FM-05 Remote access is impossible and on-site access is slowed by secure-access protocols and hardware designed to be hard to modifyRemote and physical access to hardened data centers 8·5·8 320 —
- Function
- Let engineers reach and reset backbone equipment quickly when the network is down
- Effect
- Engineers have to be dispatched on-site; it takes extra time to activate secure access, and renewed BGP activity is seen only from about 21:00 UTC, more than five hours after onset
- Cause
- Remote management rides the same network that failed; physical and system security hardening was not paired with a rehearsed break-glass path
- Prevention in place
- None recorded
- Detection in place
- Found during the incident
- S 8
- This mode sets most of the outage's duration: hours of full outage of major services is the rubric's 8.
- O 5
- Any network loss that takes remote access with it exercises the condition; the security design was deliberate and standing, so more than an unusual combination.
- D 8
- No rehearsal of on-site recovery under a total network loss is recorded; the delay was learned during the event.
Corrective action
- Pre-stage and rehearse break-glass physical-access procedures — status 'Recommended', not publicly confirmed Correction of errors #4
- Pre-stage and rehearse emergency physical-access procedures (analyst recommendation) Improvement #5
Who acts — playbook
- Security responder Pre-stage and rehearse break-glass physical access to hardened data centersCorrection of errors #4
- First responder Declare remote access lost as soon as management sessions to the data centers time out, and dispatchITIL 4
- Security responder Activate the secure access protocols for the dispatch list immediately and pre-authorise the respondersUptime OS
- Incident commander Dispatch a named engineer to each data center and hold a radio or phone link with themNIMS / ICS
- Operations lead Restart the routers and systems on site, then hand control back to remote managementSRE incident mgmt
On the record at this failure
- Security responder Activates secure physical-access protocols so staff can reach the data centers
- Operations lead Go on-site to debug and restart systems, slowed by hardware hard to modify
Evidence
- Sequence of events #112021-10-04 (during outage) — Remote data-center access is impossible because the networks are down; secure physical-access protocols must be activated — 'it took extra time to activate the secure access protocols needed to get people onsite.'
- Sequence of events #122021-10-04 (during outage) — Engineers are physically dispatched into hardened data centers to debug and restart the systems, slowed by hardware 'designed to be difficult to modify even when you have physical access to them.'
- Sequence of events #132021-10-04 ~21:00 UTC — Cloudflare sees renewed BGP activity from Facebook's network (peaking 21:17 UTC) as backbone connectivity is restored on-site.
- Contributing factor #5Physical/system security hardening impeded emergency recovery: remote access was dead and 'the hardware and routers are designed to be difficult to modify even when you have physical access to them... it took extra time to activate the secure access protocols needed to get people onsite' (engineering.fb.com/2021/10/05).
- Root cause“it took extra time to activate the secure access protocols needed to get people onsite”
FM-04 The tools depend on the production DNS that failed, so they break with itInternal diagnostic and operations tooling 7·4·8 224 —
- Function
- Let engineers investigate and resolve a production outage
- Effect
- Many of the internal tools normally used to investigate and resolve outages are unavailable, slowing diagnosis
- Cause
- Internal tooling shares the failure domain of the production DNS and backbone; no out-of-band control plane is recorded
- Prevention in place
- None recorded
- Detection in place
- Found during the incident
- S 7
- It lengthens the outage rather than causing it: a major degradation of the response, scored below the outage modes so the event is not counted twice.
- O 4
- It needs a total loss of production DNS first, which is infrequent.
- D 8
- The dependency surfaced when engineers tried to use the tools during the outage.
Corrective action
- Establish an out-of-band control plane so diagnostic, access and comms tooling survive a total production-DNS loss — status 'Recommended', not publicly confirmed Correction of errors #3
- Decouple internal tooling from the production DNS (analyst recommendation) Improvement #4
Who acts — playbook
- Operations lead Build an out-of-band control plane for diagnosis, access and comms that does not use production DNSCorrection of errors #3
- First responder Exercise the incident tools with production DNS blocked, in a regular game daySRE incident mgmt
- Incident commander Move the incident to the out-of-band channels at once when internal tools fail to resolveSRE incident mgmtImprovement #4
- Communications lead Use external channels to tell staff and users what is down, since internal tools are not reachableSRE incident mgmt
- Service recovery lead Bring the internal tooling back in dependency order, DNS first, and verify each before its users returnSRE incident mgmt
Evidence
- Sequence of events #102021-10-04 (during outage) — Internal detection is crippled: 'The total loss of DNS broke many of the internal tools we'd normally use to investigate and resolve outages like this.'
- Contributing factor #4Single-point dependency of internal tooling on the same DNS that failed: 'The total loss of DNS broke many of the internal tools we'd normally use to investigate and resolve outages like this' (engineering.fb.com/2021/10/05), crippling diagnosis and slowing response.
- Root cause“The total loss of DNS broke many of the internal tools we'd normally use to investigate and resolve outages like this”
FM-03 With the whole backbone gone, every DNS location declares itself unhealthy and withdraws at once, removing authoritative DNS from the internetDNS health-check and BGP advertisement withdrawal 9·3·8 216 —
- Function
- Route traffic around one unhealthy DNS location by withdrawing that location's BGP advertisements
- Effect
- facebook.com stops resolving on public resolvers at about 15:50 UTC; DNS prefixes are no longer announced from 15:58 UTC; every Meta property fails at once instead of degrading
- Cause
- Health-check scope is unbounded: unreachability of the data centers is treated as a local fault even when it is global
- Prevention in place
- None recorded; no minimum-anycast floor or global-scope guard
- Detection in place
- Cloudflare observed the withdrawal externally; no Meta-side control distinguished a global from a local fault
- S 9
- This is what turned a backbone fault into the disappearance of Meta's DNS from the whole internet; it carries the provider-wide severity of the event.
- O 3
- The mechanism worked as designed and only fails this way when the entire backbone is lost, which is infrequent; scored low so the single event is not triple-counted with FM-01 and FM-02.
- D 8
- The withdrawal was visible from outside at onset, but Meta's own tools were broken by it and nothing flagged that the trigger was global: detected after impact.
Corrective action
- Add a global-scope guard or minimum-anycast floor to the DNS BGP health-check — status 'Recommended (derived from root cause; not publicly confirmed)' Correction of errors #2
- Redesign the DNS-to-backbone health-check coupling (analyst recommendation) Improvement #3
Who acts — playbook
- Operations lead Add a global-scope guard so DNS locations cannot all withdraw their BGP advertisements at onceCorrection of errors #2
- First responder Alarm when the count of DNS locations still advertising prefixes falls below a floorSRE incident mgmt
- Operations lead Override the health check on a subset of DNS servers so they keep advertising their prefixesSRE incident mgmtImprovement #3
- Incident commander Order the DNS health-check override as an explicit decision with a named approverSRE incident mgmt
- Service recovery lead Restore BGP advertisements for DNS prefixes after the backbone reaches the data centersSRE incident mgmt
- Vendor / upstream provider Confirm from an external vantage point that DNS prefixes are visible again and resolvingSRE incident mgmtLesson #6
Evidence
- Sequence of events #42021-10-04 ~15:40 UTC — By health-check design, DNS servers cannot reach the data centers, declare themselves unhealthy, and withdraw their BGP advertisements — a self-protective mechanism firing on a global false-positive.
- Sequence of events #62021-10-04 ~15:50 UTC — facebook.com ceases to resolve on public resolvers as authoritative nameserver prefixes become unreachable — Cloudflare's 1.1.1.1 records it 'stopped being available at around 15:50 UTC.'
- Sequence of events #72021-10-04 15:58 UTC — Facebook stops announcing routes to its DNS prefixes via BGP — 'Facebook had stopped announcing the routes to their DNS prefixes,' effectively disconnecting itself from the Internet.
- Contributing factor #3Fragile fail-safe design coupling backbone health to DNS reachability: DNS servers auto-withdraw BGP advertisements when they cannot reach data centers, so a whole-backbone loss made every location declare itself unhealthy simultaneously — 'making these locations declare themselves unhealthy and withdraw those BGP advertisements' (engineering.fb.com/2021/10/05).
- Root cause“the safety mechanism amplified rather than contained the failure”
FM-07 Resolvers issue and cache SERVFAIL while clients worldwide retry relentlesslyPublic recursive resolvers (third-party collateral) 4·4·6 96 —
- Function
- Absorb failed lookups for an unreachable domain without overload
- Effect
- DNS resolvers worldwide handle about 30x more queries than usual, a load spike on infrastructure Meta does not own
- Cause
- Apps, browsers and clients retry in a loop when Meta's authoritative nameservers are unreachable
- Prevention in place
- None recorded
- Detection in place
- Seen at onset by resolver operators such as Cloudflare
- S 4
- The dossier records extra load, not a resolver outage: limited impact on third parties.
- O 4
- It needs a large domain's authoritative DNS to vanish, which is infrequent.
- D 6
- Resolver operators saw the storm as it formed but nothing on Meta's side could stop clients retrying: 'detected at onset, not prevented'.
Corrective action
- None published — residual risk.
Who acts — playbook
- Vendor / upstream provider Cap retry rate and cache SERVFAIL for longer in public resolvers so a dead authority does not draw 30x queriesSRE incident mgmt
- Vendor / upstream provider Alarm on resolver query volume per zone to spot a failing authoritative nameserver earlySRE incident mgmt
- Communications lead Tell third-party resolver operators and users that the outage is Meta's and not to keep retryingSRE incident mgmt
- Customer Back off retries with exponential delay in client apps when a name returns SERVFAILSRE incident mgmt
- Service recovery lead Restore DNS gradually so returning clients do not trigger a second spikeSRE incident mgmt
Evidence
- Sequence of events #82021-10-04 ~15:58 UTC — Public resolvers 1.1.1.1, 8.8.8.8 and other major resolvers begin 'issuing (and caching) SERVFAIL responses,' propagating the failure across the DNS ecosystem.
- Sequence of events #92021-10-04 (during outage) — A global retry storm forms as clients worldwide re-query relentlessly: 'DNS resolvers worldwide handling 30x more queries than usual' — collateral load on third-party infrastructure.
- Technical deep-dive“DNS resolvers worldwide handling 30x more queries than usual”
FM-06 A sudden reversal of the power dips could put electrical systems and caches at risk, so restoration has to be stagedData-center electrical systems and caches during mass restart 5·4·4 80 —
- Function
- Return tens of megawatts of load without stressing electrical systems or caches
- Effect
- Backbone and services are brought back in controlled steps, lengthening the tail of the restoration; no damage is recorded
- Cause
- Data centers reported power dips in the range of tens of megawatts while disconnected
- Prevention in place
- Operators chose a deliberate staged power-up
- Detection in place
- The power dips were reported by the data centers during the outage
- S 5
- The staging adds time to an outage already under way and is customer-visible only as a slower return: customer-visible degradation.
- O 4
- It needs a global disconnection that drops load across many sites at once, which is infrequent.
- D 4
- The risk was recognised before restoration and acted on, so 'detected before impact with time to act'.
Corrective action
- Codify and drill a staged power-up runbook — status 'Recommended', not publicly confirmed Correction of errors #5
Who acts — playbook
- Service recovery lead Write and drill a staged power-up runbook for reversing tens-of-megawatts power dipsCorrection of errors #5
- First responder Watch data-center power draw during restoration and report any step changeNFPA 110
- Operations lead Bring load back in small blocks while the facility power team watches electrical systemsUptime OSContributing factor #6
- Incident commander Keep restoration blocks paced against power-team approval and tell leadership the expected paceNIMS / ICS
- Service recovery lead Bring caches and services back after power is stable, checking each stage firstSRE incident mgmt
On the record at this failure
Evidence
- Sequence of events #142021-10-04 ~21:00 UTC — Power-up is staged cautiously because data centers had power dips 'in the range of tens of megawatts' and a sudden reversal 'could put everything from electrical systems to caches at risk.'
- Contributing factor #6Recovery risk from power swings: individual data centers were reporting 'dips in power usage in the range of tens of megawatts,' and 'suddenly reversing such a dip in power consumption could put everything from electrical systems to caches at risk' (engineering.fb.com/2021/10/05), forcing a slow staged restart.
- Technical deep-dive“suddenly reversing such a dip in power consumption could put everything from electrical systems to caches at risk”
Scoring rubric and method
Scales adapted from IEC 60812:2018 and AIAG-VDA. RPN = S × O × D. High: S ≥ 9 with O ≥ 4 or D ≥ 7, or RPN ≥ 300. Medium: RPN ≥ 120 or S ≥ 7. Severity overrides the product: 9 × 2 × 9 = 162 would otherwise hide a region-wide outage nothing could catch. Quotes are checked verbatim against this dossier; a revised score needs a published action. RZ analyst assessment, not an operator document.
Severity
| 10 | Hazard to people, or loss of the facility / several regions |
| 9 | Region-wide or provider-wide outage of a foundational service, no workaround |
| 8 | Full outage of a major service for hours |
| 7 | Major degradation of a major service |
| 6 | Partial outage confined to one zone or one service |
| 5 | Customer-visible degradation |
| 4 | Limited customer impact |
| 3 | Internal impact only |
| 2 | Negligible |
| 1 | No effect |
Occurrence
| 10 | Near certain: the cause is present in normal operation |
| 8 | Frequent: routine work exercises the cause |
| 6 | Occasional: a foreseeable slip or condition, weakly guarded |
| 4 | Infrequent: needs an unusual combination |
| 2 | Remote: guarded by design |
| 1 | Eliminated by design |
Detection
| 10 | No control could detect it |
| 9 | Detected only through customer impact |
| 8 | Detected after impact by internal monitoring |
| 6 | Detected at onset, not prevented |
| 4 | Detected before impact with time to act |
| 2 | Automated interlock almost certainly stops it |
| 1 | Certain to be stopped |
Root cause and contributing factors
Full root-cause narrative
Contributing factors by category
- Maintenance/change-control lapse: the erroneous capacity-assessment command was permitted to run against the live global backbone during a routine maintenance job — Meta: 'a command was issued with the intention to assess the availability of global backbone capacity, which unintentionally took down all the connections in our backbone network' (engineering.fb.com/2021/10/05).
- Defective safety guardrail: the automated audit tool meant to catch exactly this class of command was itself buggy and did not stop it — Meta: 'a bug in that audit tool prevented it from properly stopping the command' (engineering.fb.com/2021/10/05).
- Fragile fail-safe design coupling backbone health to DNS reachability: DNS servers auto-withdraw BGP advertisements when they cannot reach data centers, so a whole-backbone loss made every location declare itself unhealthy simultaneously — 'making these locations declare themselves unhealthy and withdraw those BGP advertisements' (engineering.fb.com/2021/10/05).
- Single-point dependency of internal tooling on the same DNS that failed: 'The total loss of DNS broke many of the internal tools we'd normally use to investigate and resolve outages like this' (engineering.fb.com/2021/10/05), crippling diagnosis and slowing response.
- Physical/system security hardening impeded emergency recovery: remote access was dead and 'the hardware and routers are designed to be difficult to modify even when you have physical access to them... it took extra time to activate the secure access protocols needed to get people onsite' (engineering.fb.com/2021/10/05).
- Recovery risk from power swings: individual data centers were reporting 'dips in power usage in the range of tens of megawatts,' and 'suddenly reversing such a dip in power consumption could put everything from electrical systems to caches at risk' (engineering.fb.com/2021/10/05), forcing a slow staged restart.
Analysis
Incident Overview
On 4 October 2021, Facebook, Instagram, WhatsApp, Messenger and Oculus went offline worldwide for roughly six hours. The cause was not a fire, hardware failure, or attack but a procedural error compounded by a broken guardrail. During routine backbone maintenance, a command intended only to assess global backbone capacity instead withdrew every backbone connection between Meta's data centers, and the audit tool designed to reject such a command had a bug that let it through. Meta characterizes the event as 'caused not by malicious activity, but an error of our own making' (engineering.fb.com/2021/10/05).
The Three-Layer Cascade: Backbone to BGP to DNS
The blast radius grew because three layers were tightly coupled. Losing the backbone (layer 1) severed every DNS point-of-presence from the data centers. Meta's DNS servers are designed to withdraw their BGP advertisements (layer 2) when they cannot reach the data centers, on the assumption that unreachability means a locally unhealthy site. Because the whole backbone vanished at once, every DNS location judged itself unhealthy simultaneously and withdrew in unison — removing facebook.com's authoritative nameservers (layer 3) from the global routing table. Cloudflare externally clocked the sequence: routing-change peak ~15:40 UTC, DNS unavailable ~15:50 UTC, DNS-prefix withdrawal 15:58 UTC (blog.cloudflare.com/october-2021-facebook-outage).
Why the Safety Mechanisms Amplified the Failure
Two protective systems turned a recoverable fault into a total, self-inflicted disconnection. First, the change-audit tool — a safety interlock meant to stop dangerous commands — was itself defective, so the erroneous command executed unchecked. Second, the DNS health-check acted precisely as designed, but its scope was unbounded: a mechanism built to route around one bad site instead removed authoritative DNS from the entire Internet when the failure was global. When DNS fell, public resolvers (1.1.1.1, 8.8.8.8 and others) began issuing and caching SERVFAIL, and worldwide retries drove resolver load to about 30x normal — spreading collateral impact onto infrastructure Meta does not own.
Recovery Constraints and the Physical-Access Bottleneck
Recovery was slow for reasons that were themselves latent design conditions. The remote management path relied on the same network that was down, and the DNS loss disabled many of Meta's internal investigation tools. Engineers therefore had to be physically dispatched into data centers hardened against intruders, where activating secure access protocols took extra time and where hardware is deliberately 'difficult to modify even when you have physical access.' Restoration was then intentionally staged, because data centers showed power dips of tens of megawatts and a sudden reversal 'could put everything from electrical systems to caches at risk.' Cloudflare observed renewed BGP from ~21:00 UTC, DNS back by ~21:20 UTC, and full reconnection by 21:28 UTC.
Systemic Lessons for Correlated-Failure Design
The incident is a canonical study in correlated failure and self-amplifying safety systems. Guardrails must be tested as rigorously as the systems they protect; health-driven automation must be bounded so a global fault cannot trigger universal self-withdrawal; diagnostic and recovery tooling must not depend on the very service that can fail; and physical security must be balanced against a rehearsed break-glass recovery path. Above all, resilience planning must account for blast radius beyond one's own estate — here a single command rippled out to third-party resolvers across the entire Internet.
Technical deep-dive
Corrective actions and lessons
Correction of errors
| Action | Owner | Status |
|---|---|---|
| Fix the change-audit tool bug and add regression tests that block whole-backbone / global-scope withdrawal commands before any maintenance job runs. | Meta Network Engineering | Recommended (Meta committed generally to strengthen testing/drills; specific fix not publicly itemized) |
| Add a global-scope guard / minimum-anycast-floor to the DNS BGP health-check so authoritative DNS cannot fully self-withdraw during a correlated backbone loss. | Meta DNS / Traffic Engineering | Recommended (derived from root cause; not publicly confirmed) |
| Establish an out-of-band control plane so internal diagnostic, access and comms tooling survive a total production-DNS loss. | Meta Production Engineering | Recommended (derived from root cause; not publicly confirmed) |
| Pre-stage and rehearse break-glass physical-access procedures for hardened data centers to cut the secure-access activation delay from the recovery path. | Meta Data Center Operations / Security | Recommended (derived from root cause; not publicly confirmed) |
| Codify and drill a staged power-up runbook to safely reverse tens-of-megawatts power dips during mass recovery. | Meta Data Center Operations | Recommended (derived from root cause; not publicly confirmed) |
| Strengthen overall testing, drills and resilience for backbone maintenance. | Meta Engineering | Committed by Meta (post-incident statement) |
Lessons learnt
- A safety mechanism (health-based BGP withdrawal) is only as safe as its assumptions: when the 'unhealthy' signal is the loss of the entire backbone, the designed self-protection amplifies a local fault into a global one.
- Shared authoritative DNS and a shared backbone across a family of apps remove all fault isolation — a single control-plane event can take down every product at once.
- Control-plane dependencies must not gate their own recovery: when the same backbone carries both production traffic and the operators' management/out-of-band access, an outage locks operators out of the fix.
- Physical security hardening and emergency-recovery speed are in tension; recovery runbooks must plan for the case where the only path in is a manually secured, deliberately hard-to-enter facility.
- Maintenance commands with facility-wide or backbone-wide reach need guardrails and pre-execution auditing proportional to their blast radius, not to their intended (narrow) purpose.
- External vantage points (e.g. Cloudflare's BGP/DNS observations) independently corroborated the failure chain, showing the value of third-party visibility when internal telemetry is itself offline.
Improvements
- Process (change control): Harden change control so no single command can act on the entire global backbone at once — require staged, blast-radius-limited execution with a mandatory dry-run for capacity-assessment commands; Meta committed to strengthen its testing, drills and overall resilience after the event (engineering.fb.com/2021/10/05).
- MaintenanceFix and independently test the change-audit tool whose bug 'prevented it from properly stopping the command' (engineering.fb.com/2021/10/05), and add regression tests that assert the guardrail blocks whole-backbone-withdrawal commands before any maintenance job can run.
- DesignRedesign the DNS-to-backbone health-check coupling so a total backbone loss cannot make every DNS location simultaneously declare itself unhealthy and withdraw all BGP advertisements globally (engineering.fb.com/2021/10/05) — add a global-scope guard / minimum-anycast-floor so authoritative DNS never fully self-disconnects.
- Design (out-of-band control): Decouple internal diagnostic, access and communication tooling from the production DNS it depends on, because 'the total loss of DNS broke many of the internal tools we'd normally use to investigate and resolve outages' (engineering.fb.com/2021/10/05).
- Safety (break-glass access): Pre-stage and rehearse emergency physical-access procedures so engineers can reach hardened data centers quickly when remote access is dead — removing the 'extra time to activate the secure access protocols' from the critical recovery path (engineering.fb.com/2021/10/05).
- Process (staged power-up): Codify a cautious staged power-up runbook to manage tens-of-megawatts power swings that 'could put everything from electrical systems to caches at risk' (engineering.fb.com/2021/10/05).
References and provenance
- official-postmortem Update about the October 4th outage — Engineering at Meta“Our services are now back online and we're actively working to fully return them to regular operations”https://engineering.fb.com/2021/10/04/networking-traffic/outage/
- official-postmortem More details about the October 4 outage — Engineering at Meta“a command was issued with the intention to assess the availability of global backbone capacity, which unintentionally took down all the connections in our backbone network”https://engineering.fb.com/2021/10/05/networking-traffic/outage-details/
- external-analysis Understanding How Facebook Disappeared from the Internet — The Cloudflare Blog“Due to Facebook stopping announcing their DNS prefix routes through BGP, our and everyone else's DNS resolvers had no way to connect to their nameservers”https://blog.cloudflare.com/october-2021-facebook-outage/
- secondary 2021 Facebook outage — Wikipedia“Border Gateway Protocol (BGP) routing was restored for the affected prefixes at about 21:50”https://en.wikipedia.org/wiki/2021_Facebook_outage
Quotes are short, attributed, and for provenance only; the analysis is original. Last verified 2026-07-31.