The Symptom
Symptom
Timeline
-
1
-
2
-
3
-
4
-
5
Root Cause Analysis
Root Cause
When migrating DNS, updating the NS records in the zone file is not enough. The Top Level Domain (TLD) servers (.com) need to know which IP addresses correspond to those nameservers. These are called "Glue Records". We updated the NS records in the Route53 zone, and we updated the registrar's nameserver list. However, because we previously used custom vanity nameservers (ns1.ourdomain.com), the registrar had hidden glue records caching the OLD Cloudflare IP addresses for those nameservers. When an ISP recursively resolved our domain, it hit the .com TLD, which handed back the old IPs. The ISP then tried to ask the old IPs (which Cloudflare had already deactivated), resulting in an NXDOMAIN (domain does not exist) error.
5 Whys Root Cause Drill-Down
Resolution
Resolution
// How to verify glue records via the terminal
dig +trace devsolved.com
// Look for the "Received [ip] from [TLD server] in [ms]" line. If that IP is wrong, it's a glue record issue.
Discussions 0