Why is the DNS for my GoDaddy domains not resolving properly?

Issue

My application is encountering DNS resolution errors similar to the following when attempting to resolve my GoDaddy-backed domain:

  • getaddrinfo: Name or service not known
  • ;; connection timed out; no servers could be reached
  • queryCname ESERVFAIL

Resolution

Starting as early as Nov 14 13:30 UTC, GoDaddy has been experiencing an outage that is affecting DNS resolution for domains using them as their DNS provider. Domains with *.DOMAINCONTROL.COM domains listed as the nameservers in their WHOIS record (i.e., all GoDaddy domains) may encounter problems. Domains may resolve locally or using a specific DNS provider like Google Public DNS, but they fail on Heroku servers. They're succeeding locally due to DNS caching – when the domain's cache TTL expires, the domain will stop resolving there too until GoDaddy resolves the issue.

Unfortunately, there is not a lot that can be done in this situation. You can update your NS records to use another DNS provider in place of or in addition to GoDaddy, but that may either not work while GoDaddy is having issues or may take longer than the resolution of this issue. In most cases, waiting for the issue to be resolved is the best course of action.