- 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. See Managing Zones for details.
- EXAMPLES
- To create a managed-zone, run:
gcloud dns managed-zones create my-zone --description = "My Zone" --dns-name = "my.zone.com."To delete a managed-zone, run:
gcloud dns managed-zones delete my-zoneTo view the details of a managed-zone, run:
gcloud dns managed-zones describe my-zoneTo see the list of all managed-zones, run:
gcloud dns managed-zones list - GCLOUD WIDE FLAGS
- These flags are available to all commands:
--help.Run
$ gcloud helpfor details. - COMMANDS
-
is one of the following:COMMAND-
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:
gcloud alpha dns managed-zonesgcloud beta dns managed-zones
gcloud dns managed-zones
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-05-27 UTC.

