路由53的资源记录集的多个IP地址 [英] Multiple IP addresses for Resource Record Sets of Route 53

查看:127
本文介绍了路由53的资源记录集的多个IP地址的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在研究aws route53,在创建资源记录集时,可以在记录集的值中添加多个IP地址.

I'm studying aws route53, when I'm creating the resource record set, I can add multiple IP addresses to value of record set.

此处多个IP地址的用途是什么? 例如:我的域将路由到服务器1和服务器2.我试图停止服务器1并访问我的域,但是它没有路由到服务器2.

What is the purpose of multiple IP addresses here? Ex: my domain will route to server 1 and server 2. I tried to stop server 1 and access to my domain, but it did NOT route to server 2.

这里是什么问题? 您能解释一下记录集值的多个IP地址吗? 谢谢!

What is the issue here? Could you please explain multiple IP addresses of record set's value? Thanks!

推荐答案

AWS Route 53文档中提出了正确的问题:

The correct question is stated in the AWS Route 53 documentation:

https://aws.amazon.com/route53/faqs/#associate_multiple_ip_with_single_record

问我可以将多个IP地址与一条记录关联吗?

Q. Can I associate multiple IP addresses with a single record?

是的.通常将多个IP地址与一条记录相关联 用于平衡地理分布的Web服务器的负载. Amazon Route 53允许您列出一个A的多个IP地址 记录并响应DNS请求以及所有已配置IP的列表 地址.

Yes. Associating multiple IP addresses with a single record is often used for balancing the load of geographically-distributed web servers. Amazon Route 53 allows you to list multiple IP addresses for an A record and responds to DNS requests with the list of all configured IP addresses.

此方法通常由高可用性应用程序使用,它将解析结果并决定如何处理结果,例如随机或以编程方式仅返回一个结果或列出集群中的所有可用资源.

This method is usually used by Highly Available applications that will parse the results and decide what to do with the results, such as randomly or programmatically return one result only or list all the resources available in a cluster.

响应将根据指定的路由策略"而有所不同,如果您指定简单"(默认),则会在响应中获得该记录的所有条目.

The response will vary according to the the specified "Routing Policy", if you specify "Simple" (default) one you all get all the entries for that record in the response.

这篇关于路由53的资源记录集的多个IP地址的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆