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).

AWS
已提问 7 年前291 查看次数
1 回答
0
已接受的回答

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
已回答 7 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则