Original study notes for cloud certification exams — Google Cloud first, more clouds in build.

Cloud DNS Study Notes

Cloud DNS is Google Cloud's managed, authoritative Domain Name System service for publishing DNS zones and records for your domains. It also provides private zones, forwarding, and peering features that control name resolution inside VPC networks, making it both a public DNS host and an internal name-resolution tool tested on the ACE exam.

Exam tip: When a question gives internal hostnames that must stay hidden from the internet, answer private zone; when on-premises names must resolve from Google Cloud, answer forwarding zone.

Key facts

What the exam expects you to know

Cloud DNS vs Registrar or On-Premises DNS: when to use which

Use Cloud DNS when you want DNS managed in the same project and IAM model as your Google Cloud resources, with API and gcloud automation, private zones integrated with VPCs, and global anycast serving for public zones. Keep a registrar's DNS or an existing on-premises system when corporate policy centralises DNS elsewhere, but then you lose private zone, peering, and server policy features. Exam scenarios mentioning internal-only hostnames, split horizon, or forwarding to on-premises almost always require Cloud DNS features that a basic registrar DNS service cannot provide at all. See also the Registrar or On-Premises DNS notes.

Useful gcloud commands

gcloud dns managed-zones create my-zone --dns-name=example.com. --visibility=public
gcloud dns record-sets create www.example.com. --zone=my-zone --type=A --ttl=300 --rrdatas=203.0.113.10
gcloud dns managed-zones list
gcloud dns record-sets list --zone=my-zone

Common exam traps

Frequently asked questions

What is the difference between a public and a private Cloud DNS zone?

A public zone is an authoritative zone answerable by anyone on the internet once the registrar delegates to Google's name servers. A private zone with the same DNS name is visible only inside the VPC networks you bind to it, returning internal addresses or internal-only records. Using both together creates split-horizon DNS for different internal and external answers.

How do on-premises systems resolve Google Cloud private zone names?

You create an inbound forwarding entry point by configuring a server policy with inbound forwarding on the VPC. That gives you forwarding IP addresses in the VPC that on-premises DNS servers can query over Cloud VPN or Cloud Interconnect. Without that policy and the supporting routes and firewall rules, private zones remain resolvable only from inside Google Cloud.

What is a DNS forwarding zone in Cloud DNS?

A forwarding zone sends all queries for its DNS suffix to a set of target name servers you specify instead of answering from local records. It is the standard pattern for hybrid DNS, where instances in Google Cloud need to resolve corporate domain names hosted on on-premises DNS servers, while other domains continue to resolve normally through Google Cloud.

Study aid disclaimer: Cloud Cert Notes is an independent educational study aid. It is not affiliated with, endorsed by, or sponsored by Google, Microsoft, Amazon, Oracle, or Alibaba. Google Cloud, Associate Cloud Engineer, and Cloud Digital Leader are trademarks of Google LLC; all other certification names and product names are trademarks of their respective owners. Always confirm service details against the official provider documentation before sitting an exam.