---
title: "The Case of the Recursive Resolvers"
description: "Slack's third attempt to enable DNSSEC on slack.com caused a 24-hour outage for under 1% of users."
url: "https://swe.quest/articles/the-case-of-the-recursive-resolvers-401d01cc3239f3e3"
canonical: "https://slack.engineering/what-happened-during-slacks-dnssec-rollout/"
source: "Slack Engineering"
published: "2021-11-29"
difficulty: "medium"
kind: "Incident"
reading_minutes: 15
tags: ["dns","incident-response","cryptography","cloud"]
---

# The Case of the Recursive Resolvers

A post on [Slack Engineering](https://swe.quest/sources/slack.md), published 2021-11-29, 15 min read, Incident. Original: [https://slack.engineering/what-happened-during-slacks-dnssec-rollout/](https://slack.engineering/what-happened-during-slacks-dnssec-rollout/)

## Summary

Slack's third attempt to enable DNSSEC on slack.com caused a 24-hour outage for under 1% of users. A Route 53 bug produced NSEC responses for the \*.slack.com wildcard record without the information validating resolvers need, so names like app.slack.com came back NODATA. The rollback made things worse: the team believed DS records at the .com zone were not cached, but resolvers cache them for up to 24 hours. Removing the DNSKEYs while DS records were still cached caused SERVFAIL until caches were flushed or expired. Lessons include testing wildcard records before rollout, understanding DS record TTLs, and noting that Terraform hid Route 53's warning about disabling signing.

Written by swe.quest, not by the author.

**Difficulty:** Medium: assumes a working developer; shows how it is built or done

## Topics

- [DNS](https://swe.quest/tags/dns.md) (Infrastructure)
- [Incidents & postmortems](https://swe.quest/tags/incident-response.md) (Reliability & operations)
- [Cryptography](https://swe.quest/tags/cryptography.md) (Security)
- [Cloud platforms](https://swe.quest/tags/cloud.md) (Infrastructure)

## Prerequisites

- DNS resolution basics ([easy posts on DNS](https://swe.quest/tags/dns.md?difficulty=easy))
- DNSSEC chain of trust
- DNS record types and TTLs ([easy posts on DNS](https://swe.quest/tags/dns.md?difficulty=easy))

## Keywords

DNSSEC, Amazon Route 53, NS1, NSEC, Terraform, NetLog, FedRAMP

## Related posts

- [Breaking down OpenAI's outage: How to avoid a hidden DNS dependency in Kubernetes](https://swe.quest/articles/breaking-down-openai-s-outage-how-to-avoid-a-hidden-dns-dependency-in-kubernetes-4aeac94c226460a9.md): Render · 2024-12-17 · Medium · 6 min read · Kubernetes, DNS, Incidents & postmortems, Resilience, SRE
  CoreDNS doesn't need the Kubernetes API server to answer queries, but it does need it to initialize.
- [How recurring network maintenance exposed 6 bugs](https://swe.quest/articles/how-recurring-network-maintenance-exposed-6-bugs-e0c55b4aaea1ee8f.md): Jane Street Tech Blog · 2026-10-02 · Hard · 20 min read · Debugging, DNS, Resilience, Functional programming, Linux
  Recurring weekend network partitions caused Jane Street's Kafka relays and consumer-group monitors to segfault, leak hundreds of thousands of sockets, and crash under recovery-time TCP connection surges, and tracing them uncovered six layered bugs.
- [Probing DNS at Cloudflare](https://swe.quest/articles/probing-dns-at-cloudflare-ecbd543e122dda77.md): Cloudflare · 2026-11-23 · Medium · 8 min read · DNS, Testing, SRE, Deployment, Rust
  Cloudflare extended Flamingo, its Rust-based end-to-end testing framework that runs hundreds of millions of tests a day against the production edge, with a DNS module to catch slow, partial DNS failures that unit tests and health checks miss.
- [Slack’s Incident on 2-22-22](https://swe.quest/articles/slack-s-incident-on-2-22-22-7a35cde32cfb5fd8.md): Slack Engineering · 2022-04-26 · Medium · 12 min read · Incidents & postmortems, Caching, Resilience, MySQL, Distributed systems
  A Consul agent rolling restart caused Mcrib, Slack's memcached control plane, to replace and flush cache nodes, dropping hit rates during peak traffic.
- [Break Stuff on Purpose](https://swe.quest/articles/break-stuff-on-purpose-87dc2221ffb9f4a6.md): Slack Engineering · 2024-12-10 · Medium · 5 min read · Chaos engineering, Incidents & postmortems, Observability, SRE
  Slack's internal Kibana cluster failed in January 2024 after running out of disk, a consequence of co-locating its Elasticsearch storage on the same hosts as the application.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
