Interface Endpoint fail to resolve DNS Name

0

Trying two accounts of my organization and I'm kinda lost. I provided the Service Endpoint in Account B, created a service name, and allowed the Account A to access it. Then in Account A I created the Interface Endpoint, selected "Other Endpoint Services" I entered the service name from Account B, and were able to verify the service name.

I already used the Reachability Analyzer, to check if the ENI from my ECS arrives in the ENI of my Interface Endpoint, and it works fine, they are in the same private VPC and the same SG. I'm probably missing some other stuff, it's my first time doing this...

Right now I have (Account A) ECS Task -> Interface Endpoint (Account A) -----> (Account B) Service Endpoint -> NLB -> AmazonMQ (Account B).

When I try to run my ECS Task I get an "Name does not resolve" error, I looked into the SDK I'm using and got that the issue is due to DNS not resolving.

On both VPCs DNS hostnames and resolution are enabled.

I got this print from a video, I'm not supposed to use those DNS names?

aws console

I tried to use the three I got and didn't work. And Private DNS name is disabled ATM. Oh and I'm trying to connect using Websockets, but since it's TCP I imagine this isn't an issue.

2 réponses
1
Réponse acceptée

I was using the default DNS. Well, the issue was that I didn't allowed the high port in the security group :( When I tried to use the reachability analyzer I didn't specified a port, so I had no error on it. Once a coworker took a look he found the error.

répondu il y a 2 ans
1

If the ENI is in the correct VPC then the first DNS name listed on the console should be the correct one to use. Are you using the DNS name provided when the interface endpoint is created in account a? This is assuming that the default DNS resolver is being used rather than a custom one with a different upstream setting.

lp901
répondu il y a 2 ans

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