[英]How to configure Google Cloud DNS for an AWS Load balancer
I have an AWS load balancer.我有一个 AWS 负载均衡器。 AWS assigns a DNA name like: data-vm-190.eu-west-1.elb.amazonaws.com
AWS 分配一个 DNA 名称,例如:data-vm-190.eu-west-1.elb.amazonaws.com
When I try to create a DNS CNAME record in Google Cloud, I get this error: "Record data must be in the format server-1.example.com"当我尝试在 Google Cloud 中创建 DNS CNAME 记录时,出现此错误:“记录数据必须采用 server-1.example.com 格式”
How can I get past this?我怎样才能克服这个?
The solution is to append a dot ( .
) to the record name.解决方法是给 append 一个点 (
.
) 到记录名称。
Adding a dot (period or .
) at the end of a domain name declares a fully qualified domain name.在域名末尾添加一个点(句点或
.
)声明一个完全限定的域名。 Without the trailing dot, some DNS servers will treat the name as relative to the zone name.如果没有尾随点,一些 DNS 服务器会将名称视为相对于区域名称。
In the hierarchy of the domain name system, the root servers are named .
在域名系统的层次结构中,根服务器被命名为
.
. . The domain
com
is a child of the root servers.域
com
是根服务器的子域。 The fully qualified name for com
is com.
com 的完全限定名称是
com
com.
. . Popular usage dropped the trailing root servers (dropped the
.
) but DNS still treats that character as important.流行的用法删除了尾随根服务器(删除了
.
),但 DNS 仍然将该字符视为重要字符。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.