This document explains core DNS parameters, such as common record types, host records, and proxy status, to help you add DNS records.
Record type descriptions
ESA supports record types such as A/AAAA, CNAME, MX, TXT, SRV, NS, and CAA. Select the record type that fits your needs. The following table describes each type.
Record type | Description |
A/AAAA | IPv4/IPv6 record. Maps a domain name to an IPv4 or IPv6 address. |
CNAME | Alias record. Points a domain name to another domain name. |
MX | Mail exchange record. Points a domain name to a mail server address. |
TXT | Text record. An arbitrary, human-readable text DNS record. |
SRV | A server resource record identifies a server that provides a specific service. This type of record is commonly used in Microsoft system directory management. |
NS | Name server record. Delegates a subdomain to another DNS provider for resolution. |
CAA | Certification Authority Authorization (CAA) resource record. Restricts which certification authorities (CAs) can issue certificates for a domain. |
CERT | The CERT record publishes certificates and related security information associated with a DNS name in a publicly accessible location. This allows clients or other services to query and validate the information. |
SMIMEA | The SMIMEA record is a DNS record used to publish associations for Secure/Multipurpose Internet Mail Extensions (S/MIME) certificates. S/MIME is a standard for encrypting and digitally signing emails. It relies on a public key infrastructure (PKI) to provide email confidentiality and identity verification. |
SSHFP | The SSHFP record stores the public key fingerprint of a Secure Shell (SSH) server in the Domain Name System (DNS). This record lets clients automatically authenticate the identity of a remote SSH server to reduce the risk of man-in-the-middle attacks. |
TLSA | The TLSA record associates a transport layer security (TLS) certificate with a server that provides services on a specific port and transport protocol. |
URI | Provides a method for mapping a domain name to a Uniform Resource Identifier (URI). This record type is defined in RFC 7553. It allows the DNS to participate in the URI resolution process and can link to the location of any service, information, or resource. |
Parameters for adding records
When you add a DNS record, the required parameters vary by record type. Fill in the parameters based on the record type you select.
A/AAAA records
Add an A or AAAA record to point a domain name to an IPv4 or IPv6 address.
Parameter | Description |
Record Type | Select A/AAAA. |
Hostname | Generally refers to the prefix of a subdomain. For example, to add a record for the subdomain |
Proxy Status | If you enable Proxy Status, requests to this record are accelerated and protected by ESA. If you disable Proxy Status, ESA only provides DNS resolution for this record without acceleration and protection. |
Record Value | The record value is an IP address. For example: |
Origin Host | ESA sends a resource request to the origin server, it uses the domain name from the user's request as the HOST header by default. For example, if a client request carries the Host |
TTL | The cache duration. A smaller value means that changes to the record take effect faster across different locations. The default value is Auto. Note You cannot adjust the TTL for DNS records with Proxied enabled. |
Description | Optional. A custom comment. |
CNAME records
Add a CNAME record to point a domain name to another domain name, which then resolves to an IP address.
Parameter | Description |
Record Type | Select CNAME. |
Hostname | Generally refers to the prefix of a subdomain. For example, to add a record for the subdomain |
Proxy Status | If you enable Proxy Status, requests to this record are accelerated and protected by ESA. If you disable Proxy Status, ESA only provides DNS resolution for this record without acceleration and protection. |
Record Value | For the record value, you can select Domain Name, OSS, S3-compatible, Load Balancer, or Origin Pool.
|
Origin Host |
|
TTL | The cache duration. A smaller value means that changes to the record take effect faster across different locations. The default value is Auto. Note You cannot adjust the TTL for DNS records with Proxied enabled. |
Description | Optional. A custom comment. |
MX records
To point a domain name to a mail server, add a mail exchange (MX) record.
Parameter | Description |
Record Type | Select MX. |
Hostname | Generally refers to the prefix of a subdomain. For example, to add a record for the subdomain |
Priority | Enter the priority as required by your mail registrar. A lower value indicates a higher priority. |
Mail Server | Enter your mail server's domain name. For example: |
TTL | The cache duration. A smaller value means that changes to the record take effect faster across different locations. The default value is Auto. |
Description | Optional. A custom comment. |
TXT records
To associate a domain name with arbitrary, human-readable text—such as for verification or public information—add a text (TXT) record.
Parameter | Description |
Record Type | Select TXT. |
Hostname | Generally refers to the prefix of a subdomain. For example, to add a record for the subdomain |
Record Value | Enter the text data you need to point to. |
TTL | The cache duration. A smaller value means that changes to the record take effect faster across different locations. The default value is Auto. |
Description | Optional. A custom comment. |
NS records
To delegate a domain name to another DNS provider for resolution, add a name server (NS) record.
Parameter | Description |
Record Type | Select NS. |
Hostname | Generally refers to the prefix of a subdomain. For example, to add a record for the subdomain |
Record Value | Enter the domain name of the authoritative server you need to point to, such as |
TTL | The cache duration. A smaller value means that changes to the record take effect faster across different locations. The default value is Auto. |
Description | Optional. A custom comment. |
SRV records
To point a domain name to a server that provides a specific service, such as directory management in Microsoft systems, add a service (SRV) record.
Parameter | Description |
Record Type | Select SRV. |
Hostname | Consists of a service name and a protocol type. Both the service name and protocol type must start with an underscore |
Priority | The priority of the record. A lower value indicates a higher priority. |
Weight | The proportion of traffic the server receives. A higher value indicates a higher weight. |
Port | Enter the network port number to listen on. |
Target | Enter the domain name of the server, such as |
TTL | The cache duration. A smaller value means that changes to the record take effect faster across different locations. The default value is Auto. |
Description | Optional. A custom comment. |
CAA records
A Certification Authority Authorization (CAA) record lets a domain owner specify which certification authorities (CAs) are authorized to issue SSL/TLS certificates for their domain. By configuring CAA records, you can enhance security and prevent unauthorized CAs from issuing certificates for your domain.
Parameter | Description |
Record Type | Select CAA. |
Hostname | Generally refers to the prefix of a subdomain. For example, to add a record for the subdomain |
Flag | An 8-bit unsigned integer flag field. It is typically used to control the inheritance and further processing of CAA records. A common value is0. |
Tag | A tag field that indicates different CA policies. Common tags include the following:
|
TTL | The cache duration. A smaller value means that changes to the record take effect faster across different locations. The default value is Auto. |
Description | Optional. A custom comment. |
CERT records
To point a domain name to a public key certificate that clients or other services can query and validate, add a CERT record.
Parameter | Description |
Record Type | Select CERT. |
Hostname | Generally refers to the prefix of a subdomain. For example, to add a record for the subdomain |
Certificate Type | Indicates the type of certificate. The meaning varies with the number. The following are common certificate types and their corresponding numbers and descriptions:
These are only some common types. For a complete list of definitions or the latest updates, see the relevant RFC documents or other authoritative materials. |
Key Tag | A tag associated with the certificate. |
Algorithm | Indicates the algorithm used for public key encryption. These algorithms are usually represented by numbers. The following are common numbers and their corresponding encryption algorithms:
This mapping is a common reference. The actual usage may vary depending on standards and implementations. In practice, always refer to the specific protocol documentation for accuracy. |
Certificate (Base64-encoded) | The Base64-encoded certificate. |
TTL | The cache duration. A smaller value means that changes to the record take effect faster across different locations. The default value is Auto. |
Description | Optional. A custom comment. |
SMIMEA records
The SMIMEA record publishes associations for Secure/Multipurpose Internet Mail Extensions (S/MIME) certificates. S/MIME is a standard for encrypting and digitally signing emails and relies on a public key infrastructure (PKI) to provide email confidentiality and identity verification.
Parameter | Description |
Record Type | Select SMIMEA. |
Hostname | Generally refers to the prefix of a subdomain. For example, to add a record for the subdomain |
Usage | Specifies the purpose of the certificate. The meaning varies with the number. The following are common usage type values and their descriptions:
|
Selector | Specifies which part of the certificate data is included in the record. The meaning varies with the number. The following are common selector values and their descriptions:
|
Match Type | Specifies the matching type for the certificate association. The supported matching types are usually represented by the following numbers:
|
Certificate (Hexadecimal) | The Base64-encoded certificate association data. |
TTL | The cache duration. A smaller value means that changes to the record take effect faster across different locations. The default value is Auto. |
Description | Optional. A custom comment. |
SSHFP records
The SSHFP record stores the public key fingerprint of a Secure Shell (SSH) server in the Domain Name System (DNS). This record enables clients to automatically authenticate the identity of a remote SSH server and reduce the risk of man-in-the-middle attacks.
Parameter | Description |
Record Type | Select SSHFP. |
Hostname | Generally refers to the prefix of a subdomain. For example, to add a record for the subdomain |
Algorithm | The algorithm type of the SSH key. The following are descriptions of common algorithms:
|
Type | Stores the fingerprint of an SSH public key in the DNS to allow clients to authenticate the server's identity during public key authentication. An SSHFP record contains an Algorithm and a Fingerprint Type. The following are descriptions of common types:
|
Fingerprint (Hexadecimal) | The Base64-encoded fingerprint. |
TTL | The cache duration. A smaller value means that changes to the record take effect faster across different locations. The default value is Auto. |
Description | Optional. A custom comment. |
TLSA records
The TLSA record associates a transport layer security (TLS) certificate with a server that provides services on a specific port and transport protocol.
Parameter | Description |
Record Type | Select TLSA. |
Hostname | Generally refers to the prefix of a subdomain. For example, to add a record for the subdomain |
Usage | Specifies how the TLSA record is used. The following are descriptions of common usage types:
|
Selector | Specifies which part of the certificate data is included in the record. The meaning varies with the number. The following are common selector values and their descriptions:
|
Match Type | Specifies the matching type for the certificate association. The supported matching types are usually represented by the following numbers:
|
Certificate (Hexadecimal) | The Base64-encoded data that is associated with the certificate. |
TTL | The cache duration. A smaller value means that changes to the record take effect faster across different locations. The default value is Auto. |
Description | Optional. A custom comment. |
URI records
The URI record maps a domain name to a Uniform Resource Identifier (URI), as defined in RFC 7553. It allows DNS to participate in URI resolution and can link to the location of any service, information, or resource.
Parameter | Description |
Record Type | Select URI. |
Hostname | Generally refers to the prefix of a subdomain. For example, to add a record for the subdomain |
Priority | The priority. A lower value indicates a higher priority. |
Weight | The weight. Used for load balancing among records with the same priority. |
Target | The target URI (resource path). For example, |
TTL | The cache duration. A smaller value means that changes to the record take effect faster across different locations. The default value is Auto. |
Description | Optional. A custom comment. |