Here are some example DNS records.

If you are new to DNS, this will help you adding/updating records.


A Record:

An A record always points to an IPv4 address. For example:

www A

This means that www. points the to above IP address.

You can also have a 'Blank' or '@' A record.

NB: The @ record for any domain CANNOT be a CNAME. This will result in very odd behaviour.
To get around this when using Cloud services, use an ALIAS record type, see below.


AAAA Record:

An AAAA record always points to an IPv6 address. For example:

www AAAA 2a02:2078:108:9::0

This means that www. points the to above IP address.

You can also have a 'Blank' or '@' AAAAA record.


CNAME Record:

With a CNAME you are pointing one text record to another. EG:

ftp CNAME www.somedomain.tld

This sets the ftp.yourdomain.tld to point to www.somedomain.tld , which then should point to an IP address.

So effectively, both records point to the same IP address.

Elive Tip: Do not use CNAMES pointing to records within your domain, mainly use them to point to records outside of your control. Reason. CNAMES result in 2 or more DNS lookup requests. So this reduces performance. Why force more lookups when you dont need to?


CAA Record:

A CAA Record is used to specify which certificate authorities (CAs) are allowed to issue certificates for a domain.:


@ CAA 0 issue ""


SRV Records:

Usually used for specific DNS records for services such as SIP and XMPP



_autodiscover._tcp SRV 100 1 443 autodiscover.DOMAIN


MX Records:

These are the records for your domain that specifiy where email for your domain is delivered to. Each record has a weight figure with it, the lowest number record being the highest priority. Higher numbers signify backup MX records, but you have to ensure your backup server is configured to be a backup for the primary or otherwise emails could bounce.

Contrary to some belief, you do NOT need the MX record for your domain to be mail.yourdomain.tld , it can be any record, but you should not enter an IP address, only an existing A or CNAME record.


@ MX 10 serverA.DOMAIN

@ MX 20 backupserver.DOMAINA

@ MX 30 backupserver.DOMAINB


SPF Records

SPF allows the owner of an Internet domain to specify which computers are authorized to send mail with sender addresses in that domain. SPF records are entered within the TXT record section of your DNS records.

Here is a good tool to help you generate an SPF record for your domain


@ TXT v=spf1 a mx ptr ?all


Elive also implement 2 custom record types, an ALIAS and a URL Redirect :

ALIAS ( Also known as CNAME Flattening )

If you have a FQDN record that you want to be resolved as a A record (EG when using the @ (blank) record) then you can select an ALIAS, instead of a CNAME, and put in the full hostname.
This wil be resolved as an A record to the IP of the hostname in DNS queries. ALIAS records are checked & refreshed every 3 hours.

URL Redirect

If you want a record to be forwarded to another website URL, then you can select this and enter the website you want to redirect to (include the full URL with http:// or https:// ) 
This will result in a 301 Redirect for the user in their browser.

Was this answer helpful? 20 Users Found This Useful (83 Votes)