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