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

beantwortet vor 4 Monaten

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen