How to create a Managed Public Zone in Google Cloud DNS

September 12, 2024 / Domain and DNS

Creating a Managed Public Zone in Google Cloud DNS allows you to host and manage the DNS records of a domain, ensuring global availability and scalability for resolving domain queries. This is what you are going to explore in this article.

Follow the process:

  1. Set Up Google Cloud SDK (Optional):
    If you are using CLI, confirm that you have the Google Cloud SDK installed and authenticated to your Google Cloud project.

    gcloud auth login
  2. Access Google Cloud Console:
    1. Go to the Google Cloud Console.
    2. Select “Network Services” and click on “Cloud DNS” as shown below.
      cloud DNS
  3. Create a New Managed Public Zone:
    1. In the Cloud DNS page, click on Create Zone.
    2. Under Zone type, select Public.
    3. Fill in the following details:
      1. Zone Name: A unique name for your zone (e.g., my-public-zone).
      2. DNS Name: The DNS name for your zone (e.g., example.com.).
      3. Description: This is not compulsory, but you can add info to describe this zone.
      4. DNSSEC: You can leave this as “Off” or permit DNSSEC if you want extra security.
    4. Click “Create” to confirm the creation of your public zone.
      create
  4. Add DNS Records:
    1. After creating the zone, you will be directed to the Zone details page, where you can click “Add a record” to begin adding DNS records for your domain.
      add a record
    2. Enter the relevant information for each DNS record type (A, CNAME, MX, etc.).
  5. Assign Your Domain to Google Cloud DNS:
    To confirm your domain name points to the new public zone:

    1. Visit your domain registrar and update the nameservers to those provided by Google Cloud DNS for your public zone.
    2. You can find these nameservers listed in the zone details after the zone is created.

After updating the nameservers, it may take a few hours for propagation. Once complete, your managed public zone will be active and handling DNS queries for your domain.

This is how you can create a Managed Public Zone in Google Cloud DNS. If you encounter any issues, don’t hesitate to reach out to our support team for assistance.

Want to configure Google DNS on your Mac? Check out our guide on setting up Google DNS on macOS!