A Records
Address (A) records direct a hostname to a numerical IP address. For example, if you want mycomputer.yourdomain.com to point to your home computer (for instance, 192.168.0.3), you would enter a record that looks like this: Add A type record.
Note: If you have an IPv6 IP address, use an AAAA record instead.
Important: You must put a period after the hostname. Do not put periods after IP addresses.
CNAME Records
CNAME allows a machine to be known by one or more hostnames. There must always be an A record first, which is known as the canonical or official name. For example:
yourdomain.com. A 192.168.0.1
Using CNAME, you can point other hostnames to the canonical (A record) address. For example:
ftp.yourdomain.com. CNAME yourdomain.com.
mail.yourdomain.com. CNAME yourdomain.com.
ssh.yourdomain.com. CNAME yourdomain.com.
CNAME records make it possible to access your domain through ftp.yourdomain.com, mail.yourdomain.com, etc. Without a proper CNAME record, you will not be able to connect to your server using such addresses.
Entering a CNAME record
If we wanted home.help.com to point to help.com, we could enter the record in two ways:
Add CNAME type record: The first method allows you to simply enter the subdomain. Do not put a period after the subdomain name.
Add CNAME type record: The second method requires you to enter the entire hostname, followed by a period.
Nameserver (NS) Records
NS records specify the authoritative nameservers for the domain.
Important: Changing NS records may cause your site to stop working. There is generally no need to change NS records.
Entering an NS record
Enter two new nameserver records so they exist as shown in the table above. Be sure that the nameserver hostname is followed by a period, as in this example:
Be sure to put a period after the nameserver hostname in an NS record (ns1.helper.com. and not ns1.help.com).
MX Records
Free email services such as everyone.net require MX changes to be made for their software to work. This change allows mail destined for your domain to be directed to their server. Please note that changing MX records may prevent your current POP3 accounts, forwarders, autoresponders, and mailing lists from functioning.
To add an MX record, type in the hostname followed by a period, as provided by the email provider. Then select the priority level (usually 10) from the dropdown box on the right. The priority level will also be provided by the email provider. Click “Add.”
Note: Be sure to put a period at the end of the hostname.
To restore the original MX settings, enter yourdomain.com. and priority 0 after deleting the other MX record.
PTR Records
Pointer records (PTR) are used for reverse lookups. For example, to make 192.168.0.1 resolve to www.yourdomain.com, the record would look like this:
1.0.168.192.in-addr.arpa PTR www.yourdomain.com.
Note: The IP address is reversed in the first field. Please use a period after your hostname (second field).
The “in-addr.arpa” method is the most frequently used.
Important: PTR records are effective only if your site has its own IP address.
Important: PTR records are only effective if named.conf is manually edited and the proper zone information is added. This can only be done by a root user (the server admin).
TXT Records
Text records (TXT) are originally used for storing new types of information. This information could be any text. The record would look like this:
Note: TXT is often used to set up Sender Policy Framework (SPF) records, which are used to validate legitimate email sources from a domain.
SRV Records
SRV records provide a standard way of allowing services to use different values and for a program to determine what those connection values are.
Example:
An SRV record contains the following information. Here, we list example values for each field.
service | XMPP |
proto* | TCP |
name** | example.com |
TTL | 86400 |
class | IN |
type | SRV |
priority | 10 |
weight | 5 |
port | 5223 |
target | server.example.com |
An example SRV record:
_xmpp._tcp.example.com. 86400 IN SRV 10 5 5223 server.example.com.
In the above example, “_xmpp” indicates the type of service (the XMPP protocol) and “_tcp” indicates the TCP transport protocol, while “example.com” is the host, or the domain name. “Server.example.com” is the target server and “5223” indicates the port within that server.
SRV records must point to an A record (in IPv4) or an AAAA record (in IPv6). The server name they list cannot be a CNAME. So “server.example.com” must lead directly to an A or AAAA record under that name.
AAAA Records
AAAA records map a hostname to an IPv6 address, allowing identification of devices using IPv6.
Example: To point mycomputer.yourdomain.com to an IPv6 address:
Important: Include a period after the hostname, but not after the IP address.
DS Records
Delegation Signer (DS) records are used in DNSSEC to verify the authenticity of DNS records for a domain.
Example Format:
help.com. DS 12345 1 1 abcdef1234567890
Components:
- Key Tag: Unique identifier for the DNSKEY.
- Algorithm: Key generation algorithm (e.g., 1 for RSASHA1).
- Digest Type: Type of digest (e.g., 1 for SHA-1).
- Digest: Hash of the public key.
Important: Always include a period after the domain name. Ensure accuracy to maintain domain security.