gcloud alpha dns managed-zones

NAME
gcloud alpha dns managed-zones - manage your Cloud DNS managed-zones
SYNOPSIS
gcloud alpha dns managed-zonesGROUP |COMMAND[GCLOUD_WIDE_FLAG]
DESCRIPTION
(ALPHA) Manage your Cloud DNS managed-zones. SeeManaging Zones for details.
EXAMPLES
To create a managed-zone, run:
gcloudalphadnsmanaged-zonescreatemy-zone--description="My Zone"--dns-name="my.zone.com."

To delete a managed-zone, run:

gcloudalphadnsmanaged-zonesdeletemy-zone

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

gcloudalphadnsmanaged-zonesdescribemy-zone

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

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

Run$gcloud help for details.

GROUPS
GROUP is one of the following:
config
(ALPHA) Manage Dns managed zone configurations.
COMMANDS
COMMAND is one of the following:
create
(ALPHA) Create a Cloud DNS managed-zone.
delete
(ALPHA) Delete an empty Cloud DNS managed-zone.
describe
(ALPHA) View the details of a Cloud DNS managed-zone.
get-iam-policy
(ALPHA) Get the IAM policy for a Cloud DNS managed-zone.
list
(ALPHA) View the list of all your managed-zones.
set-iam-policy
(ALPHA) Set the IAM policy for a Cloud DNS managed-zone.
update
(ALPHA) Update an existing Cloud DNS managed-zone.
NOTES
This command is currently in alpha and might change without notice. If thiscommand fails with API permission errors despite specifying the correct project,you might be trying to access an API with an invitation-only early accessallowlist. These variants are also available:
gclouddnsmanaged-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.