gcloud beta dns managed-zones - manage your Cloud DNS managed-zones
gcloud beta dns managed-zones COMMAND [GCLOUD_WIDE_FLAG ...]
(BETA) Manage your Cloud DNS managed-zones. See Managing Zones https://cloud.google.com/dns/zones/ for details.
To create a managed-zone, run:
$ gcloud beta dns managed-zones create my-zone \ --description="My Zone" --dns-name="my.zone.com."
To delete a managed-zone, run:
$ gcloud beta dns managed-zones delete my-zone
To view the details of a managed-zone, run:
$ gcloud beta dns managed-zones describe my-zone
To see the list of all managed-zones, run:
$ gcloud beta dns managed-zones list
These flags are available to all commands: --help.
Run $ gcloud help for details.
COMMAND is one of the following:
- create
(BETA) Create a Cloud DNS managed-zone.
- delete
(BETA) Delete an empty Cloud DNS managed-zone.
- describe
(BETA) View the details of a Cloud DNS managed-zone.
- get-iam-policy
(BETA) Get the IAM policy for a Cloud DNS managed-zone.
- list
(BETA) View the list of all your managed-zones.
- set-iam-policy
(BETA) Set the IAM policy for a Cloud DNS managed-zone.
- update
(BETA) Update an existing Cloud DNS managed-zone.
This command is currently in beta and might change without notice. These variants are also available:
$ gcloud dns managed-zones
$ gcloud alpha dns managed-zones