What is DNS and what are A, MX and CNAME records?

 
Distributed Name System (DNS) is an Internet protocol that connects text based domain names to their numeric IP addresses.  i.e. DNS translates www.domain.com to an IP address.
 
Name Server:
Listens for and answers requests for DNS information.  Each ISP and Hosting Company has their own set of Name Servers.  When you register or transfer a domain, you specify which provider's Name Servers are authoritive for a domain.  When someone trys to email you or visit your website, their ISP's servers query the authoritive Name Servers to find out which IP addresses to use.
 
Resource Records
An entry in the DNS that defines an Internet resource.
  • "A" Records:

    An "Address" record maps a name to an IP address.  e.g.

    www.domain.com IN A 192.168.1.1
    mail.domain.com IN A 192.168.1.2

     
  • "CNAME" Records

    "Canonical Name" records allow you to set aliases for existing address records e.g.

    pop.domain.com IN CNAME mail.domain.com.
    pop3 IN CNAME mail
    mail IN A 192.168.1.2

    In the case above pop.domain.com and pop3.domain.com point to the same location. The pop3 line shows an abbreviated way of defining the record.

     
  • "MX" Records:

    "Mail eXchanger" records specify which servers are to be used for email delivery.  Multiple mail servers can be specified with different preferences.  This creates fault tolerance in the event a mail server is unreachable. The server with the lowest preference value is the first server that other mail servers attempt to contact. If that server is not available, external mail servers progress down the list to the server with the next lowest preference value. e.g.

    smtp IN MX 5 mail
    smtp2 IN MX mailbackup.isp.com.
    mail IN A 192.168.1.2

     
A * prefix can be used as short-hand for all prefixes. e.g.
* IN A 192.168.1.1
This maps www.domain.com ftp.domain.com etc. to 192.168.1.1
 
A @ prefix can be used as short-hand for a blank prefix. e.g.
@ IN A 192.168.1.1
This maps domain.com to 192.168.1.1
 
When you setup a domain, these records are set to the defaults for our servers. 

 

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

I am using HELM control panel. How to view my site prior to DNS propagation?

In order for to view your site prior to DNS propagating, use the following procedure to add a DNS...

I forgot my Helm login information. How do I log in?

Please visit the Helm login page at http://cp.domain.com and click the "Click here if you have...

What is the difference between a plan and a package?

A plan is basically a template of the group of services that the host provides and can be named...

How to create an email account for the sub-domain

>>If you want to make email account for your sub.domain then you must first create a...

What is an Auto Responder?

An auto responder is an automated reply to an incoming e-mail.  Thus, if you configure an...