DNS and outbound network not working in my server

Posted by user_12ok5b in general.

Hello, My server was working normally until yesterday, but today my Node.js Telegram bot cannot connect to Telegram API. The bot starts successfully: 🚀 SureShot 99% Bot Started... But then it crashes with: FetchError: request to https://api.telegram.org/.../getMe failed, reason: getaddrinfo EAI AGAIN api.telegram.org Error: errno: EAI AGAIN code: EAI AGAIN I tested DNS from the server: getent hosts google.com It returns no result. I also tested: getent hosts api.telegram.org It also returns no result. I tested external HTTPS connectivity: curl 4 I https://1.1.1.1 curl 4 I https://8.8.8.8 Both fail/no response. My /etc/resolv.conf shows: nameserver 127.0.0.11 options ndots:0 Docker reports upstream DNS: 1.1.1.1 1.0.0.1 The server is not out of memory. Wispbyte reports: Out of memory: false The same bot was working normally yesterday without any code changes. Could you please check whether there is a DNS or outbound network connectivity issue with my container/node?

Wispbyte Community Forum