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 年前檢視次數 252 次
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 個月前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南