Batch add DNS records using either form-based input or text format.
Prerequisites
Before you begin:
-
Domains added to the Public Zone list. For domains not registered with Alibaba Cloud, use Batch add domains before adding records.
Note: During batch addition, the resolution line defaults to Default and the TTL is fixed at 10 minutes. You cannot modify these values.
Method 1: Form-based input
Add the same DNS record to multiple domains by using form-based input. The following example adds an A record to dns-xxx.com and dns-xxx.cn:
|
Record Type |
Host Record |
Record Value |
|
A |
www |
1.1.x.x |
Procedure
-
Log on to Alibaba Cloud DNS - Public Zone.
-
Click the Batch Operation button to go to the Batch Operation page.
-
Click Domain Records > Add DNS Records.
-
Select Method 1.
Parameter
Description
Example
Domain
Enter one domain per line. Maximum: 10,000 domains.
dns-xxx.com
dns-xxx.cn
Record Type
DNS record type. Supported: A, CNAME, AAAA, NS, MX, SRV, TXT, CAA, PTR, Explicit URL Forwarding, and Implicit URL Forwarding.
A
-
Select Method 1.
-
Enter domains one per line, and configure the Record Type, Hostname, and Record Value.
-
Click Add.
Method 2: Text format
Add multiple records by entering text. Each line must follow this format: domain record-type host-record record-value.
-
Log on to Alibaba Cloud DNS - Public Zone.
-
Click Batch Operation. By default, the Domain Name > Add Zones tab opens.
-
Click Domain Records > Add DNS Records, then select Method 2.
-
Enter records in the text box one per line, and click Add.