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 Answer
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

answered 3 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions