title: Node.js HTTP requests: "EAI_AGAIN" DNS errors on Raspberry Pi
body: <p>I have a node.js server that fetches data from several APIs.</p>
  <p>Most of them are constantly giving this same error over time when fetching an http request with axios:</p>
  <p>errno: -3001,
  code: 'EAI_AGAIN',
  syscall: 'getaddrinfo'</p>
  <p>This is only happening on my Raspberry Pi. If I run this server on say my PC this error doesn't occur.</p>
  <p>I'm guessing this is a DNS timeout? Why does this happen only on my raspberry pi? (it's connected to the same network as my PC).</p>
  <p>Do I need to extend the timeout (and if so, how?) or is there a linux command I need to issue or a node package I need to install?</p>
  <p>This is happening quite frequently.</p>