Public Zones

In Cloud DNS, a public zone refers to a DNS zone publicly accessible over the internet. These zones are authoritative and manage DNS records for publicly resolvable domain names, such as example.com, www.example.com. Public zones ensure you can reach your websites, services, and APIs globally via registered domain names. Public zones are further categorized into two types: Primary Zones and Secondary Zones.

Primary Zone

A primary zone is a public zone where Cloud DNS is the DNS data's primary (authoritative) source. In this configuration:

  • DNS record management (such as A, AAAA, CNAME, MX, etc.) is performed directly within the corresponding primary zone.

  • Changes to the zone data are propagated to other DNS servers, if applicable.

  • It is the read-write copy of the zone.

Primary zones are ideal for complete control over DNS records, making Cloud DNS the original source of information for the domain.

Secondary Zone

A secondary zone is a public zone configured to replicate DNS records from a designated primary DNS server using the Authoritative Zone Transfer (AXFR) protocol.

In this configuration:

  • The zone is read-only in Cloud DNS.

  • It synchronizes with a primary DNS server, typically hosted elsewhere.

  • It provides redundancy and high availability as a backup DNS responder.

Secondary zones are functional when DNS records are managed on an external primary server containing the domain's original information, and you want to use Cloud DNS to distribute DNS responses globally.

Last updated

Was this helpful?