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