1 to many FQDN mappings with Route53

0

I'm trying to accomplish the following DNS setup with Route53. Is it possible?

app.domain.com --> [v1.app.domain.com, v2.app.domain.com, v3.app.domain.com --> [1.1.1.1,1.1.11.2, etc] ]

Basically, FQDN pointing to multiple FQDNs. I know CNAMEs would allow me to have 1 to 1 mapping, but not 1 to many. I was hoping for a Route53 solution to this (don't want to use ELB or API Gateway, or any other programmatic way of adding IPs).

1 Antwort
0
Akzeptierte Antwort

I'm not sure if this will accomplish what you want, but if you set the Routing policy to Weighted, you can have multiple CNAME records for the same FQDN. Example:

app.domain.com CNAME v1.app.domain.com Weight 25 SetID v1
app.domain.com CNAME v2.app.domain.com Weight 25 SetID v2
app.domain.com CNAME v3.app.domain.com Weight 25 SetID v3
app.domain.com CNAME v4.app.domain.com Weight 25 SetID v4

The weights can be anything (0 to 255), but if you make them all the same, it should route to them evenly.

AWS
beantwortet vor 7 Jahren

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