Please help us improve HowtoForge and take our survey:
Traditional DNS Howto - Page 4
NS RecordsNext we create NS records. These specify the name servers that are responsible for our domain. You must have at least one, however it is common practice to at least list two (you can list as many as you want) - if the primary name server fails, the secondary takes over:
Please note: the semicolon (';') does not mark the end of a line; instead it marks the beginning of a comment in a zone file. You can write
However, if you do not have any comments, you can as well write
MX RecordsAs we want to receive emails on centralsoft.org, we must list the mail exchanger(s) for the domain. This is done with an MX record:
This record says that emails for centralsoft.org should be delivered to server1.centralsoft.org (which is the mailserver for the domain) with a priority of 10. You can list more than one mail exchanger:
Now if a mail is sent to centralsoft.org, the sending mailserver tries to connect to server1.centralsoft.org because it has a priority of 10. If server1.centralsoft.org cannot be reached (for whatever reason), then the sending mailserver will try to send the mail to mail.someotherdomain.com because it has a priority of 20 which comes next (you see: although 20 is greater than 10, it means less priority in this case). Until now we have defined MX records for centralsoft.org only which is good for email addresses of the form user@centralsoft.org. Let's say we have an email address of the form user@subdomain.centralsoft.org. Therefore we must create an MX record for subdomain.centralsoft.org:
Please note the '.' at the end of subdomain.centralsoft.org. If you do not add it, then the origin of the zone is appended to the name. For example, if you wrote
without a '.', this would transfom to subdomain.centralsoft.org.centralsoft.org! Of course, this feature can be useful:
Now we only have subdomain, but because the '.' is missing at the end, it transforms to subdomain.centralsoft.org which is what we want. So
or
are two notations for the same thing!
|




print: 


Recent comments
23 hours 47 min ago
2 days 7 hours ago
3 days 6 hours ago
4 days 15 hours ago
5 days 1 hour ago
5 days 12 hours ago
6 days 22 hours ago
1 week 3 days ago
1 week 3 days ago
1 week 4 days ago