DNS Outage Response Playbook
Domain: {{ affected_domain }}
Provider: {{ dns_provider }}
Symptom: {{ symptom }}
Why DNS Outages Are Critical
DNS failures are often perceived as "the internet is down" because they affect ALL services behind the domain. DNS issues are also tricky because:
- Changes propagate based on TTL (not instantly)
- Caching at multiple layers makes debugging difficult
- Impact can be regional or resolver-specific
- Recovery takes TTL time even after the fix is applied
Phase 1 — Diagnosis (0-10 min)
Immediate Diagnostic Commands
# Check DNS resolution from multiple resolvers
dig {{ affected_domain }} @8.8.8.8 # Google
dig {{ affected_domain }} @1.1.1.1 # Cloudflare
dig {{ affected_domain }} @9.9.9.9 # Quad9
dig {{ affected_domain }} @208.67.222.222 # OpenDNS
# Check authoritative nameservers
dig NS {{ affected_domain }}
dig {{ affected_domain }} @<authoritative-ns>
# Check for DNSSEC issues
dig {{ affected_domain }} +dnssec +cd
delv {{ affected_domain }}
# Check SOA record
dig SOA {{ affected_domain }}
# Full DNS trace
dig +trace {{ affected_domain }}
# Check specific record types
dig A {{ affected_domain }}
dig AAAA {{ affected_domain }}
dig CNAME {{ affected_domain }}
dig MX {{ affected_domain }}
Common DNS Failure Modes
| Symptom |
Likely Cause |
Verification |
| NXDOMAIN |
Domain/record deleted, zone misconfiguration |
Check zone file / DNS dashboard |
| SERVFAIL |
DNSSEC validation failure, NS unreachable |
dig +dnssec, check NS health |
| Timeout |
DNS provider outage, firewall blocking |
Check provider status, test from multiple locations |
| Wrong IP |
Record changed, DNS hijacking |
Compare with expected value, check audit logs |
| Slow resolution |
Provider degradation, high TTL stale cache |
Time queries, check provider metrics |
| Partial failure |
Regional DNS issues, anycast routing |
Test from multiple geographic locations |
Provider Status Check
Phase 2 — Containment and Mitigation
If DNS Provider Is Down
If Records Are Misconfigured
If DNSSEC Is Broken
TTL-Aware Recovery Timeline
Current TTL: _____ seconds
Fix applied at: _____
Expected full propagation: _____ (fix time + TTL)
Important: Even after fixing DNS, cached stale records persist until TTL expires. Users with cached bad records will continue to experience issues.
Phase 3 — Verification
Verify Resolution Is Working
# Test from multiple resolvers
for ns in 8.8.8.8 1.1.1.1 9.9.9.9; do
echo "=== Resolver: $ns ==="
dig +short {{ affected_domain }} @$ns
done
# Verify correct response
dig {{ affected_domain }} +short
# Expected: <correct IP or CNAME>
# Check propagation globally
# Use: https://dnschecker.org or https://www.whatsmydns.net
Verification Checklist
Phase 4 — Prevention
DNS Resilience Measures
Counter-Rationalizations
| Shortcut |
Counter |
Why |
| "We can skip some steps for this case" |
Adapt the workflow steps, don't skip them |
Skipped steps are where incidents and oversights originate |
| "The user seems to already know what to do" |
Complete all workflow phases with the user |
The workflow catches blind spots that experience alone misses |
| "This is a minor case, full process is overkill" |
Scale the process down, don't turn it off |
Minor cases become major when unstructured; the process scales, not disappears |
| "I'll fill in the details later" |
Complete each section before moving on |
Deferred details are forgotten; real-time capture is more accurate |
| "The template output isn't necessary" |
Always produce the structured output format |
Structured output enables comparison, audit trails, and handoff to other teams |
1---2name: dns-outage-response3enabled: true4description: |5 Use when performing dns outage response — dNS-specific incident response6 playbook covering DNS resolution failures, propagation issues, DNSSEC7 validation errors, DNS provider outages, and misconfiguration recovery.8 Provides diagnostic commands, TTL-aware recovery timelines, failover9 procedures, and DNS health verification steps.10required_connections:11 - prefix: slack12 label: "Slack (for incident coordination)"13config_fields:14 - key: affected_domain15 label: "Affected Domain"16 required: true17 placeholder: "e.g., api.example.com, *.example.com"18 - key: dns_provider19 label: "DNS Provider"20 required: false21 placeholder: "e.g., Route53, Cloudflare, NS1"22 - key: symptom23 label: "Symptom Description"24 required: true25 placeholder: "e.g., NXDOMAIN for api.example.com, slow DNS resolution"26features:27 - INCIDENT28metadata:29 source: https://skillmd.com/skills/cloudthinker-ai/dns-outage-response30---3132# DNS Outage Response Playbook3334Domain: **{{ affected_domain }}**35Provider: **{{ dns_provider }}**36Symptom: **{{ symptom }}**3738## Why DNS Outages Are Critical3940DNS failures are often perceived as "the internet is down" because they affect ALL services behind the domain. DNS issues are also tricky because:41- Changes propagate based on TTL (not instantly)42- Caching at multiple layers makes debugging difficult43- Impact can be regional or resolver-specific44- Recovery takes TTL time even after the fix is applied4546## Phase 1 — Diagnosis (0-10 min)4748### Immediate Diagnostic Commands4950```bash51# Check DNS resolution from multiple resolvers52dig {{ affected_domain }} @8.8.8.8 # Google53dig {{ affected_domain }} @1.1.1.1 # Cloudflare54dig {{ affected_domain }} @9.9.9.9 # Quad955dig {{ affected_domain }} @208.67.222.222 # OpenDNS5657# Check authoritative nameservers58dig NS {{ affected_domain }}59dig {{ affected_domain }} @<authoritative-ns>6061# Check for DNSSEC issues62dig {{ affected_domain }} +dnssec +cd63delv {{ affected_domain }}6465# Check SOA record66dig SOA {{ affected_domain }}6768# Full DNS trace69dig +trace {{ affected_domain }}7071# Check specific record types72dig A {{ affected_domain }}73dig AAAA {{ affected_domain }}74dig CNAME {{ affected_domain }}75dig MX {{ affected_domain }}76```7778### Common DNS Failure Modes7980| Symptom | Likely Cause | Verification |81|---------|-------------|-------------|82| NXDOMAIN | Domain/record deleted, zone misconfiguration | Check zone file / DNS dashboard |83| SERVFAIL | DNSSEC validation failure, NS unreachable | `dig +dnssec`, check NS health |84| Timeout | DNS provider outage, firewall blocking | Check provider status, test from multiple locations |85| Wrong IP | Record changed, DNS hijacking | Compare with expected value, check audit logs |86| Slow resolution | Provider degradation, high TTL stale cache | Time queries, check provider metrics |87| Partial failure | Regional DNS issues, anycast routing | Test from multiple geographic locations |8889### Provider Status Check90- [ ] Check {{ dns_provider }} status page91- [ ] Check {{ dns_provider }} for zone configuration changes92- [ ] Review DNS audit logs for recent changes93- [ ] Check domain registration status (expired domain?)9495## Phase 2 — Containment and Mitigation9697### If DNS Provider Is Down98- [ ] Switch to backup DNS provider (if configured)99- [ ] Update NS records at domain registrar (propagation: 24-48 hours)100- [ ] Consider temporary IP-based access for critical services101- [ ] Communicate expected recovery timeline based on TTL102103### If Records Are Misconfigured104- [ ] Identify the incorrect change in audit logs105- [ ] Revert to correct DNS records106- [ ] Note current TTL — recovery will take up to TTL duration107- [ ] Flush DNS caches where possible108109### If DNSSEC Is Broken110- [ ] Check DS records at parent zone match current DNSKEY111- [ ] Verify DNSSEC signing is functioning112- [ ] If necessary, temporarily disable DNSSEC (remove DS from parent)113- [ ] Fix DNSSEC chain of trust before re-enabling114115### TTL-Aware Recovery Timeline116```117Current TTL: _____ seconds118Fix applied at: _____119Expected full propagation: _____ (fix time + TTL)120```121122**Important:** Even after fixing DNS, cached stale records persist until TTL expires. Users with cached bad records will continue to experience issues.123124## Phase 3 — Verification125126### Verify Resolution Is Working127```bash128# Test from multiple resolvers129for ns in 8.8.8.8 1.1.1.1 9.9.9.9; do130 echo "=== Resolver: $ns ==="131 dig +short {{ affected_domain }} @$ns132done133134# Verify correct response135dig {{ affected_domain }} +short136# Expected: <correct IP or CNAME>137138# Check propagation globally139# Use: https://dnschecker.org or https://www.whatsmydns.net140```141142### Verification Checklist143- [ ] Resolution working from Google DNS (8.8.8.8)144- [ ] Resolution working from Cloudflare DNS (1.1.1.1)145- [ ] Resolution working from ISP resolvers146- [ ] DNSSEC validation passing (if enabled)147- [ ] TTL values are correct148- [ ] All record types resolving correctly (A, AAAA, CNAME, MX)149- [ ] Application health checks passing150- [ ] Global propagation confirmed via external tools151152## Phase 4 — Prevention153154### DNS Resilience Measures155- [ ] Configure secondary/backup DNS provider156- [ ] Set appropriate TTL values (low enough for failover, high enough for performance)157- [ ] Monitor DNS resolution from external vantage points158- [ ] Set up alerts for DNS query failures and latency159- [ ] Implement DNS failover with health checks160- [ ] Maintain DNS runbook with current configuration details161- [ ] Use infrastructure-as-code for DNS records (version controlled)162- [ ] Implement change approval process for DNS modifications163- [ ] DNSSEC key rotation schedule documented and tested164165## Counter-Rationalizations166167| Shortcut | Counter | Why |168|----------|---------|-----|169| "We can skip some steps for this case" | Adapt the workflow steps, don't skip them | Skipped steps are where incidents and oversights originate |170| "The user seems to already know what to do" | Complete all workflow phases with the user | The workflow catches blind spots that experience alone misses |171| "This is a minor case, full process is overkill" | Scale the process down, don't turn it off | Minor cases become major when unstructured; the process scales, not disappears |172| "I'll fill in the details later" | Complete each section before moving on | Deferred details are forgotten; real-time capture is more accurate |173| "The template output isn't necessary" | Always produce the structured output format | Structured output enables comparison, audit trails, and handoff to other teams |174