Updated on 2024-12-03 GMT+08:00

Record Set Types and Configuration Rules

Record Set Types

Table 1 describes the record set types.

Table 1 Record set types

Record Set Type

Description

Value

Example

A

Maps domains to IPv4 addresses.

IPv4 addresses mapped to the domain name.

You can enter up to 50 values, each on a separate line.

192.168.12.2

192.168.12.3

CNAME

Maps one domain name to another domain name or multiple domain names to one domain name.

Domain name alias. You can enter only one domain name.

www.example.com

MX

Maps domain names to email servers.

Email server address

You can enter up to 50 values, each on a separate line.

The format is [priority][mail server host name].

Configuration rules:
  • priority: priority for an email server to receive emails. A smaller value indicates a higher priority.
  • mail server host name: domain name provided by the email service provider

10 mailserver.example.com.

20 mailserver2.example.com.

AAAA

Maps domain names to IPv6 addresses.

IPv6 addresses mapped to the domain name.

You can enter up to 50 values, each on a separate line.

ff03:0db8:85a3:0:0:8a2e:0370:7334

TXT

Creates text records for domain names. It is usually used in the following scenarios:

  • To record DKIM public keys to prevent email fraud.
  • To record the identity of domain name owners to facilitate domain name retrieval.

Text content

Configuration rules:

  • Text record values must be enclosed in double quotation marks.
  • One or more text record values are supported, each on a separate line.

    A maximum of 50 text record values can be entered.

  • A single text record value can contain multiple character strings, each of which is double quoted and separated from others using a space.

    One character string cannot exceed 255 characters.

    A value must not exceed 4096 characters.

  • The value cannot be left blank.
  • The text cannot contain a backslash (\).
  • Single text record:

    "aaa"

  • Multiple text records:

    "bbb"

    "ccc"

  • A text record that contains multiple strings:

    "ddd" "eee" "fff"

SRV

Records servers providing specific services.

Server address

You can enter up to 50 values, each on a separate line.

The value format is [priority] [weight] [port number] [server address].

Configuration rules:

  • The priority, weight, and port number range from 0 to 65535.
  • A smaller value indicates a higher priority.
  • A larger value indicates a larger weight.
  • The server address is the domain name of the target server.

    Ensure that the domain name can be resolved.

NOTE:

If the record set values have the same priority, requests to the domain name will be routed based on weights.

2 1 2355 example_server.test.com

NS

Delegates subdomains to other name servers.

DNS server address

You can enter up to 50 values, each on a separate line.

ns1.example.net

ns2.example.net

SOA

Identifies the base information about a domain name. The SOA record set is automatically generated by the DNS service and cannot be added manually.

This type of record set is created by default and cannot be added manually.

This type of record set is created by default and cannot be added manually.

PTR

Maps IP addresses to domain names.

Private domain name mapped to the private IP address. You can enter only one domain name.

www.example.com