API Overview
The DNS service provides RESTful APIs.
By calling these APIs, you can use all DNS functions, including creating, querying, modifying, and deleting private zones, and records sets.
Table 1 provides an overview of the DNS APIs.
Category |
Description |
---|---|
Version Management |
Query version information of all DNS APIs or a specified API. |
Private Zone Management |
Create, delete, modify, and query private zones. |
Record Set Management |
Create, delete, modify, and query record sets in private zones. |
PTR Record Management |
Create, delete, modify, and query PTR records that map EIPs to domain names. |
Tag Management |
Create, delete, modify, and query tags for specified DNS resources. |
Version Management
Query DNS API versions.
API |
Description |
---|---|
Query the versions of all DNS APIs. |
|
Queries the version of a specified DNS API. |
Private Zone Management
Create, query, delete, and modify private zones.
API |
Description |
---|---|
Query a private zone. |
|
Associate a private zone with a VPC. |
|
Disassociate a VPC from a private zone. |
|
Query a private zone. |
|
Query private zones. |
|
Query name servers in a private zone. |
|
Delete a private zone. |
|
Modify a private zone. |
Record Set Management
Create, query, delete, and modify record sets.
API |
Description |
---|---|
Create a record set. |
|
Query a record set. |
|
Query record sets. |
|
Query record sets in a specified zone. |
|
Delete a record set. |
|
Modify a record set. |
PTR Record Management
Set, query, modify, and unset PTR records for EIPs.
API |
Description |
---|---|
Configure a PTR record for an EIP. |
|
Query the PTR record of an EIP. |
|
Query PTR records of EIPs. |
|
Unset the PTR record to the default value. |
|
Modify the PTR record for an EIP. |
Tag Management
Add, delete, and query resource tags.
API |
Description |
---|---|
Add tags to a specified resource. You can add a maximum of 10 tags to a resource. |
|
Delete a resource tag. |
|
Add or delete tags for a specified resource in batches. |
|
Query tags of a specified resource. |
|
Query all tags of a resource type. |
|
Query DNS resources by tag. Resources are sorted by creation time in descending order. |
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot