The Domain Name System (DNS) is a distributed database, arranged hierarchically, containing records for domain names. The DNS system's main aim is to match a domain name to an IP Address. In order to fulfill this role, the DNS Server contains Resource Records (Records) in a Zone File, which contains the domain name and IP address mappings for computers contained within that Zone. All Resource Records have a Time To Live TTL (TTL), specifying the number of seconds other DNS servers and applications are allowed to cache the Record.
Types of Resource Records (RRs) manageable through MewHosting's Premium DNS Service
-
Address (IPv4 A) Record (Anchor: defa): These are used to translate domain names into IP addresses.
-
AAAA (IPv6) Record (Anchor: defaaaa): The IPv6 Address Record is a much larger address space than that of a IPv4 Address Record. Addresses in IPv6 Address Records are 128 bits long while those in IPv4 Address Records are 32 bits long.
NoteWhen you host your domain name with a Web Hosting company, you will be provided with either an IPv4 Address or an IPv6 Address. This needs to be set as an A Record or an AAAA Record respectively, for that particular domain name.
-
Mail Exchanger (MX) Record (Anchor: defmx): An MX Record identifies the email server(s) responsible for a domain name. When sending an email to [email protected], your email server must first looks up the MX Record for xyz.com to see which email server actually handles email for xyz.com (this could be mail.xyz.com or someone else's email server like mail.isp.com). Then it looks up the A Record for the email server to connect to its IP address.
An MX Record has a Preference number, indicating the order in which the email server should be used. Email servers will attempt to deliver email to the server with the lowest preference number first, and if unsuccessful continue with the next lowest and so on.
-
Canonical Name (CNAME) Record (Anchor: defcname): CNAME Records are domain name aliases. Often computers on the Internet have multiple functions such as Web Server, FTP Server, Chat Server, etc.. To mask this, CNAME Records can be used, to give a single computer multiple names (aliases).
Sometimes companies register multiple domain names for their brand-names but still wish to maintain a single website. In such cases, a CNAME Record maybe used to forward traffic to their actual website.
Example:
www.abc.in could be CNAME to www.abc.com.
The most popular use of the CNAME Record, is to provide access to a Web Server using both the standard www.yourdomainname.com and yourdomainname.com (without the www). This is usually done by adding a CNAME Record for the www name pointing to the short name [while creating an A Record for the shorter name (without www)].
CNAME Records can also be used when a computer or service needs to be renamed, to temporarily allow access through both the old and new name.
-
Name Server (NS) Record (Anchor: defns): NS Records identify the DNS servers responsible (authoritative) for a Zone. A Zone should contain one NS Record for each of its own DNS servers (primary and secondary). This mostly is used for Zone Transfer purposes (notify). These NS Records have the same name as the Zone in which they are located.
The most important function of the NS Record is Delegation. Delegation implies that part of a domain is delegated to other DNS servers.
You can also delegate sub-domains of your own domain name (such as subdomain.yourdomainname.com) to other DNS servers. An NS Record identifies the name of a DNS server, not the IP Address. Because of this, it is important that an A Record for the referenced DNS server exists, otherwise there may not be any way to find that DNS server and communicate with it.
If an NS Record delegates a sub-domain (subdomain.yourdomainname.com)to a DNS Server with a name in that sub-domain (ns1.subdomain.yourdomainname.com), an A Record for that server (ns1.subdomain.yourdomainname.com) must exist in the Parent Zone (yourdomainname.com). This A Record is referred to as a Glue Record, because it doesn't really belong in the Parent Zone, but is necessary to locate the DNS Server for the delegated sub-domain.
-
Text (TXT) Records (Anchor: deftxt): TXT Records provide the ability to associate some text with a domain or a sub-domain. This text is meant to strictly provide information and has no functionality as such. A TXT Record can store upto 255 characters of free form text. This Record is generally used to convey information about the zone. Multiple TXT Records are permitted but their order is not necessarily retained.
Example:
You may add a TXT Record for yourdomainname.com with the value as This is my email server. Here, if anybody was checking the TXT Records of yourdomainname.com, would notice the above text appearing in the TXT Record.
TXT Record can be used to implement the following:
-
Sender Policy Framework (SPF): Sender Policy Framework is an extension to the Simple Mail Transfer Protocol (SMTP). SPF allows software to identify and reject forged addresses in the SMTP Mail From (Return-Path). SPF allows the owner of a domain to specify their mail sending policy, e.g. which mail servers they use to send mail from their domain name. See details. The technology requires two sides to work in tandem:
-
The domain owner publishes this information in an TXT Record in the domain's DNS zone, and when someone else's email server receives a message claiming to come from that domain, then
-
the receiving server can check whether the message complies with the domain's stated policy. If, for example, the message comes from an unknown server, it can be considered a fake.
-
-
DomainKeys: DomainKeys is an email authentication system (developed at Yahoo!) designed to verify the authenticity of the email sender and the message integrity (i.e., the message was not altered during transit). The DomainKeys specification has adopted aspects of Identified Internet Mail to create an enhanced protocol called DomainKeys Identified Mail (DKIM). See details
-
-
Service (SRV) Record (Anchor: defsrv): An SRV or Service Record is a category of data in the DNS specifying information on available services. When looking up for a service, you must first lookup the SRV Record for the service to see which server actually handles it. Then it looks up the Address Record for the server to connect to its IP Address.
The SRV Record has a priority field similar to an MX Record's priority value. Clients always use the SRV Record with the lowest priority value first, and only fall back to other SRV Records if the connection with this Record's host fails. If a service has multiple SRV records with the same priority value, clients use the weight field to determine which host to use. The weight value is relevant only in relation to other weight values for the service, and only among SRV Records with the same priority value.
Newer Internet Protocols such as SIP (Session Initiation Protocol) and XMPP (Extensible Messaging and Presence Protocol) often require SRV support from clients.
To Manage Resource Records
-
Login to your Control Panel, search for the domain name and proceed to the Order Information View.
-
Click Premium DNS.
- On the pop up that shows up, click Manage Premium DNS to open the Premium DNS interface.
-
To Manage A Records (Anchor: ma):
-
Click Add Record
-
There you would find 4 fields:
-
Type: These are the different types of records. Here select A Record from the dropdown.
-
Name: Here the domain name, for which you are adding the A Record for, should be entered (e.g. yourdomainname.com). Similarly, if you wish to add an A Record for my.yourdomainname.com, then you would have to put in my.yourdomainname.com in the text box.
-
Value: Here you would have to enter the IPv4 IP Address of the Web Server, where you wish to host this domain name.
-
TTL: This is the Time To Live for this Record. Any Server which once queries this Record will query it again after this time interval. The ideal TTL is 1 day. It can not be set to less than 2 mins.
-
-
Click the Save button to add the record.
NoteSimilarly, to Modify or Delete an AAAA Record, click on the Action dropdown and then click EDIT or DELETE.
-
-
To Manage AAAA Records (Anchor: maaaa):
-
Click Add Record
-
There you would find 4 fields:
-
Type: These are the different types of records. Here select AAAA Record from the dropdown.
-
Name: Here the domain name, for which you are adding the AAAA Record for, should be entered (e.g. yourdomainname.com). Now, if you wish to add an AAAA Record for my.yourdomainname.com, then you would have to put in my.yourdomainname.com in the text box.
-
Value: Here you would have to enter the IPv6 IP Address of the Web Server, where you wish to host this domain name.
-
TTL: This is the Time To Live for this Record. Any Server which once queries this Record will query it again after this time interval. The ideal TTL is 1 day. It can not be set to less than 2 mins.
-
-
Click the Save button to add the record.
NoteSimilarly, to Modify or Delete an AAAA Record, click on the Action dropdown and then click EDIT or DELETE.
-
-
To Manage MX Records (Anchor: mmx):
-
Click Add Record
-
There you would find 4 fields:
-
Type: These are the different types of records. Here select MX Record from the dropdown.
-
Name: The domain name for which you are setting an MX Record needs to be entered as the Name. If you are configuring the email server for yourdomainname.com, such that you can receive [email protected], then you need to add yourdomainname.com in this field.
-
Value: The Server and MX priority can be set by clicking on the ‘Click to Configure’ button under Value. You can set the following values from here
NoteA Fully Qualified Domain Name always has a "." in the end.
- Server: This is the email server domain name. If the email servers hosting your domain name are managed by you, then you may set the Value in the format: mail.yourdomainname.com. If you are using another Internet Service Provider's email server, then you need to enter a Fully Qualified Domain Name (FQDN) like mail.isp.com.
- MX Priority: An MX Record has a Preference number indicating the order in which the email server should be used (only relevant when multiple MX Records are defined for the same domain name). Email servers will attempt to deliver email to the server with the lowest preference number first, and if unsuccessful, continue with the next lowest and so on.
-
TTL: This is the Time To Live for this Record. Any Server which once queries this Record will query it again after this time interval. The ideal TTL is 1 day. It can not be set to less than 2 mins.
-
-
Click the Save button to add the record.
NoteSimilarly, to Modify or Delete an MX Record, click on the Action dropdown and then click EDIT or DELETE.
-
-
To Manage CNAME Records (Anchor: mcname):
-
Click Add Record
-
There you would find 4 fields:
-
Type: These are the different types of records. Here select CNAME Record from the dropdown.
-
Name: If you wish to Add a CNAME Record for yourdomainname.com like manage.yourdomainname.com or www.yourdomainname.com, then enter the Host Name as manage.yourdomainname.com or www.yourdomainname.com in this text box.
-
Value: This is the Destination for the CNAME created. Thus, if you wish to create a CNAME Record for www.yourdomainname.com pointing to yourdomainname.com, then you would have to enter yourdomainname.com. in this text box.
-
TTL: This is the Time To Live for this Record. Any Server which once queries this Record will query it again after this time interval. The ideal TTL is 1 day. It can not be set to less than 2 mins.
-
-
Click the Save button to add the record.
NoteSimilarly, to Modify or Delete an CNAME Record, click on the Action dropdown and then click EDIT or DELETE.
-
-
To Manage NS Records (Anchor: mns):
-
Click Add Record
-
There you would find 4 fields:
-
Type: These are the different types of records. Here select NS Record from the dropdown.
-
Name: If you wish to create a Name Server for a sub-domain like ns1.subdomain.yourdomainname.com, then enter the Zone as subdomain.yourdomainname.com in this text box.
-
Value: This is the Name of the Name Server to be created or another Fully Qualified Domain Name that you want to make responsible for this Zone. Thus, if you wish to create an NS Record for subdomain.yourdomainname.com, you may enter the value as ns1.subdomain.yourdomainname.com. Or, you may want a Name Server like ns1.subdomain.yourdomainname.com to be delegated to another Fully Qualified Domain Name like dns1.anyotherns.com.
-
TTL: This is the Time To Live for this Record. Any Server which once queries this Record will query it again after this time interval. The ideal TTL is 1 day. It can not be set to less than 2 mins.
-
-
Click the Save button to add the record.
NoteSimilarly, to Modify or Delete an NS Record, click on the Action dropdown and then click EDIT or DELETE.
-
-
To Manage TXT Records (Anchor: mtxt):
-
Click Add Record
-
There you would find 4 fields:
-
Type: These are the different types of records. Here select TXT Record from the dropdown.
-
Name: If you wish to Add a TXT Record for yourdomainname.com like yourdomainname.com, then enter yourdomainname.com in the text field.
-
Value: 255 characters of text can be provided in this field. This Record is generally used to convey information about the zone. For example, you may add a TXT Record for mail.yourdomainname.com with the value as This is my email server. Here if anybody was checking ALL or TXT Records of mail.yourdomainname.com, they would notice the above text appearing in the TXT Record.
-
TTL: This is the Time To Live for this Record. Any Server which once queries this Record will query it again after this time interval. The ideal TTL is 1 day. It can not be set to less than 2 mins.
-
-
Click the Save button to add the record.
NoteSimilarly, to Modify or Delete an TXT Record, click on the Action dropdown and then click EDIT or DELETE.
-
-
To Manage SRV Records (Anchor: msrv):
-
Click Add Record
-
There you would find 4 fields:
-
Type: These are the different types of records. Here select SRV Record from the dropdown.
-
Service Record Name: The Service Record Name consists of the symbolic Service Name and the Protocol Name of the desired service.
-
Name: This is the symbolic name of the desired service. For example, chat, sip, etc.
-
Value: The Priority, Weight, Port and Target can be set by clicking on the ‘Click to Configure’ button under Value. You can set the following values from here.
NoteA Fully Qualified Domain Name always has a "." in the end.
- Priority: The priority of the target host. A lower value indicates higher priority.
- Weight: A relative weight for Records with the same Priority.
- Port: The TCP or UDP port on which the service is to be found.
- Target: The canonical hostname of the machine providing the service. If the Server providing the service is managed by you, then you may set the Value in the format: service.yourdomainname.com. If you are using another Internet Service Provider's Server, then you need to enter a Fully Qualified Domain Name like service.isp.com.
-
TTL: This is the Time To Live for this Record. Any Server which once queries this Record will query it again after this time interval. The ideal TTL is 1 day. It can not be set to less than 2 mins.
-
-
Click the Save button to add the record.
NoteSimilarly, to Modify or Delete an SRV Record, click on the Action dropdown and then click EDIT or DELETE.
-
-
To Manage CAA Records (Anchor: mcaa):
-
Click Add Record
-
There you would find 4 fields:
-
Type: These are the different types of records. Here select CAA Record from the dropdown.
-
Name: The Service Record Name consists of the symbolic Service Name and the Protocol Name of the desired service.
-
Value: This is the symbolic name of the desired service. For example, chat, sip, etc.
-
TTL: This is the Time To Live for this Record. Any Server which once queries this Record will query it again after this time interval. The ideal TTL is 1 day. It can not be set to less than 2 mins.
-
-
Click the Save button to add the record.
NoteSimilarly, to Modify or Delete an CAA Record, click on the Action dropdown and then click EDIT or DELETE.
-
-