Getting a list of DNS zones
Written by
Updated at March 17, 2026
Management console
CLI
API
- In the management console
, select the folder contaning DNS zones you want to view. - Select Cloud DNS.
- You will see the list of DNS zones on the Zones page.
If you do not have the Yandex Cloud CLI yet, install and initialize it.
The folder used by default is the one specified when creating the CLI profile. To change the default folder, use the yc config set folder-id <folder_ID> command. You can also set a different folder for any specific command using the --folder-name or --folder-id options.
-
See the description of the CLI command for getting a list of DNS zones:
yc dns zone list --help -
To get a list of DNS zones, run this command:
yc dns zone listResult:
+----------------------+------------+---------+------------------------------+-------------+ | ID | NAME | ZONE | VISIBILITY | DESCRIPTION | +----------------------+------------+---------+------------------------------+-------------+ | dns5djfi2h68******** | test-zone. | staging | PRIVATE enpncp31fh3n******** | | +----------------------+------------+---------+------------------------------+-------------+
To get a list of DNS zones, use the list REST API method for the DnsZone resource or the DnsZoneService/List gRPC API call.