This article provides information on the following topics:
The records associated with a zone determine how DNS queries will be resolved by our Route name servers.
The types of records that can be associated with a zone are described below.
A record name may consist of alphanumeric characters, an at symbol (@), underscores, hyphens, and periods.
Name | Type | Common Usage | Configuration |
---|---|---|---|
A |
Address |
Maps a hostname to an IPv4 address. |
Name
TTL
Value
|
AAAA |
Address |
Maps a hostname to an IPv6 address. |
Name
TTL
Value
|
CAA |
Certificate Authority Authorization |
Defines the Certificate Authorities (CAs) that are authorized to issue certificates for the domain corresponding to this zone. |
Name Identifies a hostname (e.g., @ or www). TTL Indicates the length of time (in seconds) that a server should cache the record. Value Defines your CAA policy for the specified hostname using the following syntax: flags issue|issuewidl|iodef value
Sample value: 0 issue ca.example.net
|
CNAME |
Alias |
A Canonical Name record maps a hostname to another hostname or FQDN. |
Name
A CNAME record cannot co-exist with another record with the same Name. Set the Name option to the @ symbol to point the CNAME record to the zone apex (e.g., example.com). An asterisk may be used as a "starts with" wildcard. However, it may not be used in the middle or at the end of the specified value. TTL
Value
Append a period (.) to the domain defined within the Value option to make it a fully qualified domain (FQDN). If this domain does not end with a period (.), then the current zone's name will be appended to it in order to make it a fully qualified domain. A CNAME record must point to a hostname. It should not point to another CNAME record. Example: We will see how a trailing period affects CNAME records defined within the example.com. zone:
|
MX |
Mail Exchange |
Maps a hostname to a mail server. Indicates the SMTP gateways to which mail can be delivered. |
Name
TTL
Value
Priority Hostname.
Example: 0 smtp1.example.com.
Each of the above terms is defined below.
|
NS |
Name Server |
Delegates a hostname to a name server. |
Name
TTL
Value
|
PTR |
Pointer |
Maps an IPv4 address to a hostname. Use this type of record when setting up a reverse DNS lookup. |
Name
TTL
Value
The specified hostname must end with a period (e.g., example.com.). |
SOA |
Start of Authority |
Provides authoritative information about a DNS zone. |
This record is automatically defined when you create a zone and it cannot be modified. |
SPF |
Sender Policy Framework |
Defines the mail servers that can legitimately send emails from the zone's domain. |
Name
TTL
Value
|
SRV |
Service Locator |
Identifies the location of a service (e.g., FTP). |
Name
Make sure that the name starts with an underscore (e.g., _tcp, _http, or _udp) and use a period to separate multiple protocols (e.g., _tcp._http). TTL
Value
Priority Weight Port Target
Each of the above terms is defined below.
|
TXT |
Text |
This record allows text to be associated with a zone. Among its many uses, it can store SPF data. |
Name
TTL
Value
|
Upon creating a zone, a set of system-defined records required by our DNS service are automatically added to it. These mandatory records cannot be modified or deleted. A list is provided below.
Although the above records are mandatory and cannot be modified or deleted, you may always add, modify, and delete, as needed, additional NS, A, and AAAA records to your zone.
Certain records (e.g., A or AAAA records) require a host label (e.g., www or us) for the Name option. Keep in mind that the origin associated with a zone (e.g., example.com) will be appended to the specified host label. For example, if you specify us as the host label in the Name option, then the hostname corresponding to that record would be us.example.com. Additional syntax information is provided below.
Points To | Syntax | Description |
---|---|---|
Origin |
@ |
The @ symbol identifies the origin (e.g., example.com) associated with the current zone. The proper usage of this syntax is to set the Name option to the @ symbol. No other characters should be specified. |
Host Label |
Host Label |
Specify the desired host label in the Name option. For the purposes of our DNS service, it will treat the record as if the origin (e.g., example.com) had been appended to it. Do not specify a hostname (e.g., www.example.com). |
A CNAME record can be set to a zone apex (aka naked domain or root domain). This allows the zone apex (e.g., example.com) to resolve to a subdomain (e.g., www.example.com).
Point a CNAME record to the zone apex (e.g., example.com) through the following configuration:
Setting | Value | Description |
---|---|---|
Name |
@ |
The @ symbol indicates that the CNAME record should point to the zone apex. |
TTL |
Seconds |
Set the TTL to the length of time (in seconds) that a DNS server should cache the record. |
Value |
Hostname. |
The specified hostname should point to an A or AAAA record. |
Our authoritative name servers resolve a CNAME record to an A or AAAA record. As a result, the hostname defined in the CNAME record will not be delivered to the requester. Rather, our authoritative name servers will serve the IP address associated with the A or AAAA record.
This scenario explores how a CNAME record that points to the zone apex is handled by our DNS service. In this example, a zone called example.com contains the following CNAME and A records:
CNAME record configuration:
Setting | Value |
---|---|
Name |
@ |
TTL |
3600 |
Value |
www.example.com. |
A record configuration:
Setting | Description |
---|---|
Name |
www |
TTL |
3600 |
Value |
192.0.2.100 |
Requests that point to example.com will be resolved by our authoritative DNS servers to 192.0.2.100. The requester will be unaware that example.com actually points to www.example.com.
A reverse DNS lookup identifies the hostname associated with an IPv4 address by leveraging a pointer (PTR) record.
Set up a reverse DNS lookup by performing the following steps:
Create a zone within the in-addr.arpa domain that is specific to the first three octets of the desired IPv4 address. Reverse the order of the first three octets when setting up your zone.
Syntax:
Example:
Create the following zone for 192.0.2.100:
Create a PTR record for the desired IP address within the above zone.
Setting | Value | Description |
---|---|---|
Name |
Fourth Octet |
Set to the fourth octet of the desired IPv4 address. |
TTL |
Seconds |
Set the TTL to the length of time (in seconds) that a DNS server should cache the record. |
Value |
Hostname. |
Indicate the hostname associated with this IPv4 address. |
Example:
Create a PTR record for 192.0.2.100 by setting the name to 100, TTL to 3600, and the value to the desired hostname (e.g., www.example.com.).
Upon setting up the above configuration, a reverse DNS lookup for 192.0.2.100 returns:
Edgecast CDN