Stay organized with collections
Save and categorize content based on your preferences.
CNAME chasing refers to a subsequent lookup of a DNS name returned from a CNAME
record answer to an initial query. Public DNS resolvers perform subsequent
lookup of CNAME answers according to their configuration. Generally, public
resolvers chase CNAME answers in any public zones.
When Google Cloud VMs use their metadata server (169.254.169.254) as
their name server, and no alternative name server is defined in an outbound
server policy of the VPC network, Cloud DNS performs
CNAME chasing as described in the following table.
Source of CNAME answer
Cloud DNS resolver behavior
Cloud DNS private zone
with local records (not a forwarding zone)
Cloud DNS systems perform queries for the CNAME answer in
Cloud DNS private zones that are authorized for the
VPC network.
Cloud DNS systems don't perform queries for
the CNAME answer in any public DNS zones, including Cloud DNS
public zones.
Cloud DNS forwarding zone
Cloud DNS systems don't perform queries for
any CNAME answers received from forwarding target name servers.
Cloud DNS response policy zone
Cloud DNS systems don't perform queries for
any CNAME answers received from local data rules of response policy
zones.
Cloud DNS public zone
Cloud DNS systems perform queries for the CNAME answer in the
internal DNS service and public zones,
including Cloud DNS public zones.
Cloud DNS systems don't perform queries for
the CNAME answer in any Cloud DNS private zones (including any
forwarding, peering, or response policy zones).
What's next
To find solutions for common issues that you might encounter when using
Cloud DNS, see Troubleshooting.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-04-02 UTC."],[[["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."]]],[]]