本页面上的部分或全部信息可能不适用于 Trusted Cloud by S3NS。
CNAME 追踪
CNAME 追踪是指对从初始查询的 CNAME 记录应答返回的 DNS 名称的后续查找。公开 DNS 解析器会根据其配置执行 CNAME 应答的后续查找。通常,公开解析器会在任何公开区域中追踪 CNAME 应答。
如果 Trusted Cloud 虚拟机使用其元数据服务器 (169.254.169.254
) 作为其域名服务器,并且 VPC 网络的出站服务器政策中未定义备用域名服务器,则 Cloud DNS 会执行 CNAME 追踪,如下表所示。
CNAME 应答的来源 |
Cloud DNS 解析器行为 |
具有本地记录的 Cloud DNS 专用区域 (不是转发区域) |
Cloud DNS 系统在获得 VPC 网络授权的 Cloud DNS 专用区域中查询 CNAME 应答。
Cloud DNS 系统不会在任何公开 DNS 区域(包括 Cloud DNS 公开区域)中查询 CNAME 应答。
|
Cloud DNS 转发区域 |
Cloud DNS 系统不会查询从转发目标域名服务器收到的任何 CNAME 应答。 |
Cloud DNS 响应政策区域 |
Cloud DNS 系统不会查询从响应政策区域的本地数据规则收到的任何 CNAME 应答。 |
后续步骤
- 如需了解您在使用 Cloud DNS 时可能会遇到的常见问题的解决方案,请参阅问题排查。
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-08-11。
[[["易于理解","easyToUnderstand","thumb-up"],["解决了我的问题","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["没有我需要的信息","missingTheInformationINeed","thumb-down"],["太复杂/步骤太多","tooComplicatedTooManySteps","thumb-down"],["内容需要更新","outOfDate","thumb-down"],["翻译问题","translationIssue","thumb-down"],["示例/代码问题","samplesCodeIssue","thumb-down"],["其他","otherDown","thumb-down"]],["最后更新时间 (UTC):2025-08-11。"],[[["CNAME chasing is the process where a DNS resolver performs a subsequent lookup of a DNS name returned from a CNAME record."],["When Google Cloud VMs use the metadata server as their name server, Cloud DNS will follow specific CNAME chasing rules based on the source of the CNAME answer."],["Cloud DNS performs queries for CNAME answers within its private zones if those zones have local records and are authorized for the VPC network, but does not check public DNS zones."],["Cloud DNS does not perform queries for CNAME answers received from forwarding target name servers or from response policy zones."],["Cloud DNS will query both the internal DNS service and public zones, including its own public zones, when the CNAME answer is sourced from a Cloud DNS public zone, but does not perform queries for private zones in this scenario."]]],[]]