Cloud DNS API, REST: DnsZone.GetRecordSet
Статья создана
Обновлена 8 августа 2025 г.
Returns the specified record set.
HTTP request
GET https://dns.api.yandexcloud.kz/dns/v1/zones/{dnsZoneId}:getRecordSet
Path parameters
|
Field |
Description |
|
dnsZoneId |
string Required field. ID of the DNS zone to get record set from. To get a DNS zone ID, make a DnsZoneService.List request. |
Query parameters
|
Field |
Description |
|
name |
string Required field. Name of the record set. |
|
type |
string Required field. Type of the record set. |
Response
HTTP Code: 200 - OK
{
"name": "string",
"type": "string",
"ttl": "string",
"data": [
"string"
]
}
A record set. For details about the concept, see Resource record.
|
Field |
Description |
|
name |
string Domain name. |
|
type |
string Record type. |
|
ttl |
string (int64) Time to live in seconds. |
|
data[] |
string Data of the record set. |