gcloud alpha dns record-sets - manage the record-sets within your managed-zones
gcloud alpha dns record-sets GROUP | COMMAND [GCLOUD_WIDE_FLAG ...]
(ALPHA) Manage the record-sets within your managed-zones.
To import record-sets from a BIND zone file, run:
$ gcloud alpha dns record-sets import --zone=MANAGED_ZONE \ --zone-file-format ZONE_FILE
To export record-sets in yaml format, run:
$ gcloud alpha dns record-sets export --zone=MANAGED_ZONE
To see how to make scriptable changes to your record-sets through transactions, run:
$ gcloud alpha dns record-sets transaction --help
To list all changes, run:
$ gcloud alpha dns record-sets changes list --zone=MANAGED_ZONE
To see change details, run:
$ gcloud alpha dns record-sets changes describe CHANGE_ID \ --zone=MANAGED_ZONE
To see the list of all record-sets, run:
$ gcloud alpha dns record-sets list --zone=MANAGED_ZONE
These flags are available to all commands: --help.
Run $ gcloud help for details.
GROUP is one of the following:
- changes
(ALPHA) View details about changes to your Cloud DNS record-sets.
- transaction
(ALPHA) Make scriptable and transactional changes to your record-sets.
COMMAND is one of the following:
- create
(ALPHA) Creates a record-set in a managed-zone.
- delete
(ALPHA) Delete a record-set in a managed-zone.
- describe
(ALPHA) Describe a record-set in a managed-zone.
- export
(ALPHA) Export your record-sets into a file.
- import
(ALPHA) Import record-sets into your managed-zone.
- list
(ALPHA) View the list of record-sets in a managed-zone.
- update
(ALPHA) Updates a record-set in a 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 record-sets
$ gcloud beta dns record-sets