m |
m |
||
Line 1: | Line 1: | ||
<seo title="DNS records" metakeywords="DNS records,A record,cname record,mx record,ptr recordsns record, soa record, spf record" metadescription="DNS 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 domain name has a DNS zone that consists of the following records: | + | <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; | '''A Record''' specifies IP addresses corresponding to your domain and its subdomains; | ||
Line 7: | Line 7: | ||
'''CNAME record''' specifies redirects from your domain's subdomains to other domains / 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; | + | '''MX record''' specifies the [http://myidealhost.com mail server] the emails for your domain should be delivered to; |
'''NS record''' specifies the domain nameservers; | '''NS record''' specifies the domain nameservers; | ||
Line 29: | Line 29: | ||
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. | 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 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. | + | 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. |
<center>'''PTR Record'''</center> | <center>'''PTR Record'''</center> | ||
Line 35: | Line 35: | ||
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> | ||
− | (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. | + | (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 name server for this domain'''. As 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: | ||
Line 61: | Line 61: | ||
<center>'''SPF Record'''</center> | <center>'''SPF Record'''</center> | ||
− | 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. | + | 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, 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. | + | 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. |
'''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> | '''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> |