gcloud dns managed-zones

NAME
gcloud dns managed-zones - manage your Cloud DNS managed-zones
SYNOPSIS
gcloud dns managed-zonesCOMMAND[GCLOUD_WIDE_FLAG]
DESCRIPTION
Manage your Cloud DNS managed-zones. SeeManaging Zones for details.
EXAMPLES
To create a managed-zone, run:
gclouddnsmanaged-zonescreatemy-zone--description="My Zone"--dns-name="my.zone.com."

To delete a managed-zone, run:

gclouddnsmanaged-zonesdeletemy-zone

To view the details of a managed-zone, run:

gclouddnsmanaged-zonesdescribemy-zone

To see the list of all managed-zones, run:

gclouddnsmanaged-zoneslist
GCLOUD WIDE FLAGS
These flags are available to all commands:--help.

Run$gcloud help for details.

COMMANDS
COMMAND is one of the following:
create
Create a Cloud DNS managed-zone.
delete
Delete an empty Cloud DNS managed-zone.
describe
View the details of a Cloud DNS managed-zone.
get-iam-policy
Get the IAM policy for a Cloud DNS managed-zone.
list
View the list of all your managed-zones.
set-iam-policy
Set the IAM policy for a Cloud DNS managed-zone.
update
Update an existing Cloud DNS managed-zone.
NOTES
These variants are also available:
gcloudalphadnsmanaged-zones
gcloudbetadnsmanaged-zones

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025-06-17 UTC.