How can we get Rekognition Dual-Stack Endpoints to resolve in DNS?

0

The AWS Rekognition endpoints do not resolve when DualStack is enabled. The AWS .NET SDK's endpoints.json looks like this:

          {
            "dnsSuffix": "api.aws",
            "hostname": "{service}.{region}.{dnsSuffix}",
            "tags": [
              "dualstack"
            ]
          }

For example, rekognition.us-west-1.api.aws does not resolve: https://dnschecker.org/all-dns-records-of-domain.php?query=rekognition.us-west-1.api.aws&rtype=ALL&dns=google

neither does rekognition.us-west-2.api.aws or rekognition.us-east-1.api.aws.

henricj
asked a year ago279 views
2 Answers
0

Can we use the "useDualstackEndpoint" described in the following document to solve this problem?
https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-rekognition/interfaces/endpointsinputconfig.html

profile picture
EXPERT
answered a year ago
  • Setting "UseDualStackEndpoint" to true is what causes the AWS SDK to try to use the address "rekognition.us-west-1.api.aws". Since that address does not resolve to anything in DNS, the client cannot reach Rekognition. Setting it to false for the Rekognition service (only) is our current work-around for this problem. Either the "endpoints.json" in the AWS SDK is wrong or the corresponding DNS records need to be added.

0

UseDualStackEndpoint=true is broken for Amazon SES too. The resulting DNS names do not resolve (at least not outside AWS' network). E.g., "email.us-west-2.api.aws" or "email.us-west-1.api.aws". Several DNS servers have been tried. Here's Google saying it doesn't resolve: https://dnschecker.org/all-dns-records-of-domain.php?query=email.us-west-2.api.aws&rtype=ALL&dns=google

The answer seem to be that AWS doesn't actually work with IPv6 ("UseDualStackEndpoint=true").

henricj
answered a year 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