Batch add DNS records using either form-based input or text format.
Prerequisites
Before you begin, ensure that you have:
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. These values cannot be customized.
Method 1: Form-based input
Use form-based input to add the same DNS record to multiple domains. In this example, add an A record for 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
Use text format to add multiple records. Each line must follow this format: domain record-type host-record record-value.
Log on to Alibaba Cloud DNS - Public Zone.
Click the Batch Operation button. By default, you are directed to the Domain Name > Add Zones tab.
Click Domain Records > Add DNS Records, then select Method 2.
Enter records in the text box one per line, and click Add.