Record Set Types and Configuration Rules¶
Type¶
Table 1 describes the record set types.
Record Set Type | Scenario | Description |
---|---|---|
A | Public and private zones | Maps domains to IPv4 addresses. |
CNAME | Public and private zones | Maps one domain name to another or multiple domain names to one domain name. |
MX | Public and private zones | Maps domain names to email servers. |
AAAA | Public and private zones | Maps domain names to IPv6 addresses. |
TXT | Public and private zones | Specifies text records. It is usually used in the following scenarios:
|
SRV | Public and private zones | Records servers providing specific services. |
NS | Public and private zones | Delegates subdomains to other name servers.
|
SOA | Public and private zones | Specifies the master authoritative DNS server for a domain name. The SOA record set is created by the system and cannot be added manually. |
CAA | Public zone | Grants certificate issuing permissions to CAs. CAA record sets can be used to prevent the issuance of unauthorized HTTPS certificates. |
PTR | Private zone | Maps IP addresses to domain names. |
Record Set Configuration¶
Table 2 lists the value requirements for different types of record sets.
Record Set Type | Value | Example |
---|---|---|
A | IPv4 addresses mapped to the domain name You can enter a maximum of 50 record values, each on a separate line. | 192.168.12.2 192.168.12.3 |
CNAME | Domain name alias. You can enter only one domain name. | www.example.com |
MX | Email server address You can enter a maximum of 50 record values, each on a separate line. The format is [priority][mail server host name]. Configuration rules:
| 10 mailserver.example.com. 20 mailserver2.example.com. |
AAAA | IPv6 addresses mapped to the domain name You can enter a maximum of 50 record values, each on a separate line. | ff03:0db8:85a3:0:0:8a2e:0370:7334 |
TXT | Text content Configuration rules:
|
|
SRV | Server address You can enter a maximum of 50 record values, each on a separate line. The value format is [priority] [weight] [port number] [server address]. Configuration rules:
Note The system checks the priority values first. If the priority values are the same, the system will check the weight values. | 2 1 2355 example_server.test.com |
NS | DNS server address You can enter a maximum of 50 record values, each on a separate line. | ns1.example.net ns2.example.net |
CAA | CA to be authorized to issue certificates for a domain name or its subdomains You can enter a maximum of 50 record values, each on a separate line. The format is [flag] [tag] [value]. Configuration rules:
| 0 issue "ca.abc.com" 0 issuewild "ca.def.com" 0 iodef "mailto:admin@domain.com" 0 iodef "http:// domain.com/log/" |
PTR | Private domain name mapped to the private IP address. You can enter only one domain name. | www.example.com. |