Creates multiple DNS records in a batch. Multiple record types are supported.
Operation description
This API operation allows you to create or update multiple DNS records at a time. It is suitable for scenarios that require managing a large number of DNS configurations. Supported record types include but are not limited to A/AAAA, CNAME, NS, MX, TXT, CAA, SRV, and URI. Detailed configuration items are provided to meet specific requirements, such as Priority, Flag, Tag, and Weight. In addition, for specific record types such as CERT, SSHFP, SMIMEA, and TLSA, advanced settings such as certificate information and encryption algorithms are supported.
Successfully and unsuccessfully processed records are listed separately in the response, so that you can identify which records are processed, which records failed, and the failure reasons.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
esa:BatchCreateRecords |
create |
*Site
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| SiteId |
integer |
Yes |
The site ID, which can be obtained by calling the ListSites operation. |
1234567890123 |
| RecordList |
array<object> |
Yes |
The list of DNS records to create. |
|
|
array<object> |
No |
A single record object that contains the specific configuration of the record. |
||
| RecordName |
string |
Yes |
The record name. |
www.example.com |
| Type |
string |
Yes |
The DNS type of the record. |
A/AAAA |
| Proxied |
boolean |
Yes |
Specifies whether to enable proxied acceleration for the record. Only CNAME records and A/AAAA records support proxied acceleration. Valid values:
|
true |
| SourceType |
string |
No |
The origin type of the CNAME record. This parameter is required when you add a CNAME record. Valid values:
If this parameter is left empty or not specified, the default value is Domain, which indicates a common domain name origin. |
OSS |
| BizName |
string |
No |
The business scenario for record acceleration. Valid values:
|
web |
| Data |
object |
Yes |
The DNS information of the record. Different fields are required based on the record type. |
{ "value":"2.2.2.2" } |
| Usage |
integer |
No |
The usage identifier of the record. Value range: 0 to 255. This parameter applies to SMIMEA and TLSA records. |
0 |
| Fingerprint |
string |
No |
The public key fingerprint of the record. This parameter applies to SSHFP records. |
abcdef1234567890 |
| Priority |
integer |
No |
The priority of the record. Value range: 0 to 65535. A smaller value indicates a higher priority. This parameter is required when you add MX, SRV, or URI records. |
2 |
| Port |
integer |
No |
The port of the record. Value range: 0 to 65535. This parameter applies only to SRV records. |
0 |
| Flag |
integer |
No |
The flag of the CAA record, which indicates its priority and processing method. Value range: 0 to 255. |
128 |
| Algorithm |
integer |
No |
The encryption algorithm used by the record. Value range: 0 to 255. This parameter applies to CERT and SSHFP records. |
0 |
| Weight |
integer |
No |
The weight of the record. Value range: 0 to 65535. This parameter applies to SRV and URI records. |
0 |
| Type |
integer |
No |
The certificate type (for CERT records) or public key type (for SSHFP records) of the record. |
0 |
| MatchingType |
integer |
No |
The algorithm policy used to match or verify certificates. Value range: 0 to 255. This parameter applies to SMIMEA and TLSA records. |
0 |
| Value |
string |
No |
The record value or partial content. The meaning varies by record type:
|
example.com |
| KeyTag |
integer |
No |
The public key identifier of the record. Value range: 0 to 65535. This parameter applies to CERT records. |
0 |
| Tag |
string |
No |
The tag of the CAA record, which indicates its specific type and purpose, such as issue, issuewild, or iodef. |
issue |
| Certificate |
string |
No |
The public key certificate information of the record. This parameter applies to CERT, SMIMEA, and TLSA records. |
dGVzdGFkYWxrcw== |
| Selector |
integer |
No |
The type of certificate or public key used by the record. Value range: 0 to 255. This parameter applies to SMIMEA and TLSA records. |
0 |
| Ttl |
integer |
Yes |
The time-to-live (TTL) of the record, in seconds. A value of 1 indicates that the TTL is set to automatic. |
60 |
| AuthConf |
object |
No |
The origin authentication information of the CNAME record. |
|
| SecretKey |
string |
No |
The SecretKey of the account to which the origin belongs. This parameter is required when the origin type is OSS and the authentication type is private cross-account read, or when the origin type is S3 and the authentication type is private read. |
VIxuvJSA2S03f******kp208dy5w7 |
| Version |
string |
No |
The signature algorithm version. This parameter is available when the origin type is S3 and the authentication type is private read. Valid values:
Default value: v4. |
v4 |
| Region |
string |
No |
The region of the origin. This parameter is required when the origin type is S3. Obtain the region from the official S3 website. |
us-east-1 |
| AuthType |
string |
No |
The origin authentication type. Different origin types support different authentication types. The origin type refers to the SourceType parameter in this operation. When the origin type is OSS or S3, you must specify the authentication type. Valid values:
|
private |
| AccessKey |
string |
No |
The AccessKey of the account to which the origin belongs. This parameter is required when the origin type is OSS and the authentication type is private cross-account read, or when the origin type is S3 and the authentication type is private read. |
u0Nkg5gBK*******QF5wvKMM504JUHt |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response structure for the batch record creation operation. |
||
| RequestId |
string |
The request ID. |
2430E05E-1340-5773-B5E1-B743929F46F2 |
| RecordResultList |
object |
The list of record creation results, including details of successfully and unsuccessfully created records. |
|
| Success |
array<object> |
The list of successfully created records. |
|
|
array<object> |
|||
| RecordName |
string |
The record name. |
www.example.com |
| Proxied |
boolean |
Specifies whether to enable proxy acceleration for the record. Only CNAME records and A/AAAA records can have proxy acceleration enabled. Valid values:
|
true |
| Description |
string |
The description of the creation result. |
success |
| RecordType |
string |
The DNS type of the record, such as A/AAAA, CNAME, or TXT. |
A/AAAA |
| SourceType |
string |
The origin type of the CNAME record. This field is empty for other record types. Valid values:
|
OSS |
| Data |
object |
The DNS information of the record. |
{"value":"1.1.1.1"} |
| Usage |
integer |
The usage identifier of the record. Value range: 0 to 255. Applicable to SMIMEA and TLSA records. |
0 |
| Fingerprint |
string |
The public key fingerprint value of the record. Applicable to SSHFP records. |
abcdef1234567890 |
| Priority |
integer |
The priority of the record. Value range: 0 to 65535. A smaller value indicates a higher priority. Applicable to MX, SRV, and URI records. |
10 |
| Port |
integer |
The port of the record. Value range: 0 to 65535. Applicable only to SRV records. |
0 |
| Flag |
integer |
The flag of the record, which indicates its priority and processing method. Applicable to CAA records. |
128 |
| Algorithm |
integer |
The encryption algorithm used by the record. Value range: 0 to 255. Applicable to CERT and SSHFP records. |
0 |
| Weight |
integer |
The weight of the record. Value range: 0 to 65535. Applicable to SRV and URI records. |
0 |
| Type |
integer |
The certificate type (for CERT records) or public key type (for SSHFP records) of the record. |
0 |
| MatchingType |
integer |
The algorithm policy used to match or verify certificates. Value range: 0 to 255. Applicable to SMIMEA and TLSA records. |
0 |
| Value |
string |
The record value or partial content. This parameter is included in A/AAAA, CNAME, NS, MX, TXT, CAA, SRV, and URI records. It has different meanings for different record types:
|
example.com |
| KeyTag |
integer |
The public key identifier of the record. Value range: 0 to 65535. Applicable to CERT records. |
0 |
| Tag |
string |
The tag of the CAA record, which indicates its specific type and purpose, such as issue, issuewild, or iodef. |
issue |
| Certificate |
string |
The public key certificate information of the record. Applicable to CERT, SMIMEA, and TLSA records. |
dGVzdGFkYWxrcw== |
| Selector |
integer |
The certificate or public key type used by the record. Value range: 0 to 255. Applicable to SMIMEA and TLSA records. |
0 |
| BizName |
string |
The business scenario when the record is accelerated. Valid values:
|
web |
| RecordId |
integer |
The record ID. |
1234567890123 |
| Ttl |
integer |
The time-to-live (TTL) of the record, in seconds. A value of 1 indicates that the TTL is set to automatic. |
60 |
| Failed |
array<object> |
The list of records that failed to be created. |
|
|
array<object> |
|||
| RecordName |
string |
The record name. |
a.example.com |
| Proxied |
boolean |
Indicates whether proxy acceleration is enabled for the record. Only CNAME records and A/AAAA records can have proxy acceleration enabled. Valid values:
|
true |
| Description |
string |
The description of the result. |
The record name is invalid. |
| RecordType |
string |
The DNS type of the record, such as A/AAAA, CNAME, or TXT. |
A/AAAA |
| SourceType |
string |
The origin type of the CNAME record. This field is empty for other record types. Valid values:
|
OSS |
| Data |
object |
The DNS information of the record, including various record values and their related properties. |
{"value":"2.2.2.2"} |
| Usage |
integer |
The usage identifier of the record. Value range: 0 to 255. Applicable to SMIMEA and TLSA records. |
0 |
| Fingerprint |
string |
The public key fingerprint value of the record. Applicable to SSHFP records. |
abcdef1234567890 |
| Priority |
integer |
The priority of the record. Value range: 0 to 65535. A smaller value indicates a higher priority. Applicable to MX, SRV, and URI records. |
10 |
| Port |
integer |
The port number of the record, associated with SRV records. Applicable only to SRV records. |
0 |
| Flag |
integer |
The flag of the record, which indicates its priority and processing method. Applicable to CAA records. |
128 |
| Algorithm |
integer |
The encryption algorithm used by the record. Value range: 0 to 255. Applicable to CERT and SSHFP records. |
0 |
| Weight |
integer |
The weight of the record. Applicable to SRV and URI records. |
0 |
| Type |
integer |
The certificate type (for CERT records) or public key type (for SSHFP records) of the record. |
0 |
| MatchingType |
integer |
The algorithm policy used to match or verify certificates. Value range: 0 to 255. Applicable to SMIMEA and TLSA records. |
0 |
| Value |
string |
The record value or partial content. This parameter is included in A/AAAA, CNAME, NS, MX, TXT, CAA, SRV, and URI records. It has different meanings for different record types:
|
example.com |
| KeyTag |
integer |
The public key identifier of the record. Value range: 0 to 65535. Applicable to CERT records. |
0 |
| Tag |
string |
The tag of the CAA record, which indicates its specific type and purpose, such as issue, issuewild, or iodef. |
issue |
| Certificate |
string |
The public key certificate information of the record. Applicable to CERT, SMIMEA, and TLSA records. |
dGVzdGFkYWxrcw== |
| Selector |
integer |
The certificate or public key type used by the record. Value range: 0 to 255. Applicable to SMIMEA and TLSA records. |
0 |
| BizName |
string |
The business scenario when the record is accelerated. Valid values:
|
web |
| RecordId |
integer |
The record ID. |
1234567890123 |
| Ttl |
integer |
The time-to-live (TTL) of the record, in seconds. A value of 1 indicates that the TTL is set to automatic. |
60 |
| TotalCount |
integer |
The total number of records in the creation operation. |
20 |
Examples
Success response
JSON format
{
"RequestId": "2430E05E-1340-5773-B5E1-B743929F46F2",
"RecordResultList": {
"Success": [
{
"RecordName": "www.example.com",
"Proxied": true,
"Description": "success",
"RecordType": "A/AAAA",
"SourceType": "OSS",
"Data": {
"Usage": 0,
"Fingerprint": "abcdef1234567890",
"Priority": 10,
"Port": 0,
"Flag": 128,
"Algorithm": 0,
"Weight": 0,
"Type": 0,
"MatchingType": 0,
"Value": "example.com",
"KeyTag": 0,
"Tag": "issue",
"Certificate": "dGVzdGFkYWxrcw==",
"Selector": 0
},
"BizName": "web",
"RecordId": 1234567890123,
"Ttl": 60
}
],
"Failed": [
{
"RecordName": "a.example.com",
"Proxied": true,
"Description": "The record name is invalid.",
"RecordType": "A/AAAA",
"SourceType": "OSS",
"Data": {
"Usage": 0,
"Fingerprint": "abcdef1234567890",
"Priority": 10,
"Port": 0,
"Flag": 128,
"Algorithm": 0,
"Weight": 0,
"Type": 0,
"MatchingType": 0,
"Value": "example.com",
"KeyTag": 0,
"Tag": "issue",
"Certificate": "dGVzdGFkYWxrcw==",
"Selector": 0
},
"BizName": "web",
"RecordId": 1234567890123,
"Ttl": 60
}
],
"TotalCount": 20
}
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InternalException | Failed to call the service. Try again later or contact technical support. | Failed to call the service. Try again later or contact technical support. |
| 400 | QuotaExceed.RecordCount | The maximum number of records has been reached. Delete some and try again or upgrade your plan. | The maximum number of records has been reached. Delete some and try again or upgrade your plan. |
| 400 | Site.ServiceBusy | This website is being configured. Try again later. | This website is being configured. Try again later. |
| 400 | Record.Conflict | The specified record content conflicts with existing records. Adjust your configurations based on the related product documentation. | The specified record content conflicts with existing records. Adjust your configurations based on the related product documentation. |
| 400 | SourceCircleExist | The host record of the resource to be operated on is already the source station of another resource, or the source station of the current resource has been added as a host record. To avoid loopback, modify the host record or source station and retry. | The host record of the resource to be operated on is already the source station of another resource, or the source station of the current resource has been added as a host record. To avoid loopback, modify the host record or source station and retry. |
| 400 | InvalidParameter.RecordsExceedLimit | The number of incoming records exceeds the maximum limit. | The number of incoming records exceeds the maximum limit. |
| 400 | QuotaExceed.WildcardRecordCount | The number of wildcard records added by your current site has reached the quota limit. Please delete useless wildcard records or upgrade to the plan and try again. | The number of wildcard records added by your current site has reached the quota limit. Please delete useless wildcard records or upgrade to the plan and try again. |
| 400 | SameNameRecordsExceedLimit | The maximum number of records with the same name added in one batch exceeds 5. Add records with the same name in batches or reduce the number of records with the same name added in one batch. | The maximum number of records with the same name added in batches exceeds 5. Add records with the same name in batches or reduce the number of records with the same name added in batches. |
| 400 | InvalidParameter.InvalidDSRecordName | Please add/import an NS record with the same name before adding this DS record. | Please add/import an NS record with the same name before adding this DS record |
| 400 | InvalidParameter.InvalidBiz | The incoming parameter value of the business type is empty or incorrect. | The incoming parameter value of the business type is empty or incorrect. |
| 400 | Record.RecordValueContainSourceInBlacklist | The record value contains the blacklist address, and the details can be submitted for work order consultation. | The record value contains the blacklist address, and the details can be submitted for work order consultation. |
| 400 | InvalidParameter.InvalidRecordNameSuffix | If you add other records, the suffix of the host record must be the same as the site name. | If you add another record, the suffix of the host record must be the same as the site name. Please adjust and try again. |
| 400 | InvalidParameter.RecordNameExceedLimit | The length of the record name exceeds the maximum limit. | The record name cannot exceed 200 characters. |
| 400 | InvalidParameter.InvalidHostPolicy | The host parameter in the origin fetch request is invalid. | The host parameter in the origin fetch request is invalid. |
| 400 | InvalidParameter.CnameSiteRecordUnsupport | The current record type is not supported for a website connected by CNAME setup. | You can only add A/AAAA and CNAME records to a website connected by CNAME setup. |
| 400 | InvalidParameter.RecordCommentExceedLimit | The number of incoming record comment exceeds the maximum limit. | The record comment information is greater than 50 characters. |
| 400 | QuotaExceed.WildCardRecord | The number of wildcard records exceeds the plan quota. Contact the sales team to increase your quota. | The number of wildcard records exceeds the plan quota. Contact the sales team to increase your quota. |
| 400 | Record.AorAAAARecordValueContainInvalidIP | The A/AAAA record value contains the invalid IP. | When creating or editing an A/AAAA record, the record value contains an invalid IP. |
| 400 | Record.AorAAAARecordValueIPExceedLimit | The number of IP addresses exceeds the limit for the A/AAAA record. | When creating or editing A/AAAA records, the number of IP addresses exceeds the limit. A host record only supports 8 IPv4 and 4 IPv6 IP addresses. Please adjust and try again. |
| 400 | Record.CAARecordFlagExceedLimit | The value of the flag parameter for a CAA record is out of range. | The value of the flag parameter for a CAA record is out of range while creating or editing DNS record information. |
| 400 | Record.CAARecordTagExceedLimit | The CAA record tag has illegal characters other than issue, issuewild, and iodef. | When creating or editing CAA records, illegal characters other than issue, issuewild, and iodef are passed in the tag value. |
| 400 | Record.CERTRecordAlgorithmExceedLimit | The value of the algorithm parameter for the CERT record is out of range. | The value of the algorithm parameter for the CERT record is out of range while creating or editing DNS record information. |
| 400 | Record.CERTRecordKeyTagExceedLimit | The value of the keyTag parameter for a CERT record is out of range. | The value of the keyTag parameter for a CERT record is out of range when creating or editing DNS record information. |
| 400 | Record.CERTRecordTypeExceedLimit | The CERT record type is out of range. | The CERT record type parameter was out of range when creating or editing DNS record information. |
| 400 | Record.CNameRecordValueCannotEqualExistedIPASource | The CNAME record cannot be the origin of the added Layer 4 application. Check the values of other Layer 4 proxy records and try again. | The CNAME record cannot be the origin of the added Layer 4 application. Check the values of other Layer 4 proxy records and try again. |
| 400 | Record.CNameRecordValueCannotEqualExistedPoolSource | The CNAME record cannot be the origin of the added source address pool. Check and try again. | The CNAME record cannot be the origin of the added source address pool. Check and try again. |
| 400 | Record.CNameRecordValueCannotEqualExistedRecordSource | The CNAME record cannot be the origin of an added record. Check the record values of other records and try again. | The CNAME record cannot be the origin of an added record. Check the record values of other records and try again. |
| 400 | Record.CNameRecordValueCannotEqualOtherExistedIPARecord | The record value of a CNAME record cannot be exactly the same as the name of another existing Layer 4 proxy record. | The record value of a CNAME record cannot be exactly the same as the name of another existing Layer 4 proxy record. |
| 400 | Record.CNameRecordValueCannotEqualOtherExistedRecord | The record value of a CNAME record cannot be the same as the name of another existing CNAME record. | The record value of a CNAME record cannot be the same as the name of another existing CNAME record. |
| 400 | Record.CNameRecordValueCannotEqualHostRecord | The record value of the CNAME record cannot be exactly the same as the host record. | The record value of the CNAME record cannot be exactly the same as the host record. Please adjust and try again. |
| 400 | Record.CNameRecordValueExceedLimit | The CNAME record value cannot exceed 253 characters, please delete and try again. | The record value cannot exceed 253 characters, please delete and try again. |
| 400 | Record.CNameRecordValueInvalidDomainUnderline | Record values (DNS-only records) generally start with an underscore, a lowercase letter a-z, and the numbers 0-9. The middle part of the record can be lowercase letters, numbers, or hyphens, and the length is between 0 and 61 characters. | Record values (DNS-only records) generally start with an underscore, a lowercase letter a-z, and the numbers 0-9. The middle part of the record can be lowercase letters, numbers, or hyphens, and the length is between 0 and 61 characters. |
| 400 | Record.CNameRecordValueInvalidRecordDomain | Record values (records with agent acceleration enabled) must start with a lowercase letter a-z and numbers 0-9. The middle part of the record can be lowercase letters, numbers, or hyphens, and the length is between 0 and 61 characters. | Record values (records with agent acceleration enabled) must start with a lowercase letter a-z and numbers 0-9. The middle part of the record can be lowercase letters, numbers, or hyphens, and the length is between 0 and 61 characters. |
| 400 | Record.EmptyRecordValue | The record value is empty, please fill it in correctly and try again. | The record value is empty, please fill it in correctly and try again. |
| 400 | Record.InvalidCertEncodeWithCERTRecord | The certificate value of the CERT record is not base64-encoded. | When you create or edit CERT record information, the certificate value of the CERT record is not base64-encoded. |
| 400 | Record.InvalidFingerprintWithSSHFPRecord | The SSHFP record fingerprint value is not hexadecimal encoded. | When creating or editing SSHFP record information, the fingerprint value is not hexadecimal encoded. |
| 400 | Record.InvalidIssueDataWithCAARecordTag | The tag of a CAA record can only be a semicolon or a valid domain name separated by semicolons. | When creating or editing CAA record information, the tag tag of a CAA record can only be a semicolon or a valid domain name separated by semicolons. |
| 400 | Record.InvalidMailAddressWithCAARecordTag | The CAA record tag is prefixed with mailto:, it must be followed by a legal email address. | When creating or editing CAA record information, when Tag is iodef and Value is prefixed with mailto:, it must be followed by a legal email address. |
| 400 | Record.InvalidSmimeaEncodeWithSMIMEARecord | The certificate value of the SMIMEA record is not base64-encoded. | When creating or editing SMIMEA record information, the certificate value of the SMIMEA record is not base64-encoded. |
| 400 | Record.InvalidTslaEncodeWithTSLARecord | The certificate value passed in is not hexadecimal encoded with TSLA record. | When creating or editing TLSA record information, the certificate value passed in is not hexadecimal encoded. |
| 400 | Record.InvalidURLWithURIRecord | The URI record value must be a valid URL address. | When creating or editing URI record information, the record value must be a valid URL address. |
| 400 | Record.NoRecordNameConflictWithNSRecord | No record name can conflict with an NS record name. | No record name can conflict with an NS record name. |
| 400 | Record.NSRecordCannotEqualSiteName | An NS record with the exact same name as the site name is not allowed. | Adding an NS record with the exact same name as the site name is not allowed. |
| 400 | Record.OSSSourceInvalidAuthType | The recorded OSS origin station authentication type is not supported. | The recorded OSS origin station authentication type is not supported. |
| 400 | Record.ParseJSONRecordValueFailed | The JSON data format of the record data is incorrect. Please adjust and try again. | The JSON data format of the record data is incorrect. Please adjust and try again. |
| 400 | Record.PoolSourceNotExistPool | If the source station type of the record is source address pool, the input source address pool does not exist. | If the source station type of the record is source address pool, the input source address pool does not exist. |
| 400 | Record.RecordNameConflictForSpecifiedRecordType | The A/AAAA and CNAME records cannot have the same name. | The A/AAAA and CNAME records cannot have the same name. |
| 400 | Record.RecordNameConflictWithIPAName | The record name cannot have the same name as the Layer 4 proxy record. | When you create or edit DNS record information, the record name cannot have the same name as the Layer 4 proxy record. |
| 400 | Record.RecordNameConflictWithLBName | The record name cannot be the same as the Server Load Balancer record name. | When creating or editing DNS record information, the record name cannot be the same as the Server Load Balancer record name. |
| 400 | Record.RecordNameConflictWithNSRecord | The NS record name cannot be the same as any other type of record name. | When creating or editing DNS record information, the NS record name cannot be the same as any other type of record name. |
| 400 | Record.RecordNameConflictWithPoolName | The record name cannot be the same as the source address pool record name. | When creating or editing DNS record information, the record name cannot be the same as the source address pool record name. |
| 400 | Record.RecordNameInBlacklist | The record name is in blacklist. | The record name is in the blacklist and cannot be added. |
| 400 | Record.S3SourceInvalidAuthRegion | The recorded S3 origin belongs to a region that is not in the supported range. | The recorded S3 origin belongs to a region that is not in the supported range. |
| 400 | Record.S3SourceInvalidAuthType | The recorded S3 origin authentication type is not supported. | The recorded S3 origin authentication type is not supported. |
| 400 | Record.S3SourceInvalidAuthVersion | The version of the authentication signature algorithm of the S3 origin is not supported. | The version of the authentication signature algorithm of the S3 origin is not supported. |
| 400 | Record.SourceAccessKeyExceedLimit | The character length of the AccessKey parameter value for the record source station is out of range. | The character length of the AccessKey parameter value for the record source station is out of range. |
| 400 | Record.SourceEmptyAK | The AccessKey of the account to which the origin site belongs is empty. | The AccessKey of the account to which the origin site belongs is empty. |
| 400 | Record.SourceEmptyAuthConf | The authentication information of the origin station is empty. | The recorded authentication information of the origin station is empty. |
| 400 | Record.SourceEmptySecretKey | The SecretKey of the account to which the recorded origin site belongs is empty. | The SecretKey of the account to which the recorded origin site belongs is empty. |
| 400 | Record.SourceSecretKeyExceedLimit | The character length of the SecretKey parameter value for the record source station is out of range. | The character length of the SecretKey parameter value for the record source station is out of range. |
| 400 | Record.SRVRecordInvalidRecordName | SRV host record name is not valid. The SRV host record name must begin with an underscore (-) followed by a lowercase letter (a-z), a number (0-9), and a hyphen (-), followed by 1 arbitrary character, followed by an underscore (-) and a lowercase letter, number, or hyphen. | SRV host record name is not valid. The SRV host record name must begin with an underscore (-), followed by a lowercase letter (a-z), number (0-9), hyphen (-), followed by any character, followed by an underscore (-) and a lowercase letter, number, or hyphen. |
| 400 | Record.SRVRecordPortExceedLimit | The SRV record port is out of range. | When creating or editing DNS record information, the SRV record port filled in is out of range. |
| 400 | Record.SSHFPRecordAlgorithmExceedLimit | The algorithm parameter value for the SSHFP record is out of range. | The algorithm parameter value for the SSHFP record is out of range while creating or editing DNS record information. |
| 400 | Record.TTLExceedLimit | The TTL parameter value for a record is out of range. | The TTL parameter value for a record is out of range while creating or editing DNS record information. |
| 400 | Record.TXTRecordValueExceedLimit | The TXT record value cannot exceed 450 characters. | When you create or edit DNS record information, the TXT record value cannot exceed 450 characters. |
| 400 | Record.TypeExceedLimitWithSSHFPRecord | The SSHFP record Type parameter value is out of range. | The SSHFP record Type parameter value is out of range while creating or editing DNS record information. |
| 400 | Record.UnmatchedRecordNameContainDoubleConsecutiveDot | Illegal host record name. The host record cannot contain consecutive dot. | Illegal host record name. The host record cannot contain consecutive dot. |
| 400 | Record.UnmatchedRecordNameForbidStarSev | Illegal host record name, SRV record name disallowed asterisk. | Illegal host record name, SRV record name disallowed asterisk. |
| 400 | Record.UnmatchedRecordNameInvalidATChar | Illegal host record name. The at symbol can only appear at the top of the host record and can only be followed. Symbol, other strings are not allowed. | Illegal host record name. The '@' symbol can only appear at the top of the host record and can only be followed. Symbol, other strings are not allowed. |
| 400 | Record.UnmatchedRecordNameInvalidNamePrefixSuffix | Illegal host record name. Host record values cannot start or end with a dot, a hyphens. | Illegal host record name. Host record values cannot start or end with a dot, a hyphens. |
| 400 | Record.UnmatchedRecordNameInvalidStartSymbol | Illegal host record name. The asterisk is only allowed in the first place of the host record, and only the following dot is allowed after the asterisk. | Illegal host record name. The asterisk is only allowed in the first place of the host record, and only the following dot is allowed after the asterisk. |
| 400 | Record.UnmatchedRecordNameSeperateStringTooLarge | Illegal host record name. The number of characters in each segment separated by dot cannot exceed 63. | Illegal host record name. The number of characters in each segment separated by '.' cannot exceed 63. |
| 400 | Record.UnsupportedSourceType | The recorded source station type is not in the supported range. | The recorded source station type is not in the supported range. |
| 400 | Record.UnsupportedType | The record type parameter is unsupported. | The record type parameter is incorrect. Please check the record type parameter. |
| 400 | Record.ValidProxiedForSpecifedRecordType | Only A/AAAA and CNAME types support proxy acceleration. | When creating or editing a record, proxy acceleration is enabled in the proxy state. Only A/AAAA and CNAME types support proxy acceleration. |
| 400 | Record.RecordUsageExceedLimit | The usage parameter value filled in is out of range. | When creating or editing DNS record information, the usage parameter value filled in is out of range. |
| 400 | Record.RecordSelectorExceedLimit | The selector parameter value filled in is out of range. | While creating or editing DNS record information, the selector parameter value filled in is out of range. |
| 400 | Record.RecordMatchingTypeExceedLimit | The matchingType parameter value filled in is out of range. | While creating or editing DNS record information, the matchingType parameter value filled in is out of range. |
| 400 | Record.RecordPriorityExceedLimit | The record priority parameter value filled in is out of range. | When creating or editing DNS record information, the record priority parameter value filled in is out of range. |
| 400 | Record.RecordWeightExceedLimit | The record weight parameter value filled in is out of range. | When creating or editing DNS record information, the record weight parameter value filled in is out of range. |
| 400 | Record.RecordNameConflictWithSameRecordType | Record conflicts with an existing host record that has the same name and value. | Record conflicts with an existing host record that has the same name and value. |
| 400 | Record.UnmatchedRecordNameInvalidUnderLine | The host record name contains an illegal underscore. The underscore is only supported at the beginning of the TXT, CNAME, MX, SRV, and NS records. Proxy acceleration cannot be enabled, and records can only be added in the DNS mode. | The host record name contains an illegal underscore. The underscore is only supported at the beginning of the TXT, CNAME, MX, SRV, and NS records. Proxy acceleration cannot be enabled, and records can only be added in the DNS mode. |
| 400 | InvalidParameter.CnameSiteRecordNoProxied | A non-proxied record was added for a website using a CNAME setup. | A non-proxied record was added for a website using a CNAME setup. |
| 400 | Record.InvalidIodefDataWithCAARecordTag | The CAA record Tag value cannot start with mailto: or http:// or https. | When creating or editing CAA record information, the Tag value cannot start with mailto: http:// or mailto: https. |
| 400 | Record.UnmatchedRecordNameOnlyContainSymbol | The host record value cannot exist separately in various symbols, and can be added with any lowercase letters or numbers. | The host record value cannot exist separately in various symbols, and can be added with any lowercase letters or numbers. |
| 400 | Record.WildcardConflictForSpecifiedRecordType | The A/AAAA,CNAME records cannot add all and asterisk prefixed records at the same time. | A/AAAA,CNAME records cannot add all and asterisk prefixed records at the same time. |
| 400 | Record.InvalidHTTPURLValueWithCAARecordTag | The CAA record is prefixed with http:// or https://, it must be followed by a valid URL. | When you create or edit a CAA record, if the Tag is `iodef` and the Value starts with `http://` or `https://`, it must be followed by a valid URL. |
| 400 | Record.UnmatchedRecordNameOnlyRangeChars | Illegal host record character. Only lowercase a-z, uppercase A- Z, digits 0-9, some special characters are supported as valid characters in host records. | Illegal host record character. Only lowercase a-z, uppercase A- Z, digits 0-9, '-', '_', '.', '*', and '@' are supported as valid characters in host records ',' @ '. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.