What’s the cause of the error ‘getaddrinfo EAI_AGAIN’?

My server threw this today, which is a Node.js error I’ve never seen before:

Error: getaddrinfo EAI_AGAIN my-store.myshopify.com:443
    at Object.exports._errnoException (util.js:870:11)
    at errnoException (dns.js:32:15)
    at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:78:26)

I’m wondering if this is related to the DynDns DDOS attack which affected Shopify and many other services today. Here’s an article about that.

My main question is what does dns.js do? What part of node is it a part of? How can I recreate this error with a different domain?

13 Answers
13

Leave a Comment