Here are some example DNS records.
If you are new to DNS, this will help you adding/updating records.
An A record always points to an IP address. For example:
www A 184.108.40.206
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.
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?
Usually used for specific DNS records for services such as SIP and XMPP
_SERVICE._PROTOCOL SRV PRIORITY WEIGHT PORT TARGET
_autodiscover._tcp SRV 100 1 443 autodiscover.DOMAIN
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 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.
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.