Example DNS records

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 IP 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.


CNAME Record:

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

ftp CNAME www.yourdomain.tld

This sets the ftp. to point to www., which, if you have that set to an A record like above, then points 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?

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., 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

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 :


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.

  • 18 Users Found This Useful
Was this answer helpful?

Related Articles

Managing & Updating NameServers

For any domain registered with Elive, the default NameServers on the domain are as...

HowTo Update DNS Servers

To update the DNS servers on any domain registered with Elive, please login to your client...

SPF Records

If you need an SPF records added to your domain, you can do it in your DNS control panel or email...