简体   繁体   English

如何为 AWS 负载均衡器配置 Google Cloud DNS

[英]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.

相关问题 我们可以在谷歌云 https 负载均衡器中配置多少个前端公共 ip? - How many frontend public ip can we configure in google cloud https load balancer? 如何通过 openvpn 云将域路由到 aws 内部负载均衡器? - How to route domain via openvpn cloud to aws internal load balancer? 如何在 Google Cloud Load Balancer 上记录 SSL/TLS 握手详细信息 - How to log SSL/TLS Handshake details on Google Cloud Load Balancer GCP Google Cloud - 无法创建负载均衡器 - GCP Google Cloud - Cannot create Load Balancer 谷歌云 HTTPS 负载均衡器 session 亲和力 - google cloud HTTPS load balancer session affinity 调用 Rest API 使用 AWS Load Balancer 默认 DNS - Call Rest API using AWS Load Balancer default DNS 如何配置域 / dns 以在 AWS 中使用应用程序? - How to configure domain / dns to use an application in AWS? 是否可以将内部负载均衡器部署到一个 su.net 上? (AWS 云) - Can an internal load balancer be deployed to one subnet? (AWS Cloud) Google Cloud Load Balancer Cloud Run 开发人员访问权限 - Google Cloud Load Balancer Cloud Run Developer Access 如何设置谷歌云负载平衡器以利用清漆中的 http2 支持? - How to setup a google cloud load balancer to take advantage of http2 support in varnish?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM