Binds paid domain names in Alibaba Cloud DNS to an instance ID.
Operation description
An instance is considered a new instance if its ID starts with 'dns-'. New instances support multiple domain names. You can call this operation to bind domain names directly to the instance. An error occurs if the number of domain names exceeds the instance's limit.
An instance is considered a legacy instance if its ID does not start with 'dns-'. Legacy instances support only one domain name. If you call this operation on a legacy instance that already has a domain name, the existing domain name is replaced.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
alidns:BindInstanceDomains |
update |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| Lang |
string |
No |
The language of the response. Valid values:
Default value: zh |
en |
| InstanceId |
string |
Yes |
The ID of the Alibaba Cloud DNS instance. You can call the ListCloudGtmInstances operation to obtain the ID. |
s******** |
| DomainNames |
string |
Yes |
A list of domain names. Note
Separate multiple domain names with a comma (,). You can specify up to 100 domain names. |
example.com,example.net |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The unique request ID. |
536E9CAD-DB30-4647-AC87-AA5CC38C5382 |
| FailedCount |
integer |
The number of domain names that failed to be bound. |
0 |
| SuccessCount |
integer |
The number of domain names that were successfully bound. |
2 |
Examples
Success response
JSON format
{
"RequestId": "536E9CAD-DB30-4647-AC87-AA5CC38C5382",
"FailedCount": 0,
"SuccessCount": 2
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.