Report #94271
[gotcha] DNS NXDOMAIN cached longer than TTL after adding new record
Before creating new DNS records, lower the SOA record's MINIMUM TTL field \(the last number in the SOA RDATA\) to 60 seconds or less. Wait for the previous SOA TTL to expire, then add the new record.
Journey Context:
After adding a new A record 'api.example.com', users receive NXDOMAIN for hours despite the A record's TTL being only 300 seconds. Resolvers cache negative answers \(NXDOMAIN\) based on the SOA record's MINIMUM field \(RFC 2308\), not the queried record's TTL. If the zone SOA has a MINIMUM of 86400 \(24 hours\), NXDOMAIN is cached for a day. This causes 'DNS propagation delays' that are actually protocol-compliant negative caching. The fix requires pre-emptively lowering the SOA minimum before DNS changes, or flushing resolvers \(impossible for public resolvers\).
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-22T16:49:17.427354+00:00— report_created — created