About Cloud DNS

This overview page explains how you can manage DNS records using Cloud DNS in Google Distributed Cloud (GDC) air-gapped. Cloud DNS provides a highly-reliable, scalable way to manage DNS records, through a command line interface and a Kubernetes-based API. Learn how Cloud DNS works in GDC, including the distinctions between public and private DNS zones.

The intended audience for this document is platform administrators and application operators responsible for network administration and managing DNS for their organization. This document assumes you have a basic understanding of essential networking and DNS concepts.

Zone types for Cloud DNS

A DNS zone is a specific portion of the DNS namespace that you are responsible for. GDC offers two types of managed DNS zones:

  • Public DNS zones: These zones are visible and accessible from anywhere in your network. Public zones are used for services that you want to be reachable by users outside of your GDC.
  • Private DNS zones: These zones are only accessible from within your default customer Virtual Private Cloud (VPC) in GDC. Private zones are ideal for internal services and applications that must not be exposed to the external network.

Create DNS records within zones

Within a DNS zone, you create DNS records. Each record associates a domain name or subdomain with a specific value, such as an IP address, another domain name, or text information. Different types of DNS records serve different purposes, such as directing traffic, defining mail servers, and verifying ownership. You can configure the following record types:

  • Address (A) record: maps a domain name to one or more IPv4 addresses. This record is the most fundamental record type for pointing a domain to a server.
  • Canonical Name (CNAME) record: creates an alias of one domain name to another canonical (authoritative) domain name. This record type is useful for redirecting traffic or simplifying DNS management.
  • Text (TXT) record: lets you associate arbitrary text with a domain name. These records are often used for verification purposes or to store information like Sender Policy Framework (SPF) records for email authentication.
  • Pointer (PTR) record: maps an IP address back to a domain name, also known as reverse DNS lookup. This record is often used for email server reputation and logging analysis.
  • Mail Exchanger (MX) record: specifies the mail servers responsible for accepting email for a domain. This is essential for setting up email services.

The ResourceRecordSet API in GDC lets you create and manage DNS records within a DNS zone. This API lets you specify the details of a set of identical DNS records that share the same name, type, and TTL (Time-To-Live).

DNS operations

You can use the gdcloud CLI or the Kubernetes API in GDC to create DNS zones and create DNS records. These interfaces let you define the state of your DNS zones, including their name, description, and visibility. The API provides the following:

  • DNS zone creation and management: Define and configure DNS zones such as domain name, description, public or private visibility.
  • Zone management: List, update, and delete managed DNS zones.
  • Distributed deployment and replication: Replicate DNS zones across GDC air-gapped zones for high availability and global distribution.
  • Status monitoring: Track overall zone health, deployment progress, and individual replica status.

For the full reference documentation for DNS zones in GDC, see gdcloud dns managed-zones and ManagedDNSZone.

What's next