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 record 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. |
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. |
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. |