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 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南