`dig` returns `status: SERVFAIL` for one domain while other domains resolve fine.
IntermediateTroubleshootingDNS resolution failures
Answer
Likely causes → The resolver can't get a valid answer from the authoritative servers: all of them are unreachable, lame delegation, or DNSSEC validation failure (expired RRSIG, wrong DS at the parent).
Diagnose →
dig app.example.com @1.1.1.1
dig app.example.com @1.1.1.1 +cd # +cd disables validation; works now = DNSSEC problem
dig +trace app.example.com
delv app.example.com # explains validation failures
Fix → For DNSSEC: fix signing or remove the DS record at the registrar. For lame delegation: make NS records at the parent match servers that really serve the zone.
Prevent → Monitor DNSSEC signature expiry and NS consistency externally.
More on DNS resolution failures
`dig app.example.com` returns `status: NXDOMAIN`.Beginner`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`.IntermediatePods intermittently log `dial tcp: lookup orders on 10.96.0.10:53: i/o timeout`, about 5 seconds per failure.Advanced