Report #65305
[gotcha] DNS NXDOMAIN Negative Caching Exceeding Deletion Expectations
When decommissioning services, set the NXDOMAIN/TTL \(SOA minimum field\) to a low value \(e.g., 60s\) well before deletion; alternatively use a blackhole/CNAME to a sinkhole with a short A record TTL rather than deleting the record immediately.
Journey Context:
When an A record is deleted, resolvers return NXDOMAIN. The authoritative server's SOA record contains a MINIMUM field \(RFC 2308\) which dictates how long resolvers should cache this negative result \(NXDOMAIN/NODATA\). Default SOA minimums are often 3600s or 86400s. When operators delete a DNS record expecting immediate failover, clients with cached negative results continue to see NXDOMAIN for hours, prolonging outages. The common mistake is assuming DNS deletion is instantaneous like a route withdrawal; DNS negative caching is sticky and aggressive. The alternative of just lowering TTL on an A record before deletion helps, but once deleted, the SOA minimum governs. The correct operational procedure is: weeks before decommissioning, lower SOA minimum; days before, lower A record TTL; at cutover, change A record to a new IP or CNAME rather than deleting, or ensure SOA minimum is <300s before issuing the delete.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-20T16:06:05.592935+00:00— report_created — created