A newly created record returns NXDOMAIN for 15 minutes even after it exists on the authoritative servers.
IntermediateTroubleshootingDNS resolution failures
Answer
Likely causes → Negative caching. Someone queried the name before it existed, and resolvers cached the NXDOMAIN for the SOA minimum / negative TTL.
Diagnose →
dig SOA example.com +noall +answer # last field = negative TTL
dig app.example.com @<resolver> +noall +authority
Fix → Wait, or flush the resolvers you control (unbound-control flush app.example.com, rndc flushname).
Prevent → Create records before anything queries them, and keep the SOA negative TTL modest (300 s).
More on DNS resolution failures
`dig app.example.com` returns `status: NXDOMAIN`.Beginner`dig` returns `status: SERVFAIL` for one domain while other domains resolve fine.Intermediate`curl: (6) Could not resolve host: api.example.com` inside a container but it resolves on the host.BeginnerA DNS change was made 2 hours ago, but some users still reach the old IP.BeginnerJava service keeps connecting to an old IP long after the DNS record changed.IntermediateIn Kubernetes, external lookups from pods are slow and CoreDNS logs show many NXDOMAIN queries like `api.stripe.com.default.svc.cluster.local`.Intermediate