Skip to main content
Glama

ESA MCP Server

by aliyun

update_record

Update DNS records like A/AAAA, CNAME, MX, TXT, and more on the ESA MCP Server by providing record ID, TTL, type, and specific data fields. Configure authentication for origins like OSS and S3, ensuring secure access.

Instructions

This operation allows you to update multiple types of DNS records, including but not limited to A/AAAA, CNAME, NS, MX, TXT, CAA, SRV, and URI. You can modify the record content by providing the necessary fields such as Value, Priority, and Flag. For origins added in CNAME records such as OSS and S3, the API enables you to configure authentication details to ensure secure access. Usage notes: The record value (Value) must match the record type. For example, the CNAME record should correspond to the target domain name. You must specify a priority (Priority) for some record types, such as MX and SRV. You must specify specific fields such as Flag and Tag for CAA records. When you update security records such as CERT and SSHFP, you must accurately set fields such as Type and Algorithm.If your origin type is OSS or S3, configure the authentication details in AuthConf based on the permissions.

Input Schema

NameRequiredDescriptionDefault
authConfNoThe origin authentication information of the CNAME record.
bizNameNoThe business scenario of the record for acceleration. Leave the parameter empty if your record is not proxied. Valid values: video_image: video and image. api: API. web: web page.
commentNoThe comments of the record.
dataYesThe DNS record information. The format of this field varies based on the record type. For more information, see https://www.alibabacloud.com/help/doc-detail/2708761.html
hostPolicyNoThe origin host policy. This policy takes effect when the record type is CNAME. You can set the policy in two modes: follow_hostname: match the requested domain name. follow_origin_domain: match the origin's domain name.
proxiedNoSpecifies whether to proxy the record. Only CNAME and A/AAAA records can be proxied. Valid values: true,false
recordIdYesThe record ID, which can be obtained by calling ListRecords .
sourceTypeNoThe type of the origin for the CNAME record. This parameter is required when you add a CNAME record. Valid values: OSS : OSS origin. S3 : S3 origin. LB: Load Balancer origin. OP: origin in an origin pool. Domain: common domain name. If you leave the parameter empty or set its value as null, the default is Domain, which is common domain name.
ttlNoThe TTL of the record. Unit: seconds. The range is 30 to 86,400, or 1. If the value is 1, the TTL of the record is determined by the system.
typeNoThe type of the DNS record. For example, A/AAAA, TXT, MX, NS, SRV, CAA, CERT, SMIMEA, SSHFP, TLSA, URI or CNAME.

Input Schema (JSON Schema)

{ "annotations": { "destructiveHint": false, "idempotentHint": false, "readOnlyHint": false }, "properties": { "authConf": { "description": "The origin authentication information of the CNAME record.", "properties": { "accessKey": { "description": "The access key of the account to which the origin server belongs. This parameter is required when the SourceType is OSS, and AuthType is private_same_account, or when the SourceType is S3 and AuthType is private.", "example": [ "VIxuvJSA2S03f******kp208dy5w7" ], "type": "string" }, "authType": { "description": "The authentication type of the origin server. Different origins support different authentication types. The type of origin refers to the SourceType parameter in this operation. If the type of origin is OSS or S3, you must specify the authentication type of the origin. Valid values: public: public read. Select this value when the origin type is OSS or S3 and the origin access is public read. private: private read. Select this value when the origin type is S3 and the origin access is private read.private_same_account: private read under the same account. Select this value when the origin type is OSS, the origins belong to the same Alibaba Cloud account, and the origins have private read access.", "enum": [ "private", "public", "private_same_account", "private_cross_account" ], "examples": [ "private" ], "type": "string" }, "region": { "description": "The version of the signature algorithm. This parameter is required when the origin type is S3 and AuthType is private. The following two types are supported: v2 v4. If you leave this parameter empty, the default value v4 is used.", "enum": [ "v2", "v4" ], "examples": [ "v2" ], "type": "string" }, "secretKey": { "description": "The secret access key of the account to which the origin server belongs. This parameter is required when the SourceType is OSS, and AuthType is private_same_account, or when the SourceType is S3 and AuthType is private.", "example": [ "u0Nkg5gBK*******QF5wvKMM504JUHt" ], "type": "string" }, "version": { "description": "The region of the origin. If the origin type is S3, you must specify this value. You can get the region information from the official website of S3.", "example": [ "us-east-1" ], "type": "string" } }, "type": "object" }, "bizName": { "description": "The business scenario of the record for acceleration. Leave the parameter empty if your record is not proxied. Valid values: video_image: video and image. api: API. web: web page.", "enum": [ "api", "web", "video_image" ], "examples": [ "web" ], "type": "string" }, "comment": { "description": "The comments of the record.", "example": [ "This is a remark." ], "type": "string" }, "data": { "description": "The DNS record information. The format of this field varies based on the record type. For more information, see https://www.alibabacloud.com/help/doc-detail/2708761.html", "properties": { "algorithm": { "description": "The encryption algorithm used for the record, specified within the range from 0 to 255. This parameter is required when you add CERT or SSHFP records.", "example": [ 0 ], "type": "number" }, "certificate": { "description": "The public key of the certificate. This parameter is required when you add CERT, SMIMEA, or TLSA records.", "example": [ "dGVzdGFkYWxrcw==" ], "type": "string" }, "fingerprint": { "description": "The public key fingerprint of the record. This parameter is required when you add a SSHFP record.", "example": [ "abcdef1234567890" ], "type": "string" }, "flag": { "description": "The flag bit of the record. The Flag for a CAA record indicates its priority and how it is processed, specified within the range of 0 to 255. This parameter is required when you add a CAA record.", "example": [ 128 ], "type": "number" }, "keyTag": { "description": "The public key identification for the record, specified within the range of 0 to 65,535. This parameter is required when you add a CAA record.", "example": [ 0 ], "type": "number" }, "matchingType": { "description": "The algorithm policy used to match or validate the certificate, specified within the range 0 to 255. This parameter is required when you add SMIMEA or TLSA records.", "example": [ 0 ], "type": "number" }, "port": { "description": "The port of the record, specified within the range of 0 to 65,535. This parameter is required when you add an SRV record.", "example": [ 0 ], "type": "number" }, "priority": { "description": "The priority of the record, specified within the range of 0 to 65,535. A smaller value indicates a higher priority. This parameter is required when you add MX, SRV, and URI records.", "example": [ 10 ], "type": "number" }, "selector": { "description": "The type of certificate or public key, specified within the range of 0 to 255. This parameter is required when you add SMIMEA or TLSA records.", "example": [ 0 ], "type": "number" }, "tag": { "description": "The label of the record. The Tag of a CAA record indicate its specific type and usage. This parameter is required when you add a CAA record.", "example": [ "issue" ], "type": "string" }, "type": { "description": "The certificate type of the record (in CERT records), or the public key type (in SSHFP records). This parameter is required when you add CERT or SSHFP records.", "example": [ 0 ], "type": "number" }, "usage": { "description": "The usage identifier of the record, specified within the range of 0 to 255. This parameter is required when you add SMIMEA or TLSA records.", "example": [ 0 ], "type": "number" }, "value": { "description": "The record value or part of the record content. This parameter is required when you add A/AAAA, CNAME, NS, MX, TXT, CAA, SRV, and URI records. It has different meanings based on different types of records:A/AAAA: the IP address(es). Separate multiple IPs with commas (,). You must have at least one IPv4 address. CNAME: the target domain name. NS: the name servers for the domain name. MX: a valid domain name of the target mail server. TXT: a valid text string. CAA: a valid domain name of the certificate authority. SRV: a valid domain name of the target host. URI: a valid URI string.", "example": [ "example.com" ], "type": "string" }, "weight": { "description": "The weight of the record, specified within the range of 0 to 65,535. This parameter is required when you add SRV or URI records.", "example": [ 0 ], "type": "number" } }, "type": "object" }, "hostPolicy": { "description": "The origin host policy. This policy takes effect when the record type is CNAME. You can set the policy in two modes: follow_hostname: match the requested domain name. follow_origin_domain: match the origin's domain name.", "enum": [ "follow_hostname", "follow_origin_domain" ], "example": [ "follow_hostname" ], "type": "string" }, "proxied": { "description": "Specifies whether to proxy the record. Only CNAME and A/AAAA records can be proxied. Valid values: true,false", "enum": [ true, false ], "examples": [ true ], "type": "boolean" }, "recordId": { "description": "The record ID, which can be obtained by calling ListRecords .", "examples": [ 1234567890123 ], "type": "number" }, "sourceType": { "description": "The type of the origin for the CNAME record. This parameter is required when you add a CNAME record. Valid values: OSS : OSS origin. S3 : S3 origin. LB: Load Balancer origin. OP: origin in an origin pool. Domain: common domain name. If you leave the parameter empty or set its value as null, the default is Domain, which is common domain name.", "enum": [ "OSS", "S3", "LB", "OP", "Domain", "IP" ], "examples": [ "OSS" ], "type": "string" }, "ttl": { "description": "The TTL of the record. Unit: seconds. The range is 30 to 86,400, or 1. If the value is 1, the TTL of the record is determined by the system.", "examples": [ 30 ], "type": "number" }, "type": { "description": "The type of the DNS record. For example, A/AAAA, TXT, MX, NS, SRV, CAA, CERT, SMIMEA, SSHFP, TLSA, URI or CNAME.", "enum": [ "A/AAA", "TXT", "MX", "NS", "SRV", "CAA", "CERT", "SMIMEA", "SSHFP", "TLSA", "URI", "CNAME" ], "examples": [ "A/AAA" ], "type": "string" } }, "required": [ "recordId", "data" ], "type": "object" }

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/aliyun/mcp-server-esa'

If you have feedback or need assistance with the MCP directory API, please join our Discord server