Updated on 2023-03-16 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. Log in to the management console.
  2. Hover the cursor over in the upper left corner. In the service list, choose Networking > Domain Name Service.

    The DNS console is displayed.

  3. In the navigation pane on the left, choose Public Zones.

    The Public Zones page is displayed.

  4. Click Create Public Zone.
  5. Set the parameters.
    Figure 1 Create Public Zone

    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 name of example.com: abc.example.com
    • Subdomain name 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

    Tag

    (Optional) Identifier of the domain name.

    Each tag contains a key and a value. You can add a maximum of 10 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.

    You can enter a maximum of 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 a maximum of 36 characters.
    • Cannot start or end with a space or contain special characters =*<>\,|/

    example_key1

    Value

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

    example_value1

  6. Click OK.

    View the created public zone on the Public Zones page.

    If a message is displayed indicating that the public zone has already been created by another user, handle the issue by performing the operations in Regaining a Domain Name.

  7. Click the domain name or click Manage Record Set under Operation.

    On the Record Sets page, click Add Record Set. For detailed operations, see Record Set Overview.

    Click the domain name to view SOA and NS record sets automatically generated for the public zone.

    • The SOA record set identifies the base DNS information about the domain name.
    • The NS record set defines 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 DNS servers, see What Are the DNS Servers Provided by the Huawei Cloud DNS Service?

Follow-up Operations

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