DNS Made Easy
Main
Membership Types
Products
Affiliate Program
 
About DNS Made Easy
FAQs
Instructions
Disclaimer and Warranty
Contact Information
Privacy Policy

Record Types

There is usually a lot of confusion about what each DNS record will do. Or how are they supposed to help you. This lesson was designed to better explain how to properly configure your domain to work properly.

Topics covered in this lesson:

For some basic sample configurations that our users ask us please click here.


A Record (Address Record)

Each of these records map a name to an IP address.

Example:

Name
TTL
Type
IP
www.dnsmadeeasy.com. 10800 A 192.168.1.2
  • Name - The www.dnsmadeeasy.com is the host.
  • TTL (time to live) - The 10800 indicates how often (in seconds) that this record will exist (will be cached) in other systems. The lower the number the more frequent systems will go to the DNS server for queries.
  • IP - 192.168.1.2 indicates the IP which this host will go to.
You are allowed multiple IPs per host for routing using "round robin" functionality. So the following is also valid:
Name
TTL
Type
IP
www.dnsmadeeasy.com. 10800 A 192.168.1.2
www.dnsmadeeasy.com. 10800 A 10.2.54.4

NOTE: It is important to know that only an A record can be made for your root host record. If you have a domain called example.com. and if you want an IP for example.com. then A record is the only valid solution for this. CNAME records are invalid.

DNS Made Easy also supports Wildcard records. Click here to learn more about what these are.

Back to Top


Wildcard Record


Wildcard Records give you the ability to map all (or a section) of the records in your domain to one IP. All Wildcard records are created with A records.

If you create a record that is part of your domain (and inclusive of the wild card set) then only that record is directed to the other IP and everything else will goto the Wildcard record.

Example:
Name
TTL
Type
IP
*.dnsmadeeasy.com. 10800 A 192.168.1.2
www.dnsmadeeasy.com. 10800 A 10.2.54.4

The 'www' record would goto 10.2.54.4 but all of the other IPs would goto 192.168.1.2

All Premium Members can create Wildcard records for their domains.

Back to Top


CNAME Record (Canonical Name Record)

These are usually referred to as alias records since they usually map an alias to its canonical name. The name server does handle these queries differently from an A record. When a name server looks up a name and finds a CNAME record, it replaces the name with the canonical name and looks up the new name. This allows you to point multiple systems to one IP without specifically assigning an A record to each host name. This was is you IP ever has to change you only have to change your A record once.

Example:

Name
TTL
Type
Data
www.dnsmadeeasy.com. 10800 A 192.168.1.2
ftp.dnsmadeeasy.com. 10800 CNAME www.dnsmadeeasy.com.

  • The A record is similar to the example above. Please read the section on A Records if this does not make sense to you.
  • Name - ftp.dnsmadeeasy.com is the host which are we are making an alias for.
  • TTL (time to live) - The 10800 indicates how often (in seconds) that this record will exist (will be cached) in other systems. The lower the number the more frequent systems will go to the DNS server for queries.
  • Data - www.dnsmadeeasy.com is the host which ftp.dnsmadeeasy.com is an alias to. It is important to realize that this value is never a CNAME value. This value should primarily be A record but could use an IP.

When the DNS server is queried for the ftp.dnsmadeeasy.com. system it realizes that it is an alias for www.dnsmadeeasy.com.. The system then returns the value of www.dnsmadeeasy.com.. which is 192.168.1.2. Whatever www.dnsmadeeasy.com. points to then so does ftp.dnsmadeeasy.com..

You can also use CNAME to point a record in one zone to a record in another zone. The following is valid:

Name
Expire Time
TYPE
Data / Value (A Record)
www.dnsmadeeasy.com. 10800 CNAME www.tiggee.com.

NOTE: It is important that CNAME always are to the left hand side. You should never make an alias to an alias. Or you should never use MX or NS records with CNAME records. You can read more about NS and MX records later in this document.

NOTE: It is important to know that only an A record can be made for your root host record. If you have a domain called example.com. and if you want an IP for example.com. then A record is the only valid solution for this. CNAME records are invalid.

Back to Top


NS Record (Name Server Record)

These records indicate which name servers are authoritative for the zone.

Example:

Name
TTL
Type
Data
ns.dnsmadeeasy.com. 10800 A 192.168.10.12
dnsmadeeasy.com. 10800 NS ns.dnsmadeeasy.com
  • The A record is similar to the example above. Please read the section on A Records if this does not make sense to you.
  • Name - dnsmadeeasy.com. is the domain which is being assigned an authoritative name server.
  • TTL (time to live) - The 10800 indicates the how often (in seconds) that this record will exist (will be cached) in other systems. The lower the number the more frequent systems will go to the DNS server for queries.
  • Data - ns.dnsmadeeasy.com. is the host which name servers will query for records in the dnsmadeeasy.com.. domain. It is important to realize that this value is never a CNAME value. This value should primarily be A record but could use an IP.

You can also use NS records to assign the authoritative name server for a subdomain.

Example:

Name
TTL
Type
Data (A Record)
sub.dnsmadeeasy.com. 10800 NS ns1.dnsmadeeasy.com.

Name servers will query ns1.dnsmadeeasy.com. for records in the sub.dnsmadeeasy.com. sub-domain

Back to Top


MX Record (Mail Exchange Record)

These records tell mail servers where to deliver mail. The name field of an MX record contains the host name which appears in the e-mail address, and the data field contains the hostname of the server to which the mail should be delivered. Two MX records that define the mail servers for the dnsmadeeasy.com domain might contain the following:

Name
Expire Time
Type
MX level
Data (A Record)
dnsmadeeasy.com. 10800 MX 10 mail.dnsmadeeasy.com.
dnsmadeeasy.com. 10800 MX 20 backupmail.dnsmadeeasy.com.

  • Name - Contains the domain dnsmadeeasy.com., meaning that these records are used for the entire domain. If the mail was addressed to username@dnsmadeeasy.com, the mail is directed to the mail exchangers defined by these records.
  • TTL (time to live) - The 10800 indicates the how often (in seconds) that this record will exist (will be cached) in other systems.
  • MX level - Sets the preference for the MX record. The mailserver will first try mail.dnsmadeeasy.com.. The lower the number the higher the preference. If the mail server with highest precedence is inaccessible the mail will be delivered to the mail server next in precedence. So if the server mail.dnsmadeeasy.com. is unavailable then backupmail.dnsmadeeasy.com. will get mail to be queued until mail.dnsmadeeasy.com. is ready to accept mail again. At that time backupmail.dnsmadeeasy.com will send it's queued mail to mail.dnsmadeeasy.com. Note: The email server must also be configured properly to queue mail for another system
  • Data - The host names which will have mail delivered to them for the domain. It is important to realize that this value is never a CNAME value. This value should primarily be A record but could use an IP.

Back to Top


HTTP Redirection Record

HTTP Redirection Records allow you to map your FQDN to any URL of your choice.
For instance you can map. http://www.yourdomain.com
to
http://www2.yourdomain.com:9001/users/mypage.html

All users can create HTTP Redirection Records with any DNS Made Easy domains (our domains that you can use for free). The ability to create HTTP Redirection Records for your own domain is a special service that can be purchased seperately or is already included in the Premium Membership.

 

 



 
© 2006 by DNS Made Easy. All Rights Reserved.
© 2006 by Tiggee LLC. All Rights Reserved.