This topic introduces the types of DNS records and the parameters for adding DNS records.
Record types
ESA supports the following record types: A/AAAA, CNAME, MX, TXT, SRV, AAAA, NS, and CAA.
Record type | Description |
A/AAAA | A/AAAA records map domain names to IPv4 or IPv6 addresses. |
CNAME | A CNAME record maps a domain name to another domain name. |
MX | MX records point domain names to mail server addresses. |
TXT | TXT records in text format contain readable information. |
SRV | Service records (SRV records) are used to identify specific services used by servers and commonly applied to directory management in Microsoft systems. |
NS | NS records delegate subdomains to other DNS providers for resolution. |
CAA | CAA records are used to specify which CAs are allowed to issue certificates for a domain name. |
CERT | CERT records store certificates and related security information in a publicly accessible location. These records can be used by clients and other services for authentication. |
SMIMEA | SMIMEA records associate S/MIME (Secure/Multipurpose Internet Mail Extensions) certificates with domain names. S/MIME is a widely used standard for email encryption and digital signing. It uses PKI to encrypt and sign email messages. |
SSHFP | SSHFP records store SSH public key fingerprints. SSH clients can use SSHFP records to verify the identity of a remote server, enhancing connection security. |
TLSA | A TLSA (TLS Authentication) record allows you to associate a TLS certificate with a domain name's specific service and port. |
URI | URI records map domain names to URIs. Defined in RFC 7553, this record type enables DNS to participate in URI resolution and can link to the locations of various services, information, and resources. |
Parameters for adding records
When you add a DNS record, you must specify different parameters based on the record type.
A/AAAA record
You can add an A/AAAA record to point a domain name to an IPv4 or IPv6 address.
Parameter | Description |
Record type | Select A/AAAA from the drop-down list. |
Hostname | The prefix of the subdomain. For example, if you want to add a record for the subdomain |
Proxy Status | If you proxy the record, client requests intended for the proxied domain go to ESA points of presence (POPs) for acceleration and protection. If you disable proxy for the record, ESA only resolves the record. |
Record Value | The record value can be one or more IPv4 or IPv6 addresses. Separate multiple IP addresses with commas (,). Example: |
Origin Host | By default, the domain name in a client request is used as the Host request header when ESA retrieves resources from the origin server. If you want ESA to rewrite the Host header, refer to Origin host. |
TTL | A time to live (TTL) value specifies how long the record is valid. A smaller value indicates less time required to apply record updates. Default value: Auto. Note You cannot adjust the TTL for proxied DNS records. |
Remarks | Optional. Custom remarks. |
CNAME record
You can create a CNAME record to point a domain name to another one that resolves an IP address.
Parameter | Description |
Record type | Select CNAME from the drop-down list. |
Hostname | The prefix of the subdomain. For example, if you want to add a record for the subdomain |
Proxy status | If you proxy the record, client requests intended for the proxied domain go to ESA points of presence (POPs) for acceleration and protection. If you disable proxy for the record, ESA only resolves the record. |
Record Value | Valid values are Domain Name, OSS, S3-ompatible, Load Balancer, and Origin Pool.
|
Origin Host |
|
TTL | A time to live (TTL) value specifies how long the record is valid. A smaller value indicates less time required to apply record updates. Default value: Auto. Note You cannot adjust the TTL for proxied DNS records. |
Remarks | Optional. Custom remarks. |
MX record
You can add a mail exchanger (MX) record to point a domain name to a mail server address.
Parameter | Description |
Record type | Select MX from the drop-down list. |
Hostname | The prefix of the subdomain. For example, if you want to add a record for the subdomain |
Priority | Enter the priority according to the requirements of the email registrar. A lower value indicates a higher priority. |
Mail Server | Enter the domain name of your mail server. Example: |
TTL | A time to live (TTL) value specifies how long the record is valid. A smaller value indicates less time required to apply record updates. Default value: Auto. |
Remarks | Optional. Custom remarks. |
TXT record
You can add a TXT record to associate human-readable text, such as public information or verification information, with a domain name.
Parameter | Description |
Record type | Select TXT from the drop-down list. |
Hostname | The prefix of the subdomain. For example, if you want to add a record for the subdomain |
Record Value | Enter the text that you want to associate with the domain name. |
TTL | A time to live (TTL) value specifies how long the record is valid. A smaller value indicates less time required to apply record updates. Default value: Auto. |
Remarks | Optional. Custom remarks. |
NS record
If you want to delegate your domain to other DNS providers for resolution, you can add a nameserver (NS) record.
Parameter | Description |
Record type | Select NS from the drop-down list. |
Hostname | The prefix of the subdomain. For example, if you want to add a record for the subdomain |
Record Value | Enter the domain name of the authoritative server that you want to point to, such as |
TTL | A time to live (TTL) value specifies how long the record is valid. A smaller value indicates less time required to apply record updates. Default value: Auto. |
Remarks | Optional. Custom remarks. |
SRV record
If you want to point a domain name to a server that provides specific services, such as directory management of Microsoft systems, you can add an SRV record.
Parameter | Description |
Record type | Select SRV from the drop-down list. |
Hostname | The prefix of the subdomain. For example, if you want to add a record for the subdomain |
Priority | The priority of the record. A lower value indicates a higher priority. |
Weight | The weight of the server, which controls the volume of traffic received by the server. A larger value indicates a higher weight and more traffic received by the server. |
Port | The network port for listening. |
Target | The domain name of the server. Example: |
TTL | A time to live (TTL) value specifies how long the record is valid. A smaller value indicates less time required to apply record updates. Default value: Auto. |
Remarks | Optional. Custom remarks. |
CAA record
Certification Authority Authorization (CAA) records are used to specify which certificate authorities (CAs) are allowed to issue SSL certificates for a domain. By configuring a CAA record, you can prevent unauthorized CAs from issuing certificates for your domain.
Parameter | Description |
Record type | Select CAA from the drop-down list. |
Hostname | The prefix of the subdomain. For example, if you want to add a record for the subdomain |
Flag | An 8-bit unsigned integer that controls how CAs process the CAA record. The most commonly used value is 0. |
Tag | The behavior associated with the record. Common tags:
|
CA Domain Name | The value of Tag. In most cases, the value is the domain name of the CA or the report URI. |
TTL | A time to live (TTL) value specifies how long the record is valid. A smaller value indicates less time required to apply record updates. Default value: Auto. |
Remarks | Optional. Custom remarks. |
CERT record
If you want to point a domain name to the location where a public-key certificate is stored, you can add a CERT record. CERT records can be used by clients and other services for authentication.
Parameter | Description |
Record type | Select CERT from the drop-down list. |
Hostname | The prefix of the subdomain. For example, if you want to add a record for the subdomain |
Certificate Type | Different values correspond to different certificate types. Examples:
We list only some common certificate types. For complete definitions and the latest updates, refer to the relevant RFC documentation or other authoritative sources. |
Key Tag | The tag related to the certificate. |
Algorithm | The algorithm that is used to encrypt the public key, which is represented by digits. Examples:
The preceding mappings are only for common reference and may vary with different standards and implementations. In practice, make sure that you refer to authoritative documentation of the specific protocol. |
Certificate (Base64-encoded) | The Base64-encoded certificate file. |
TTL | A time to live (TTL) value specifies how long the record is valid. A smaller value indicates less time required to apply record updates. Default value: Auto. |
Remarks | Optional. Custom remarks. |
SMIMEA record
SMIMEA records associate Secure/Multipurpose Internet Mail Extensions (S/MIME) certificates with domain names. S/MIME is a widely used standard for email encryption and digital signing. It uses public key infrastructure (PKI) to encrypt and sign email messages.
Parameter | Description |
Record type | Select SMIMEA from the drop-down list. |
Hostname | The prefix of the subdomain. For example, if you want to add a record for the subdomain |
Usage | The purpose of the certificate. Different values correspond to different purposes. Examples:
|
Selector | Specifies which part of the certificate is included in the record. Different values correspond to different meanings. Examples:
|
Match Type | The match type associated with the certificate. Examples:
|
Certificate (Hexadecimal) | The Base64-encoded certificate data. |
TTL | A time to live (TTL) value specifies how long the record is valid. A smaller value indicates less time required to apply record updates. Default value: Auto. |
Remarks | Optional. Custom remarks. |
SSHFP record
SSHFP records store SSH public key fingerprints. SSH clients can use SSHFP records to verify the identity of a remote server, enhancing connection security.
Parameter | Description |
Record type | Select SSHFP from the drop-down list. |
Hostname | The prefix of the subdomain. For example, if you want to add a record for the subdomain |
Algorithm | The algorithm of the SSH key. Examples:
|
Type | The fingerprint type. The fingerprint of an SSH public key allows the client to verify the server identity by cross-referencing the public key fingerprint of the server with the one stored in DNS. SSHFP records contain the algorithm type (Algorithm) and fingerprint type (Fingerprint Type). Examples:
|
Fingerprint (Hexadecimal) | The Base64-encoded fingerprint. |
TTL | A time to live (TTL) value specifies how long the record is valid. A smaller value indicates less time required to apply record updates. Default value: Auto. |
Remarks | Optional. Custom remarks. |
TLSA record
A TLS Authentication (TLSA) record allows you to associate a TLS certificate with the specific service and port of a domain name.
Parameter | Description |
Record type | Select TLSA from the drop-down list. |
Hostname | The prefix of the subdomain. For example, if you want to add a record for the subdomain |
Usage | The usage of the TLSA record. Examples:
|
Selector | Specifies which part of the certificate is included in the record. Different values correspond to different meanings. Examples:
|
Match Item | The match type associated with the certificate. Examples:
|
Certificate (Hexadecimal) | The Base64-encoded certificate data. |
TTL | A time to live (TTL) value specifies how long the record is valid. A smaller value indicates less time required to apply record updates. Default value: Auto. |
Remarks | Optional. Custom remarks. |
URI record
A URI record maps a domain name to a URI. Defined in RFC 7553, this record type enables DNS to participate in URI resolution and can link to the locations of various services, information, and resources.
Parameter | Description |
Record type | Select URI from the drop-down list. |
Hostname | The prefix of the subdomain. For example, if you want to add a record for the subdomain |
Priority | A smaller value indicates a higher priority. |
Weight | The relative weight for records with the same priority. A higher value means more preferred. |
Target | The target URI. Example: |
TTL | A time to live (TTL) value specifies how long the record is valid. A smaller value indicates less time required to apply record updates. Default value: Auto. |
Remarks | Optional. Custom remarks. |