Alibaba Cloud DNS API operations use the RPC protocol. You can call Alibaba Cloud DNS API operations by sending HTTP GET requests.

Endpoints

The service access endpoint of the Alibaba Cloud DNS API is alidns.aliyuncs.com.

Protocols

Requests over HTTP or HTTPS are supported. We recommend that you send requests over HTTPS for a higher level of security.

Methods

You can send an HTTP GET request to call an API operation. If you use this method, the request parameters must be included in the request URL.

Parameters

Each request must specify which operation to perform, namely, the Action parameter (for example, AddDomain), and each operation must contain both the common and specific request parameters of the specified operation.

When the GET method is used, the request parameters must be included in the request URL.

When the POST method is used, the request parameters are included in the body.

All the examples in the Alibaba Cloud DNS API document use the GET method.

Encoding

The request and response are encoded in UTF-8.