edit-icon download-icon

SaveBatchTaskForModifyingDomainDns

Last Updated: Apr 18, 2018

Description

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.

Examples

Request example

  1. http://domain-intl.aliyuncs.com/?Action=SaveBatchTaskForModifyingDomainDns
  2. &AliyunDns=false
  3. &DomainName.1=test1.com
  4. &DomainName.2=test2.com
  5. &DomainNameServer.1=ns1.test.com
  6. &DomainNameServer.2=ns2.test.com
  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. }
Thank you! We've received your feedback.