gcloud alpha dns managed-zones - manage your Cloud DNS managed-zones
gcloud alpha dns managed-zones GROUP | COMMAND [GCLOUD_WIDE_FLAG ...]
(ALPHA) Manage your Cloud DNS managed-zones. See Managing Zones https://cloud.google.com/dns/zones/ for details.
To create a managed-zone, run:
$ gcloud alpha dns managed-zones create my-zone \ --description="My Zone" --dns-name="my.zone.com."
To delete a managed-zone, run:
$ gcloud alpha dns managed-zones delete my-zone
To view the details of a managed-zone, run:
$ gcloud alpha dns managed-zones describe my-zone
To see the list of all managed-zones, run:
$ gcloud alpha dns managed-zones list
These flags are available to all commands: --help.
Run $ gcloud help for details.
GROUP is one of the following:
- config
(ALPHA) Manage Dns managed zone configurations.
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.
This command is currently in alpha and might change without notice. If this command fails with API permission errors despite specifying the correct project, you might be trying to access an API with an invitation-only early access allowlist. These variants are also available:
$ gcloud dns managed-zones
$ gcloud beta dns managed-zones