Interview Prep/Networking/DNS resolution failures

CNAME chain resolves, but the final name returns NXDOMAIN for some users.

AdvancedTroubleshootingDNS resolution failures
Answer

Likely causes → The CNAME target (e.g. a CDN or SaaS hostname) was deleted or is regional; dangling CNAME after deprovisioning; or resolvers cached a negative answer for the target.

Diagnose →

dig www.example.com +noall +answer    # follow each hop
dig <target-hostname> @8.8.8.8

Fix → Point the CNAME at a live target or remove it immediately. A dangling CNAME to a released cloud resource is a subdomain takeover risk.

Prevent → Delete DNS records in the same change that removes the resource; scan for dangling records.

All Networking questions Roadmap: Networking for DevOps

More on DNS resolution failures