--- title: "레코드 수정" slug: "networking-globaldns-record-updaterecordlist" tags: ["Global DNS", "Record"] updated: 2026-09-17T09:16:52Z published: 2026-09-17T09:16:52Z canonical: "api.ncloud-docs.com/networking-globaldns-record-updaterecordlist" --- > ## 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 | | --- | --- | | PUT | /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) 참조 | ### 요청 바디 요청 바디는 [RecordUpdateRequest](/docs/common-apidatatype-recordupdaterequest#%ED%95%84%EB%93%9C)를 참조해 주십시오. ### 요청 예시 요청 예시는 다음과 같습니다. ``` curl --location --request PUT 'https://globaldns.apigw.ntruss.com/dns/v1/ncpdns/record/25***' \ --header 'x-ncp-apigw-timestamp: {Timestamp}' \ --header 'x-ncp-iam-access-key: {Access Key}' \ --header 'x-ncp-apigw-signature-v2: {API Gateway Signature}' \ --header 'Content-Type: application/json' \ --data '[ { "id": 27****, "host": "record002", "type": "A", "content": "1.1.1.1", "ttl": 400, "aliasId": null, "lbId": null, "lbRegionCode": "KR" }, { "id": 27****, "host": "record003", "type": "AAAA", "content": "2001:0db8:85a3:0000:0000:8a2e:0370:7334", "ttl": 300, "aliasId": null, "lbId": null, "lbRegionCode": "SGN" } ]' ``` ## 응답 응답 형식을 설명합니다. ### 응답 상태 코드 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)를 참조해 주십시오. ### 오류 코드 예시 오류 코드 예시는 다음과 같습니다. ``` { "result": "FAIL", "error": { "errorCode": "X00007", "message": "유효하지 않은 레코드입니다.", "devMessage": "유효하지 않은 레코드입니다.", "moreInfo": { "validationInfo": { "rrsetValidationResponseList": [ { "recordType": "A", "field": "host", "recordName": "www.example.com", "msg": "입력한 호스트와 타입은 중복되는 다른 리소스 레코드에 존재 합니다. 추가하시려면 해당 리소스를 변경해주세요.", "index": 0 } ], "domainId": 749 } } } } ```