Skip to content
MtrXTools

getaddrinfo EAI_AGAIN

Temporary DNS failure

Seen in Node.js, Docker containers, Linux (Temporary failure in name resolution)

The DNS lookup couldn't complete, usually because no resolver answered in time.

Common causes

  • No network or no DNS resolver configured (common in containers and CI).
  • The resolver is down or blocked by a firewall (UDP/TCP 53).
  • The domain's authoritative servers are failing (SERVFAIL).

How to fix it

  1. Check the machine's resolver settings and network.
  2. Allow outbound DNS or set a working resolver.
  3. Check the domain answers correctly from public resolvers.
Check the domain resolves

Got a different message? Paste it into the error explainer.

Related errors

All 19 Network errors