--- title: "레코드 조회" slug: "networking-globaldns-record-getrecordlist" tags: ["Global DNS", "Record"] updated: 2026-09-17T09:16:52Z published: 2026-09-17T09:16:52Z canonical: "api.ncloud-docs.com/networking-globaldns-record-getrecordlist" --- > ## Documentation Index > Fetch the complete documentation index at: https://api.ncloud-docs.com/llms.txt > Use this file to discover all available pages before exploring further. # 레코드 조회 Classic/VPC 환경에서 이용 가능합니다. 지정한 조건에 따라 레코드 정보를 조회합니다. ## 요청 요청 형식을 설명합니다. 요청 형식은 다음과 같습니다. | 메서드 | URI | | --- | --- | | GET | /dns/v1/ncpdns/record/{domainId} | ### 요청 헤더 Record API에서 공통으로 사용하는 헤더에 대한 정보는 [Record API 요청 헤더](/docs/networking-globaldns-record#%EC%9A%94%EC%B2%AD%ED%97%A4%EB%8D%94)를 참조해 주십시오. ### 요청 경로 파라미터 요청 경로 파라미터에 대한 설명은 다음과 같습니다. | 필드 | 타입 | 필수 여부 | 설명 | | --- | --- | --- | --- | | `domainId` | Integer | Required | 도메인 ID - [도메인 조회](/docs/networking-globaldns-record-getdomainlist) 참조 | ### 요청 쿼리 파라미터 요청 쿼리 파라미터에 대한 설명은 다음과 같습니다. | 필드 | 타입 | 필수 여부 | 설명 | | --- | --- | --- | --- | | `page` | Integer | Required | 페이징된 결과의 페이지 번호 - 0부터 입력 가능 | | `size` | Integer | Required | 한 페이지에 보여줄 결과 개수 | | `recordType` | String | Optional | 레코드 타입 - `A` \| `AAAA` \| `CNAME` \| `MX` \| `PTR` \| `SPF` \| `TXT` \| `NS` \| `SRV` \| `CAA` \| `DS` | | `searchContent` | String | Optional | 검색어 - 레코드 이름을 기준으로 검색 | ### 요청 예시 요청 예시는 다음과 같습니다. ``` curl --location --request GET 'https://globaldns.apigw.ntruss.com/dns/v1/ncpdns/record/25***?paze=0&size=1' \ --header 'x-ncp-apigw-timestamp: {Timestamp}' \ --header 'x-ncp-iam-access-key: {Access Key}' \ --header 'x-ncp-apigw-signature-v2: {API Gateway Signature}' ``` ## 응답 응답 형식을 설명합니다. ### 응답 바디 응답 바디는 [RecordResponse](/docs/common-apidatatype-recordresponse#%ED%95%84%EB%93%9C)를 참조해 주십시오. ### 응답 상태 코드 Record API에서 공통으로 사용하는 응답 상태 코드에 대한 정보는 [Record API 응답 상태 코드](/docs/networking-globaldns-record#%EC%9D%91%EB%8B%B5%EC%83%81%ED%83%9C%EC%BD%94%EB%93%9C)를 참조해 주십시오. ### 응답 예시 응답 예시는 다음과 같습니다. ``` { "content": [ { "name": "domain000.com", "host": "@", "type": "SOA", "content": "ns1-1.ns-ncloud.com. ns1-2.ns-ncloud.com. 1 21600 1800 1209600 300", "ttl": 300, "aliasId": null, "aliasYn": false, "lbId": null, "lbYn": false, "lbRegionCode": null, "delYn": false, "domainName": "domain000.com", "createdDate": 1714628484, "modifiedDate": 1714628484, "applyYn": true, "defaultYn": true, "id": 261***, "lbPlatform": null, "lbRegionCode": "KR" } ], "pageable": { "sort": { "sorted": false, "unsorted": true, "empty": true }, "offset": 0, "pageNumber": 0, "pageSize": 1, "paged": true, "unpaged": false }, "last": false, "totalElements": 4, "totalPages": 4, "first": true, "sort": { "sorted": false, "unsorted": true, "empty": true }, "size": 1, "number": 0, "numberOfElements": 1, "empty": false } ``` ### 오류 코드 예시 오류 코드 예시는 다음과 같습니다. ``` { "result": "FAIL", "error": { "errorCode": "X00006", "message": "권한이 없습니다.", "devMessage": "권한이 없습니다." } } ```