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 réponse
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

répondu il y a 4 mois

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions