Domain name resolution is a necessary part of the site

Source: Internet
Author: User
Keywords Domain name resolution and pros and cons select
Tags .mall address advantages and disadvantages alias analysis basic basic knowledge cname

Domain name resolution is a necessary part of the site, but there are a lot of novice webmaster to the domain name resolution is not understood, for a variety of analytical methods are also easy to confuse, today's small series to introduce the basic knowledge of domain name resolution and the advantages and disadvantages of various analytical methods. Want to do a good site, from a variety of details to start, domain resolution although it looks simple, but there are many doorways.

I. A record resolution

A record resolution is the most common domain name resolution, record type Select "A", record the value of space provider provided by the host IP address, MX priority does not need to set, TTL set the default of 3600 can be. When you select a record, you need to set a domain name or a subdomain to point to, usually pay attention to the following 3 points:

1, do a record, the corresponding value must be IP address;

2, the host name must be filled in, with @ can indicate the host name is empty;

3, the universal domain name resolution, please input * in the host name, add a record can.

A record for the site optimization is a spider favorite way, because spiders crawl every time the site is a fixed IP, can avoid unnecessary errors. However, a record for users of different networks to visit the site, there are certain shortcomings, such as the site on the telecommunications server, if it is Unicom's user access, the site opened speed will have a certain impact.

II. CNAME Record analysis

The CNAME type resolution setting is basically the same as the a record type, where the record type is modified to "CNAME" and the record value is filled in to the server host address. However, the corresponding value is not a fixed IP, but the host's alias address, the new network as an example alias resolution steps are:

1. Fill in the WWW or other name in the host name;

2. Select type of record type as CNAME record;

3. Fill in the alias address in the record value;

4, click Add immediately, complete add alias resolution.

In general, alias parsing provides greater flexibility to facilitate unified management. For example, when the host because of the impact of various factors need to replace the IP, if the domain name made CNAME records, you can update the alias at the same time resolution point, do not need to do a new parsing operation. And for dual-line host, telecom and Unicom have different interfaces for different IP, because a record can only point to an IP, then use alias resolution can be a good solution to this problem. Of course, CNAME records also exist some deficiencies, many people think that different IP will have a certain impact on the site optimization, when the spider crawling every time, the IP change is easy to make the spider site instability misunderstanding. But a matter of opinion, in the end good or bad still need to judge for themselves.

Iii. MX Record parsing

MX records are a relatively small number of parsing, MX records are used for mailbox resolution. Record type Select MX, line type to select Universal or at the same time add three line type for telecommunication, Netcom, Education network records; record value fill in the server IP address or alias address provided by the Post Office provider; The TTL sets the default of 3600, the MX priority fills the data required by the Post Office provider, or the default 10, when there are multiple MX records, the priority is set to different data.

In fact, the use of MX record is quite large, especially when the forum, users need to register when the mailbox verification, then use MX record binding a corporate mailbox will appear formal, now many providers are providing free enterprise mailbox, have their own domain name users may wish to choose a test.

Iv. Other Analytical

In addition to the above main three kinds of parsing, there are TXT records and URL forwarding function, txt is a text record, only used to describe the domain name record information, no real impact on the analysis; URL forwarding is through the special settings of the server, will access to your current domain name of the user to guide you to specify another network address, equivalent to achieve a site jump, the weight of the site is not significant.

The above introduction of the domain name analysis of some basic knowledge and the advantages and disadvantages of various ways, webmaster friends can be based on their own actual situation to choose different analytical methods. Of course, if it is a single line of mainframe small series is recommended to use a record resolution, if it is a two-wire or multiple-line host, the small series is recommended to use alias resolution.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.