gcloud dns record-sets

NAME
gcloud dns record-sets - manage the record-sets within your managed-zones
SYNOPSIS
gcloud dns record-setsGROUP |COMMAND[GCLOUD_WIDE_FLAG]
DESCRIPTION
Manage the record-sets within your managed-zones.
EXAMPLES
To import record-sets from a BIND zone file, run:
gclouddnsrecord-setsimport--zone=MANAGED_ZONE--zone-file-formatZONE_FILE

To export record-sets in yaml format, run:

gclouddnsrecord-setsexport--zone=MANAGED_ZONE

To see how to make scriptable changes to your record-sets through transactions,run:

gclouddnsrecord-setstransaction--help

To list all changes, run:

gclouddnsrecord-setschangeslist--zone=MANAGED_ZONE

To see change details, run:

gclouddnsrecord-setschangesdescribeCHANGE_ID--zone=MANAGED_ZONE

To see the list of all record-sets, run:

gclouddnsrecord-setslist--zone=MANAGED_ZONE
GCLOUD WIDE FLAGS
These flags are available to all commands:--help.

Run$gcloud help for details.

GROUPS
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.
COMMANDS
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.
NOTES
These variants are also available:
gcloudalphadnsrecord-sets
gcloudbetadnsrecord-sets

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025-06-17 UTC.