• Domain Name Service

dns
  1. Help Center
  2. Domain Name Service
  3. User Guide
  4. Getting Started
  5. Configuring a Public Zone

Configuring a Public Zone

Scenarios

To use the DNS service to manage domain names, you need to configure the service on the management console.

Prerequisites

You have registered a domain name with the domain name registrar.

For details about how to register a domain name, contact the domain name registrar.

Configuration Process

Figure 1 Process to configure a public zone

You need to perform operations in Figure 1 in different places:

  • "Register a domain name" and "Update the NS addresses" are conducted by your domain name registrar.
  • "Create a public zone" and "Create record sets" are performed on the DNS console.

Procedure

Creating a public zone

  1. Log in to the management console.
  2. In the Network category, click Domain Name Service.

    The DNS console is displayed.

  3. In the navigation pane, Choose Public Zones.

    The Public Zones page is displayed.

  4. Click Create Public Zone.
    Figure 2 Create Public Zone
  5. Configure the parameters according to Table 1.
    Table 1 Parameters required for creating a public zone

    Parameter

    Description

    Example Value

    Name

    Domain name registered with the domain name registrar

    example.com

    Email

    (Optional) Email address of the administrator managing the public zone. It is recommended that you set the email address to HOSTMASTER@Domain name.

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

    HOSTMASTER@example.com

    Tag

    (Optional) Identifier of a resource. Each tag contains a key and a value. You can add 10 tags at most to a zone.

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

    example_key1

    example_value1

    Description

    (Optional) Description of the domain name, which cannot exceed 255 characters

    This is a public zone.

    Table 2 Tag key and value requirements

    Parameter

    Requirement

    Example Value

    Key

    • Cannot be left blank.
    • Must be unique for each resource.
    • Consists of at most 36 characters.
    • Contains only letters, digits, hyphens (-), and underscores (_).

    example_key1

    Value

    • Cannot be left blank.
    • Consists of at most 43 characters.
    • Contains only letters, digits, hyphens (-), and underscores (_).

    example_value1

  6. Click OK.

    You can query information about the zone you created on the Public Zones page.

    NOTE:

    Click the zone name to query detailed zone information. The system has created record sets of the SOA type and NS type in the zone.

    • The SOA record set determines the DNS server that is the authoritative information source for a particular domain name.
    • The NS record set defines authoritative DNS servers for a zone.

Adding a record set of the A type

  1. In the zone list on the Public Zones page, click the name of the public zone you created.

    The record set page is displayed.

  2. Click Add Record Set.

    The Add Record Set box is displayed.

    Figure 3 Add Record Set
  3. Configure the parameters according to Table 3.
    Table 3 Parameters required for adding a record set of the A type

    Parameter

    Description

    Example Value

    Name

    Domain name (You do not need to manually add the suffix.)

    The default value is the zone name.

    www

    Type

    Type of the record set

    A – Map domains to IPv4 addresses

    TTL (s)

    Caching period of the record set (in seconds)

    The default value is 300s, that is, 5 min.

    Value

    IPv4 addresses mapped to the domain name

    Every two IPv4 addresses are separated using a line break.

    192.168.12.2

    192.168.12.3

    Tag

    (Optional) Identifier of a resource. Each tag contains a key and a value. You can add 10 tags at most to a record set.

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

    example_key1

    example_value1

    Description

    (Optional) Description of the domain name

    -

  4. Click OK.

Updating the NS addresses

To resolve the domain name on the Internet, you need to change the DNS server addresses in your domain name registrar's system. Specifically, change the NS records of the zone to the authoritative DNS server addresses provided by the DNS service.

After you create a public zone, the system automatically creates an NS record set, which specifies the DNS servers used to resolve public domain names.

NOTE:

Generally, the update takes effect within 48 hours, but the time may vary depending on domain name registrars.

You can perform the following operations to query the DNS server addresses provided by the DNS service:

  1. Log in to the management console.
  2. In the Network category, click Domain Name Service.

    The DNS console is displayed.

  3. In the navigation pane, Choose Public Zones.

    The Public Zones page is displayed.

  4. In the zone list, click the name of the public zone you created.
    Query the NS record set. The information under Value is the DNS servers provided by the DNS service.
    Figure 4 NS record set