Help Center> Domain Name Service> User Guide> Record Sets> Configuring Domain Name Aliases

Configuring Domain Name Aliases

Scenarios

You can use an alias record set to associate a domain name with a Huawei Cloud resource.

The following services are supported:

  • CloudSite
  • WAF

This topic describes how to add an alias record set.

Restrictions and Limitations

  • You can only add alias records for public zones.
  • NS and CNAME record sets cannot be associated with a cloud resource name.

Procedure

  1. Go to the DNS console.
  2. In the navigation pane, choose Public Zones or Private Zones.

    The zone list is displayed.

  1. Click the name of the public zone to which you want to add an alias record set.
  2. Click Add Record Set.
  3. Configure the parameters based on Table 1.
    Table 1 Parameters for adding an A record set

    Parameter

    Description

    Example Value

    Name

    Prefix of the second-level domain name. (You do not need to manually add the suffix.)

    The default value is the domain name.

    www

    Type

    Type of the record set

    A – Map domains to IPv4 addresses

    Alias

    Whether to associate the record set with a cloud resource name.

    Yes

    Alias Target

    Cloud resource name to be associated with the alias record set, which includes the following two parts:

    • Cloud service: CloudSite or WAF
    • Resource name: site

    CloudSite_site

    Tag

    Tag that will be added to the record set. For details about tag key and value requirements, see Table 2.

    example_key1

    example_value1

    Description

    (Optional) Supplementary information about the record set.

    -

    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 nor contain special characters =*<>\,|/

    example_key1

    Value

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

    example_value1

  4. Click OK.