Elastic Cloud Server
Bare Metal Server
Auto Scaling
Image Management Service
Dedicated Host
Virtual Private Cloud
Elastic IP
Elastic Load Balance
NAT Gateway
Direct Connect
Virtual Private Network
Domain Name Service
VPC Endpoint
Cloud Connect
Enterprise Switch
Security & Compliance
Web Application Firewall
Host Security Service
Data Encryption Workshop
Database Security Service
Advanced Anti-DDoS
Data Security Center
Container Guard Service
Situation Awareness
Managed Threat Detection
Cloud Certificate Manager
Anti-DDoS Service
Relational Database Service
Document Database Service
Data Admin Service
Data Replication Service
GaussDB(for MySQL)
Distributed Database Middleware
GaussDB(for openGauss)
Developer Services
Distributed Cache Service
Simple Message Notification
Application Performance Management
Application Operations Management
Blockchain Service
API Gateway
Cloud Performance Test Service
Distributed Message Service for Kafka
Distributed Message Service for RabbitMQ
Distributed Message Service for RocketMQ
Cloud Service Engine
Cloud Communications
Message & SMS
Cloud Ecosystem
Partner Center
User Support
My Account
Billing Center
Cost Center
Resource Center
Enterprise Management
Service Tickets
HUAWEI CLOUD (International) FAQs
ICP License Service
Support Plans
Customer Operation Capabilities
Partner Support Plans
Professional Services
Intelligent EdgeFabric
SDK Developer Guide
API Request Signing Guide
Koo Command Line Interface
Help Center> Live> User Guide> Domain Name Management> Configuring CNAME Records
Updated at: Mar 31, 2022 GMT+08:00

Configuring CNAME Records

After a domain name is added, the system automatically assigns a CNAME value to the domain name. You need to add the CNAME record to your domain's DNS records. Acceleration is enabled once the configuration takes effect.


  • If your domain name is registered on the HUAWEI CLOUD Domain Registration Service, configure the CNAME record by referring to the following procedure.
  • If your domain name is registered with a third-party domain registrar, create a public zone and add the domain name to the Domain Name Service (DNS) service. Then, follow the procedure to configure the CNAME record. You can also configure the CNAME record at your own DNS provider by following the configuration guide provided by your DNS provider.
  • Configure CNAME records for the ingest domain name and streaming domain name separately.


The following uses a streaming domain name as an example. The procedure for configuring the CNAME record for an ingest domain name is the same.

  1. Obtain the CNAME value.

    1. Log in to the Live console. In the navigation pane, choose Domains.
    2. Click Settings in the row containing the target streaming domain name. The basic information page is displayed.

      Obtain the CNAME value of the streaming domain name.

      Figure 1 Streaming Info

      Use as an example. Its CNAME value is

  2. Log in to the DNS console.
  3. In the navigation pane, choose DNS Resolution > Public Zones. The public zone list is displayed.
  4. Click the target domain name in the Name column.

    Use the domain name as an example. Locate the row containing

    Figure 2 Domain name list

  5. In the upper right corner of the page, click Add Record Set.

    Figure 3 Adding a record set
    Configure the parameters as instructed. Table 1 describes the parameters.
    Table 1 Parameter description



    Example Value


    Enter the level-2 domain name. You do not need to enter the suffix.

    For example, if the streaming domain name is, enter play-test.


    Type of the record set, which should be CNAME-Canonical name here

    CNAME-Map one domain to another


    Whether to associate the record set with a cloud resource name

    • Yes: Associate the record set with a cloud resource. For details, see Record Set.
    • No: Do not associate the record set with a cloud resource.



    Resolution line. The DNS server will return the IP address of the specified line based on the source of visitors. For details, see Resolution Line.

    The default value is Default.

    This parameter is supported only for public domain names.


    TTL (s)

    Cache duration of the record set (unit: s)

    The smaller the value is, the quicker the record takes effective.

    The default value is 5 min. If there are no special requirements, retain the default value.


    Domain name to be pointed to, that is, the CNAME obtained in step 1

    For example, if the streaming domain name is, enter


    (Optional) Weight of a record set. When multiple record sets of the same name and line are created in a zone, the one with a larger weight takes effect in priority. The default value is 1.

    This parameter is supported only for public domain names.

    The value ranges from 0 to 100.



    (Optional) This item is displayed when you switch on Other Settings. This parameter indicates the identifier of a resource. Each tag contains a key and a value. You can add a maximum of 10 tags to a record set.




    (Optional) This item is displayed when you switch on Other Settings. This parameter indicates the description of a domain name.

    The description can contain a maximum of 255 characters.


  6. Click OK.

    The record set you added is displayed in the list. If the status of the record set is Normal, the record set has been added.

  7. Perform step 1 to step 6 to configure the CNAME for the ingest domain name.

Verifying that the CNAME Has Taken Effect

Open the command line interface that comes with Windows and run the following command:

nslookup -qt=cname Acceleration domain name
If the CNAME is displayed, the CNAME has taken effect. A typical command output is shown in the following figure.
Figure 4 Command output

Did you find this page helpful?

Failed to submit the feedback. Please try again later.

Which of the following issues have you encountered?

Please complete at least one feedback item.

Content most length 200 character

Content is empty.

OK Cancel