- 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:
gcloud dns record-sets import --zone = MANAGED_ZONE --zone-file-format ZONE_FILETo export record-sets in yaml format, run:
gcloud dns record-sets export --zone = MANAGED_ZONETo see how to make scriptable changes to your record-sets through transactions, run:
gcloud dns record-sets transaction --helpTo list all changes, run:
gcloud dns record-sets changes list --zone = MANAGED_ZONETo see change details, run:
gcloud dns record-sets changes describe CHANGE_ID --zone = MANAGED_ZONETo see the list of all record-sets, run:
gcloud dns record-sets list --zone = MANAGED_ZONE - GCLOUD WIDE FLAGS
- These flags are available to all commands:
--help.Run
$ gcloud helpfor details. - GROUPS
-
is one of the following:GROUP-
changes - View details about changes to your Cloud DNS record-sets.
-
transaction - Make scriptable and transactional changes to your record-sets.
-
- COMMANDS
-
is one of the following:COMMAND-
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:
gcloud alpha dns record-setsgcloud beta dns record-sets
gcloud dns record-sets
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-05-27 UTC.

