sudo: unable to resolve host ip-: Temporary failure in name resolution

0

Hi,

I am getting 502 bad gateway error why its down, it was absolutely fine but recently i check its giving error and when i am trying to ping my public ip its not responding.

please let me know why its down i need to fix it as soon as possible.

  • Not enough detail here. What’s returning a 502? Is it an alb? Is your ec2 returning the error?

1 回答
0

For me any error related to DNS, and more specifically for 'Temporary failure in name resolution' in ubuntu based os

I resolved by just running;- sudo service systemd-resolved restart

已回答 4 个月前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则