Internal DNS resolves to wrong IP address


Since this morning my EC2 machines in Ohio are unable to connect to the secrets manager: the default us-east-2.compute.internal DNS resolves to a private IP but the connection cannot be established, while it succeeds if I try from my local machine using the public IP address.

$ wget -O- ""                    
--2024-03-19 13:06:18--
Resolving (,,
Connecting to (||:443... ^C

I think some configuration was changed during the night and the DNS is still pointing to the old IP addresses but I have no idea how to refresh them.

Does anyone have a suggestion or experienced a similar problem in the past?

  • please accept the answer if it was useful for you

1개 답변

If the SSM service is resolved to Private IP, you have a VPC endpoint for the SSM. You need to check a security group attached to the VPC endpoint.

Check this article as well. It explains the whole configuration way

profile picture
답변함 4달 전
profile picture
검토됨 4달 전
profile picture
검토됨 4달 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠