All Products
Search
Document Center

Alibaba Cloud DNS:Add DNS records

Last Updated:Jun 22, 2026

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

  1. Log on to Alibaba Cloud DNS - Public Zone.

  2. Click the Batch Operation button to go to the Batch Operation page.

  3. Click Domain Records > Add DNS Records.

  4. 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

  5. Select Method 1.

  6. Enter domains one per line, and configure the Record Type, Hostname, and Record Value.

  7. 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.

  1. Log on to Alibaba Cloud DNS - Public Zone.

  2. Click Batch Operation. By default, the Domain Name > Add Zones tab opens.

  3. Click Domain Records > Add DNS Records, then select Method 2.

  4. Enter records in the text box one per line, and click Add.