Yandex Cloud
Search
Contact UsGet started
  • Blog
  • Pricing
  • Documentation
  • All Services
  • System Status
    • Featured
    • Infrastructure & Network
    • Data Platform
    • Containers
    • Developer tools
    • Serverless
    • Security
    • Monitoring & Resources
    • ML & AI
    • Business tools
  • All Solutions
    • By industry
    • By use case
    • Economics and Pricing
    • Security
    • Technical Support
    • Customer Stories
    • Start testing with double trial credits
    • Cloud credits to scale your IT product
    • Gateway to Russia
    • Cloud for Startups
    • Education and Science
    • Yandex Cloud Partner program
  • Blog
  • Pricing
  • Documentation
© 2025 Direct Cursus Technology L.L.C.
Yandex Cloud DNS
  • Getting started
  • Access management
  • Pricing policy
  • Terraform reference
    • Authentication with the API
      • Overview
        • Overview
        • Get
        • List
        • Create
        • Update
        • Delete
        • GetRecordSet
        • ListRecordSets
        • UpdateRecordSets
        • UpsertRecordSets
        • ListOperations
        • ListAccessBindings
        • SetAccessBindings
        • UpdateAccessBindings
        • UpdatePrivateNetworks
  • Monitoring metrics
  • Audit Trails events
  • Release notes
  • FAQ

In this article:

  • HTTP request
  • Path parameters
  • Query parameters
  • Response
  1. API reference
  2. REST
  3. DnsZone
  4. GetRecordSet

Cloud DNS API, REST: DnsZone.GetRecordSet

Written by
Yandex Cloud
Updated at November 26, 2024
  • HTTP request
  • Path parameters
  • Query parameters
  • Response

Returns the specified record set.

HTTP request

GET https://dns.api.cloud.yandex.net/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.

Was the article helpful?

Previous
Delete
Next
ListRecordSets
© 2025 Direct Cursus Technology L.L.C.