All Products
Search
Document Center

Alibaba Cloud DNS:Add DNS records

Last Updated:Mar 02, 2026

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

  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

Use text format to add multiple records. Each line must follow this format: domain record-type host-record record-value.

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

  2. Click the Batch Operation button. By default, you are directed to the Domain Name > Add Zones tab.

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

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