Dualstack前缀在AWS ELB中是什么意思? [英] What does the dualstack prefix mean in AWS ELB?

查看:162
本文介绍了Dualstack前缀在AWS ELB中是什么意思?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我在AWS Route 53中将ELB添加为别名目标时,它会自动将 dualstack 前缀添加到我的ELB DNS中.这代表什么?

When I add an ELB as Alias Target in AWS Route 53, it automatically adds the dualstack prefix to my ELB DNS. What does this represent?

当我尝试 dig 时,两者都返回相同的端点.

When I try dig, both returns the same endpoints.

注意:这是一个内部负载平衡器.

Note: This is an internal load balancer.

推荐答案

dualstack DNS名称返回 EC2-Classic (面向Internet的IPv6和IPv4记录),非VPC)弹性负载平衡器.

The dualstack DNS name returns both IPv6 and IPv4 records for an EC2-Classic (Internet-facing, non-VPC) Elastic Load Balancer.

请参阅

EC2-VPC

VPC中的负载均衡器仅支持IPv4地址.[...]

EC2-VPC

Load balancers in a VPC support IPv4 addresses only. [...]

EC2-Classic中的负载均衡器同时支持IPv4和IPv6地址.[...]

Load balancers in EC2-Classic support both IPv4 and IPv6 addresses. [...]

基本公共DNS名称仅返回IPv4记录.带有 ipv6 前缀的公共DNS名称仅返回IPv6记录.带有 dualstack 前缀的公共DNS名称将同时返回IPv4和IPv6记录.我们建议您通过使用带有 dualstack 前缀的DNS名称来启用IPv6支持,以确保客户端可以使用IPv4或IPv6访问负载均衡器.

The base public DNS name returns only IPv4 records. The public DNS name with the ipv6 prefix returns only IPv6 records. The public DNS name with the dualstack prefix returns both IPv4 and IPv6 records. We recommend that you enable IPv6 support by using the DNS name with the dualstack prefix to ensure that clients can access the load balancer using either IPv4 or IPv6.

尽管在选择 A (IPv4)或的别名目标时,Route53控制台总是总是在 dualstack.之前加上DNS名称.> AAAA (IPv6)资源记录集(如

Although the Route53 console always prepends dualstack. to the DNS name when choosing an Alias Target for an A (IPv4) or AAAA (IPv6) Resource Record Set (as noted in the documentation), and additionally the dualstack.* endpoint always correctly returns an IPv4 A record, only the DNS names for an EC2-Classic ELB (either the dualstack.* or ipv6.* endpoint) currently return IPv6 AAAA records, or serve as a valid alias target for an AAAA record.

您可以使用 dig 进行确认:

dig dualstack.[endpoint] A dualstack.[endpoint] AAAA +short

只有EC2-Classic ELB会返回此命令的IPv4和IPv6地址,其他的只会返回IPv4地址.

Only an EC2-Classic ELB will return both IPv4 and IPv6 addresses for this command, the others will only return an IPv4 address.

这篇关于Dualstack前缀在AWS ELB中是什么意思?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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