Updated on 2024-11-14 GMT+08:00

Creating a Public Zone

Scenarios

Create a public zone for your domain name on the DNS console.

Prerequisites

You have registered a domain name.

Procedure

If your domain name is registered with a third-party registrar, create a public zone and add record sets to it on the DNS console.

  1. Go to the Public Zones page.
  2. In the upper right corner of the page, click Create Public Zone.
  3. Configure the parameters.

    Table 1 describes the parameters.
    Table 1 Parameters for creating a public zone

    Parameter

    Description

    Example Value

    Domain Name

    Domain name you registered.

    The domain name can be a second-level domain name or one of its subdomains. The following are two examples.
    • Subdomain of example.com: abc.example.com
    • Subdomain of example.com.cn: abc.example.com.cn

    For details about the domain name format, see Domain Name Format and DNS Hierarchy.

    example.com

    Email

    (Optional) Email address of the administrator managing the public zone.

    Recommended email address: HOSTMASTER@Domain name

    For more information about the email address, see Why Was the Email Address Format Changed in the SOA Record?

    HOSTMASTER@example.com

    Enterprise Project

    Enterprise project associated with the public zone.

    You can manage public zones by enterprise project.

    NOTE:

    This parameter is available and mandatory only when Account Type is set to Enterprise Account.

    When setting this parameter, note the following:

    • If you do not manage zones by enterprise project, select the default enterprise project.
    • If you manage zones by enterprise project, select an existing enterprise project.

      Before you configure this parameter, create an enterprise project.

    default

    Tag

    (Optional) Identifier of the zone.

    Each tag contains a key and a value. You can add up to 20 tags to a zone.

    For details about tag key and value requirements, see Table 2.

    example_key1

    example_value1

    Description

    (Optional) Supplementary information about the zone.

    The description can contain no more than 255 characters.

    This is a zone example.

    Table 2 Tag key and value requirements

    Parameter

    Requirements

    Example Value

    Key

    • Cannot be left blank.
    • Must be unique for each resource.
    • Can contain no more than 36 characters.
    • Cannot start or end with a space nor contain special characters =*<>\,|/

    example_key1

    Value

    • Cannot be left blank.
    • Can contain no more than 43 characters.
    • Cannot start or end with a space nor contain special characters =*<>\,|/

    example_value1

  4. Click OK.

    You can view the created public zone on the Public Zones page.

  5. Click the domain name or click Manage Record Set in the Operation column.

    On the Record Sets tab, click Add Record Set. For details about the parameters, see Record Set Overview.

    You can click the domain name to view SOA and NS record sets automatically added to the zone.

    • The SOA record set includes administrative information about your zone, as defined by the Domain Name System (DNS).
    • The NS record set defines the authoritative DNS servers for the domain name.

      You can modify the NS record set based on the region of the domain name. For more information about the DNS servers, see What Are Huawei Cloud DNS Servers?

Follow-up Operations

After a public zone is created, you can perform the following operations: