Overview
The DNS service provides RESTful APIs.
By calling these APIs, you can use all DNS functions, including creating, querying, modifying, and deleting public zones, private zones, and record sets.
Table 1 lists DNS APIs.
| Category | Description |
|---|---|
| Query version information of all DNS APIs or a specified API. | |
| |
| |
| |
| |
| |
| |
| |
| Enable, disable, and query DNSSEC. | |
| Query public zone check results, query email record sets in a public zone, query website record sets in a public zone, and query the DNS server addresses of a public zone. | |
| |
| |
| |
| Add a tag for a specified instance, delete a resource tag, batch add or delete tags for a specified instance, query tags of a specified instance, query all tags of a specified instance type, and query resource instances using tags. | |
| Query name servers. | |
| Query DNS resource quotas. |
Version Management
| API | Description |
|---|---|
| Query the versions of all DNS APIs. | |
| Query the version of a specified DNS API. |
Public Zone Management
| API | Description |
|---|---|
| Create a public zone. | |
| Query public zones. | |
| Query a public zone. | |
| Query name servers for a public zone. | |
| Modify a public zone. | |
| Delete a public zone. | |
| Set the status of a public zone. | |
| Create a public zone reclamation request. | |
| Query a public zone reclamation request. | |
| Verify the public zone reclamation result. | |
| Query the public zone reclamation result. | |
| Create an authorization task for a public subdomain. | |
| Querying the authorization task of a public subdomain. | |
| Verify the authorization status of a public subdomain. |
Private Zone Management
| API | Description |
|---|---|
| Create a private zone. | |
| Query private zones. | |
| Query a private zone. | |
| Query name servers for a private zone. | |
| Modify a private zone. | |
| Delete a private zone. | |
| Associate a VPC with a private zone. | |
| Disassociate a VPC from a private zone. | |
| Set the status of a private zone. | |
| Setting a Recursive Resolution Proxy for Subdomains in a Private Zone | Set a recursive resolution proxy for subdomains in a private zone. |
Record Set Management (v2.1)
| API | Description |
|---|---|
| Create a record set. | |
| Query record sets in a zone. | |
| Query record sets. | |
| Query a record set. | |
| Modify a record set. | |
| Delete a record set. | |
| Set the record set status. | |
| Query public zone lines. | |
| Query preset resolution lines. | |
| Batch create record sets | |
| Query the task for batch creating record sets. | |
| Delete the task for batch creating record sets. | |
| Batch Creating Record Sets with the Same Name and Type, But Different Routing Lines | Batch create record sets with the same name and type, but different routing lines. |
| Modify record sets in batches. | |
| Delete record sets from a zone in batches. |
Record Set Management (v2)
Create, delete, modify, and query record sets.
| API | Description |
|---|---|
| Create a record set. | |
| Query record sets in a zone. | |
| Query record sets. | |
| Query a record set. | |
| Modify a record set. | |
| Delete a record set. |
PTR Record Management (v2.1)
| API | Description |
|---|---|
| Create a PTR record for an EIP. | |
| Query PTR records of EIPs. | |
| Query the PTR record of an EIP. | |
| Modify the PTR record for an EIP. | |
| Restore the PTR record of an EIP to the default value. |
PTR Record Management (v2)
| API | Description |
|---|---|
| Create a PTR record for an EIP. | |
| Query PTR records of an EIP. | |
| Query a PTR record of an EIP. | |
| Modify the PTR record for an EIP. | |
| Restore the PTR record of an EIP to the default value. |
Batch Operation Management
| API | Description |
|---|---|
| Delete zones in batches. | |
| Delete record sets in batches. | |
| Delete PTR records. | |
| Batch set zone status. | |
| Batch set the statuses of record sets. | |
| Create public zones in batches. | |
| Create record sets for public zones in batches. | |
| Create record sets for public zones in batches. | |
| Delete record sets from public zones in batches. | |
| Modify record sets of public zones in batches. | |
| Transfer public zones in batches. | |
| Query the batch operation task list. | |
| Query a batch operation task. |
DNSSEC Management
| API | Description |
|---|---|
| Enable DNSSEC for a public zone. | |
| Disable DNSSEC for a public zone. | |
| Query DNSSEC for a public zone. |
Public Zone Check
| API | Description |
|---|---|
| Query domain name check results of a public zone. | |
| Query email record sets in a public zone. | |
| Query website record sets in a public zone. | |
| Query DNS server addresses of a public zone. |
Custom Line Management
| API | Description |
|---|---|
| Create a custom line. | |
| Query custom lines. | |
| Update a custom line. | |
| Delete a custom line. | |
| Create a line group. | |
| Query line groups. | |
| Query a line group. | |
| Update a line group. | |
| Delete a line group. |
Resolver Management
| API | Description |
|---|---|
| Create an endpoint. | |
| Query endpoints. | |
| Query an endpoint. | |
| Modify an endpoint. | |
| Delete an endpoint. | |
| Bind an IP address to an endpoint. | |
| Query IP addresses. | |
| Unbind an IP address from an endpoint. | |
| Query VPCs of an endpoint. | |
| Create an endpoint rule. | |
| Query endpoint rules. | |
| Query an endpoint rule. | |
| Modify an endpoint rule. | |
| Delete an endpoint rule. | |
| Associate a VPC with an endpoint rule. | |
| Disassociate an endpoint rule from a VPC. |
Access Log Management
| API | Description |
|---|---|
| Create a resolver access logging configuration. | |
| Query the list of resolver access logging configurations. | |
| Query a resolver access logging configuration. | |
| Delete a resolver access logging configuration. | |
| Associating a Resolver Access Logging Configuration with a VPC | Associate a resolver access logging configuration with a VPC. |
| Disassociating a Resolver Access Logging Configuration from the VPC | Disassociate a resolver access logging configuration from a VPC. |
Tag Management
| API | Description |
|---|---|
| Add tags to a specified 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