DNS records

m
m
 
Line 1: Line 1:
Any domain name has a DNS zone that consists of the following records:
+
<seo title="DNS records" metakeywords="DNS records,A record,cname record,mx record,ptr recordsns record, soa record, spf record" metadescription="DNS records" />
 +
<br>
 +
<div align="justify">Any [http://myidealhost.com/ domain name] has a DNS zone that consists of the following records:
  
'''A Record'''- specifies IP addresses corresponding to your domain and its subdomains; '''CNAME record''' - specifies redirects from your domain's subdomains to other domains / subdomains; '''MX record''' - specifies the mail server the emails for your domain should be delivered to; '''NS record''' - specifies the domain nameservers; '''SOA Record''' - Start of Authority record. It is the first entry in the zone file; '''PTR Record''' - Reverse pointer record. '''SPF Record'''- Sender Policy Framework (SPF) is an attempt to control forged e-mail.
+
'''A Record''' specifies IP addresses corresponding to your domain and its subdomains;  
 +
 
 +
'''CNAME record''' specifies redirects from your domain's subdomains to other domains / subdomains;  
 +
 
 +
'''MX record''' specifies the [http://myidealhost.com mail server] the emails for your domain should be delivered to;
 +
 
 +
'''NS record''' specifies the domain nameservers;
 +
 
 +
'''SOA Record''' (Start of Authority record) is the first entry in the zone file;
 +
 
 +
'''PTR Record''' - Reverse pointer record;
 +
 
 +
'''SPF Record''' (Sender Policy Framework) is an attempt to control forged e-mail.
  
 
<center>'''A Record'''</center>
 
<center>'''A Record'''</center>
  
An A (address) record is a DNS record that can be used to point your domain name and host names to a static IP address.
+
An A (address) record is a DNS record that can be used to '''point your domain name and host names to a static IP address'''.
  
 
<center>'''CNAME Record'''</center>
 
<center>'''CNAME Record'''</center>
  
Short for canonical name, also referred to as a CNAME record, a record in a DNS database that indicates the true, or canonical, host name of a computer that its aliases are associated with. A computer that hosts a Web site must have an IP address in order to be connected to the World Wide Web. The DNS resolves the computer’s domain name to its IP address, but there are cases when more than one domain name resolves to the same IP address, and this is where the CNAME is useful. A machine can have an unlimited number of CNAME aliases, but each alias must have a separate CNAME record in the database.
+
Short for canonical name, also referred to as a CNAME record, a record in a DNS database that '''indicates the true, or canonical, host name''' of a computer that its aliases are associated with. A computer that hosts a Web site must have an IP address in order to be connected to the World Wide Web. The DNS resolves the computer’s domain name to its IP address, but there are cases when more than one domain name resolves to the same IP address, and this is where the CNAME is useful. A machine can have an unlimited number of CNAME aliases, but each alias must have a separate CNAME record in the database.
 
+
  
 
<center>'''MX Record'''</center>
 
<center>'''MX Record'''</center>
  
Short form for mail exchange record, an entry in a domain name database that identifies the mail server that is responsible for handling e-mails for that domain name. Mail exchange" is just another name for the machine whose primary function is receiving and sending email.
+
Short form for mail exchange record, an entry in a domain name database that '''identifies the mail server responsible for domain's  e-mails handling'''. "Mail exchange" is just another name for the machine used for receiving and sending email.
  
When more than one MX record is entered for any single domain name that is using more than one mail server, the MX record can be prioritized with a preference number that indicates the order in which the mail servers should be used. The preference values of a host's mail exchangers determine the order in which a mailer should use them. Mailers attempt to deliver to the mail exchanger with the lowest preference value (highest priority). The most preferred mail exchanger has the lowest preference value. If the highest priority mail exchanger fails, the mailer will attempt to deliver to the next highest priority.
+
When a domain name has '''more than one MX record''', then these records can be '''prioritized''' with a preference number that indicates the order in which the mail servers should be used. '''Mailers try to deliver an email to the mail exchanger with the lowest preference value (highest priority)'''. In case the highest priority mail exchanger fails, the mailer will attempt to deliver email to the next highest priority.
 
+
The mail exchanger either delivers it to the individual host it is addressed to or gateways it to another mail transport.
+
  
 
<center>'''PTR Record'''</center>
 
<center>'''PTR Record'''</center>
  
It is used to convert IP-addresses to host names.
+
It is used to '''convert IP-addresses to host names'''.
  
For example, the A record for myidealhost.com resolves this domain name to 178.63.79.205:
+
For example, the A record for ''[http://myidealhost.com/ myidealhost.com]'' resolves this domain name to 178.63.79.205
 
+
And then the PTR record resolves 178.63.79.205 back to myidealhost.com:
+
  
 +
And then the PTR record resolves 178.63.79.205 back to ''[http://myidealhost.com/ myidealhost.com]'':
  
 
<center>'''NS Record'''</center>
 
<center>'''NS Record'''</center>
  
Name server records allow you to identify the authoritative servers for this zone. Each domain must have NS records as without them, the servers for a domain would be unknown.
+
(short for Name server). NS records '''allow you to identify the authoritative servers for this zone'''. '''Each domain must have NS records''' as without them, the servers for a domain would be unknown.
  
 
<center>'''SOA Record'''</center>
 
<center>'''SOA Record'''</center>
  
The first entry in each of the zone files is the Start of Authority (SOA) resource record. The SOA record indicates the authoritative name server for this domain. Since the SOA record marks the beginning of a zone, there can be only one for each zone.
+
The first entry in each of the zone files is the ''Start of Authority (SOA)'' resource record. The SOA record '''indicates the name server for this domain'''. As the SOA record marks the beginning of a zone, there can be only one for each zone.
  
 
The SOA record stores the following information:  
 
The SOA record stores the following information:  
  
the name of the server supplying the data for the zone;  
+
* the name of the server supplying the data for the zone;  
  
the zone administrator;  
+
* the zone administrator;  
  
the current version of the data file;  
+
* the current version of the data file;  
  
the number of seconds a secondary name server should wait before checking for updates;  
+
* the number of seconds a secondary name server should wait before checking for updates;  
  
the number of seconds a secondary name server should wait before retrying a failed zone transfer, etc.
+
* the number of seconds a secondary name server should wait before retrying a failed zone transfer, etc.
  
 
<center>'''SPF Record'''</center>
 
<center>'''SPF Record'''</center>
  
Sender Policy Framework (SPF) records allow domain owners to specify which hosts are permitted to send email on behalf of their domains. Normal SMTP allows any computer to send an email claiming to be from anyone. Thus, it's easy for spammers to send emails with forged From: addresses. SPF allows a domain owner to use a special format of DNS TXT records to specify which machines or hosts are authorized to transmit email for their domain; this makes it difficult to forge From: addresses.
+
Sender Policy Framework (SPF) record '''allows''' the domain owners '''to specify the hosts which are permitted to send email on behalf of their domains'''. Normal SMTP allows any computer to send an email claiming to be from anyone. '''This can be used by spammers to send emails with forged From: addresses'''. SPF allows a domain owner to '''specify which machines or hosts are authorized to transmit email for their domain'''.
 
+
 
+
For example, if you own the domain example.com, you can designate which hosts are authorized to send email originating from user@example.com. Your recipient's servers will then identify the origin of your message by checking the SPF record.
+
  
 +
For example, you can designate which hosts are authorized to send email originating from ''user@your-domain.com''. Your recipient's servers will then check the SPF record to identify the origin of your message.
  
Setting up a record will ensure that messages sent from users in your domain are not rejected by the recipient's domain.
+
'''Having SPF record set up will ensure that messages sent from users in your domain are not getting rejected by the recipient's domain'''.</div>

Latest revision as of 11:01, 26 October 2012

rss feed for my website