All Products
Document Center


Last Updated: Apr 18, 2018


The SaveBatchTaskForModifyingDomainDns API submits bulk DNS modification tasks. You can use the QueryTaskDetailList API to query the task execution result.

Request parameters

For more information about public request parameters, see Public parameters.

Parameter Type Required Description
Action String Yes API of the action, system required parameter. Set this parameter to SaveBatchTaskForModifyingDomainDns.
DomainName DomainListType Yes Domain name list.
AliyunDns Boolean Yes Whether to change the domain name to Alibaba Cloud DNS.
DomainNameServer DnsListType No DNS list (required if AliyunDns is set to false).
Lang String No Language of the error message returned from the API. The enumerated values include zh (Chinese) and en (English). The default value is en.

Response parameters

Parameter Type Description
RequestId String Unique request identifier.
TaskNo String Task ID.

Error codes

Error code Description HTTP status code Semantics
ParameterIllegal Parameter illegal. 400 Parameter error.
NetworkIOError Network IO Error. 400 Network I/O exception.


Request example

  2. &AliyunDns=false
  3. &
  4. &
  5. &
  6. &
  7. &<Public request parameters>

Response example

  • XML format
  1. <?xml version='1.0' encoding='UTF-8'?>
  2. <SaveBatchTaskForModifyingDomainDnsResponse>
  3. <TaskNo>35fb2fb7-d4d6-4478-9408-22cb63696b86</TaskNo>
  4. <RequestId>6A862A8A-E7AB-4C4E-8946-A74122D9CC4B</RequestId></SaveBatchTaskForModifyingDomainDnsResponse>
  • JSON format
  1. {
  2. "requestId": "689C17B3-6AE0-45FB-8E41-4491A02C9999",
  3. "taskNo": "fce12087-6c9f-4dcd-92df-d3829b7f19bc"
  4. }