s3 url resolution failure since June 26th

0

I have a service/client that was previously connecting to and retrieving cloudtrail objects from an s3 bucket with the base url/endpoint format "s3-eu-south-1.amazonaws.com".

As of June 26th I am getting dns lookup failures and the client cannot connect.

Manually doing nslookup for this url also files, while other urls work just fine (e.g. s3-eu-west-1.amazonaws.com, s3-us-east-1.amazonaws.com, s3-eu-north-1.amazonaws.com)

Does anyone know if there have been some changes on the AWS side that would explain these sudden failures?

tens
asked a month ago445 views
2 Answers
1

The name should be s3.eu-south-1.amazonaws.com and not s3-eu-south-1.amazonaws.com. The third character should be a dot . instead of a dash/hyphen -.

EXPERT
Leo K
answered a month ago
profile picture
EXPERT
reviewed a month ago
profile picture
EXPERT
reviewed a month ago
profile picture
EXPERT
reviewed a month ago
profile pictureAWS
EXPERT
reviewed a month ago
  • Thanks Leo, do you have links to any documentation that clarifies this specification? As mentioned in the original post the hyphenated version of the URL works for some regions, but not all. Trying to find an explanation for this...

  • https://docs.aws.amazon.com/AmazonS3/latest/userguide/VirtualHosting.html#VirtualHostingLimitations

    Some older Amazon S3 Regions support endpoints that contain a dash (-) between s3 and the Region code (for example, s3‐us-west-2), instead of a dot (for example, s3.us-west-2). If your bucket is in one of these Regions, you might see the following endpoint format in your server access logs or CloudTrail logs:

  • The endpoint names are documented here: https://docs.aws.amazon.com/general/latest/gr/s3.html. The reason why the misspelled names exist in some regions is probably simply to help many people making just this same mistake. It's not too hard to confuse a short dash with a dot on laptop and mobile screens.

0

Hi,

This page of S3 documentation clearly details how you build DNS names for buckets: https://docs.aws.amazon.com/AmazonS3/latest/userguide/VirtualHosting.html

Best

Didier

profile pictureAWS
EXPERT
answered a month ago
EXPERT
Leo K
reviewed a month ago