All Products
Search
Document Center

Alibaba Cloud DNS:DNS record templates

Last Updated:Feb 11, 2026

Overview

DNS record templates let you add or modify the same DNS records for multiple domain names in batches.

Add a template

Adding a template involves two steps: enter a template name and add records and record values.

Procedure

  1. Log on to the Alibaba Cloud DNS - Authoritative DNS console.

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

  3. Click DNS Templates > Add Template.

  4. Enter a descriptive template name, and click Next.

  5. Next, you can click Add Hostname, select a Record Type based on your requirements, enter a Hostname and a Record Value, click OK, and then click Next.

  6. Click Back to return to the DNS Templates tab. Next to the target template name, click the Settings button, enter a domain name, and then click OK. The DNS records configured in the template are applied to the domain name you enter.

    Warning

    This feature first deletes all existing DNS records for the specified domain names, including subdomains, and then adds the new records from the template.

Modify a template

To modify a DNS record template before applying it to domain names, follow these steps.

Procedure

  1. Log on to the Alibaba Cloud DNS - Authoritative DNS console.

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

  3. Click DNS Templates, locate the target template, and click Edit in the Actions column. Then, modify parameters such as Record Type, Hostname, and Record Value, and click OK.

  4. After you modify the record, you can use Settings again to apply the template to the added domain name.

Delete a template

Procedure

  1. Log on to the Alibaba Cloud DNS - Authoritative DNS console.

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

  3. You can click DNS Templates, locate the target template, and click Delete in the Actions column to delete the resolution template immediately.

Important

Deleting a template does not affect the DNS records that were previously added to domain names using this template.