tencent cloud

Private DNS

Release Notes
Product Introduction
Overview
Strengths
Use Limits
Scenarios
Purchase Guide
Billing Overview
Value-Added Service Packages
Non-Standard TLDs
Getting Started
Activating Private DNS
Creating Private Domain
Deleting Private Domain
Modifying Associated VPC
Operation Guide
Setting DNS Record
Modifying DNS Record
Deleting DNS Record
Importing DNS Records
Exporting DNS Records
Associating the VPCs of Another Account
Bulk Operation
Reverse DNS and PTR Record
Subdomain Recursive DNS Description
DNS Statistics Description
Round-Robin DNS Description
Recursive Resolution Description
Cloud Access Management
Cloud Access Management Overview
Authorizable Resource Types
Sample Access Management Policy
Use Cases
Configuring the NSCD Service for Cache Acceleration to Improve DNS Availability
API Documentation
History
Introduction
API Category
Making API Requests
Private DNS APIs
Data Types
Error Codes
FAQs
Private DNS
Will Private DNS override public domain names?
PDNS Policy
Privacy Policy
Data Processing And Security Agreement
Related Agreement
Private DNS Service Level Agreement
Glossary

CNAME Record

PDF
Focus Mode
Font Size
Last updated: 2024-12-31 16:23:16

Overview

This document describes how to add a CNAME record. If you want to point a domain name to another one which provides an IP address, you need to add a CNAME record.

Prerequisites

You have created the corresponding private domain.

Directions

Note:
You can add only one CNAME record for each host, and it cannot coexist with any other records.
You can add only one CNAME record for each host, and it cannot coexist with any other records.If anything goes wrong during this process, please contact us.
1. Log in to the Private DNS console and click Private Domain List on the left sidebar to enter the private domain list.
2. In the Private Domain List, click the name of the private domain for which you need to create a CNAME record or DNS as shown below:


3. On the DNS Records tab, click Add Record and enter the following record value information as shown below:
Note:
You can add up to 5 round-robin DNS records of the same record type for the same host.



Host: enter a subdomain. For example, when adding a record for www.dnspod.cn, you can simply select www in the Host field. If you want to add a record for dnspod.cn, select @ in the Host field.
Record Type: select CNAME.
Record Value: you can only enter a domain name to which the CNAME record points, such as https://cloud.tencent.com.
Weight: it refers to configuring multiple record values for the same host on the DNS server. In this way, when the server responds to DNS queries, all record values will return different DNS results according to the preset weights and distribute the resolved traffic to different servers, so as to implement load balancing. The weight value can be an integer between 1 and 100.
MX Priority: leave it empty.
TTL: it is the cache time and 300s by default. The smaller the value, the faster the change to the record will take effect. You can enter an integer between 1 and 86400.
4. Click Save.

Help and Support

Was this page helpful?

Help us improve! Rate your documentation experience in 5 mins.

Feedback