Abstract: Domain name resolution is an essential part of the site, but there are many novice webmaster domain name resolution is not very understanding, for a variety of analytical methods are also easy to confuse Xiaobian today to introduce you to the basic knowledge of domain name resolution and analysis The advantages and disadvantages of the way
Domain name resolution is an essential part of the site, but there are many novice webmaster domain name resolution is not very understanding, for a variety of analytical methods are also easy to confuse Xiaobian today to introduce you to the basic knowledge of domain name resolution and a variety of analytical methods Advantages and disadvantages. Want to make a website, we must start from a variety of details, although the domain name resolution looks simple, but there are many doorways.
A record analysis
A record resolution is the most common domain name resolution, record type selection "A", fill in the space provided by the value of the host business IP address, MX priority do not need to set the TTL default 3600 can be. When you select A record, you need to set the domain name or sub-domain name, you usually need to pay attention to the following three points:
1, A record, the corresponding value must be IP address;
2, the host name must be filled in, can be used to indicate that the host name is empty;
3, pan-name resolution, enter the host name at the *, add A record can be.
A record is a spider's favorite way for site optimization, because spiders crawl every time a site is a fixed IP, to avoid unnecessary mistakes. However, A record for users using different network access sites, there are some disadvantages, such as the site on the telecommunications server, if it is China Unicom's user access, the speed of the site will have a certain impact.
Second, CNAME record resolution
CNAME type parsing settings and A record type is basically the same, which changes the record type to "CNAME", and record the value to fill in the server host address can be. However, the corresponding value is not a fixed IP, but the host's alias address to the new network as an example alias parsing steps:
1, fill in the host name www or other name;
2, select the type of record type CNAME record;
3, fill in the alias address records;
4, click Add Now to finish adding alias resolution.
In general, aliasing can provide more flexibility and ease of unified management. For example, when the host needs to change the IP due to various factors, if the domain name is CNAME, the alias resolution point can be updated at the same time without the need for new parsing. And for the two-lane host, Telecom and China Unicom have different interfaces corresponding to different IP, because the A record can only point to an IP, this time using the 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 website optimization, when the spiders crawl each time, IP changes easy to spider instability caused misunderstandings. But a matter of opinion, in the end good or bad need to judge.
Third, MX records analysis
MX records are relatively less used in a resolution, MX records are used to do mail analysis. Record type select MX, line type choose common or at the same time add three line types for telecom, netcom, education network records; record value fill out the post office provider server IP address or alias address; TTL set the default 3600 can MX priority Fill in the data requested by the post office provider, or default 10, when there are multiple MX records, priority to set different data.
In fact, the usefulness of MX records is still quite large, especially when doing forums, users need to register when the mailbox authentication, then bind an MX mailbox records will become formal, and now many service providers have provided a free e-mail, have their own Domain name users may wish to choose a test.
Fourth, other analytical
In addition to the above three kinds of parsing, there are also TXT records and URL forwarding functions. TXT is a text record that is used to describe domain name record information only and does not have any substantive influence on the resolution. URL forwarding is implemented through a special server setting A user who accesses your current domain leads to another network address you specify, equivalent to a one-time URL jump that has little impact on site weight.
Described above some basic knowledge of domain name resolution and the advantages and disadvantages of various ways, webmaster friends can choose according to their actual situation different analytical methods. Of course, if it is a single-line host Xiaobian recommended A record resolution, if it is a two-lane or multi-line host, Xiaobian proposed alias resolution.