Node can't resolve domain.
My nodejs application cannot resolve the IP of "pgd.lbngateway.com". But I could nslookup it on the same droplet. I ended up putting it in /etc/hosts but cannot figure out why the application fails to resolve it with getaddrinfo. I was able to resolve the IP with node on my local machine but not on the droplet so I am even more lost as to why it might not be working.