Getting information about a DNS zone
Written by
Updated at March 12, 2024
To get information about a DNS zone:
CLI
If you do not have the Yandex Cloud command line interface yet, install and initialize it.
The folder specified in the CLI profile is used by default. You can specify a different folder using the --folder-name
or --folder-id
parameter.
To find out the name or unique ID of a DNS zone, get a list of zones in the folder.
-
View the description of the CLI command to get information about a DNS zone:
yc dns zone get --help
-
Get information about a DNS zone by specifying its name or ID:
yc dns zone get <DNS_zone_name>
Result:
id: dns6oh57qm9n******** folder_id: f01derqpemb4******** created_at: "2023-11-02T08:34:58.493Z" name: example.com. zone: example-zone-name public_visibility: {}