Help Center> Domain Name Service> User Guide> Record Sets> Adding Record Sets to Multiple Public Zones

Adding Record Sets to Multiple Public Zones

Scenarios

You can add record sets of the same type to multiple domain names and their subdomains in the same resolution line.

Table 1 provides some examples to describe how to add record sets for multiple domain names.

Table 1 Adding record sets

Domain Name

Record Set Name

Record Set Type

Value

Description

exampletest1.com

-

A

192.168.1.1

Add an A record set to domain name exampletest1.com to map it to 192.168.1.1.

123

Add an A record set to subdomain 123.exampletest1.com to map it to 192.168.1.1.

www

Add an A record set to subdomain www.exampletest1.com to map it to 192.168.1.1.

exampletest2.com

-

A

Add an A record set to domain name exampletest2.com to map it to 192.168.1.1.

123

Add an A record set to subdomain 123.exampletest2.com to map it to 192.168.1.1.

www

Add an A record set to subdomain www.exampletest2.com to map it to 192.168.1.1.

exampletest3.com

-

A

Add an A record set to the domain name exampletest3.com to map the domain name to 192.168.1.1.

123

Add an A record set to subdomain 123.exampletest3.com to map it to 192.168.1.1.

www

Add an A record set to subdomain www.exampletest3.com to map it to 192.168.1.1.

Constraints

  • This function is only applicable to public domain names.
  • Before you add record sets, you must have created public zones by referring to Creating a Public Zone. Otherwise, added record sets will not take effect.
  • When you add record sets, note the following:
    • You can add record sets to a maximum of 10,000 domain names at a time.
    • Up to 10 record sets can be added to each domain name (including its subdomains).
    • The record set name is the same for each domain name.
    • The line type is set to Default by default.
    • The TTL is set to 300s by default.

Procedure

  1. Go to the Public Zones page.
  2. Select the zones to which you want to add record sets and select Add Record Sets from the Batch Operation drop-down list.
  3. On the Add Record Sets page, set the parameters based on Table 1.
    • Zone Name: domain names to which you want to add record sets
      • You do not need to set this parameter since you have already selected the zones in 2.
      • If you click Add Record Sets without selecting any zones, enter the domain names, with each on a separate line.
    • Type: type of record set to be added
    • Record Set Name: prefix for the domain names
    • Value: value of the record sets
  4. Click Submit.

    The added record sets are in the Normal state.

    After domain names are added, you can view the operation name, result, time, and status on the View Batch Operations tab. You can also download failed operations.