Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to set up domain name resolution

2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

Today, I will talk to you about how to set up domain name resolution, which may not be well understood by many people. in order to make you understand better, the editor has summarized the following contents for you. I hope you can get something according to this article.

There are several different resolution settings for domain name resolution, and the webmaster can choose different resolution methods according to his actual situation. For example, A record resolution is recommended for single-line hosts, and alias resolution is recommended for two-line or multi-line hosts. Let's describe the differences between several parsing settings in detail below.

A record parsing

A record resolution is the most common method for domain name resolution. Select "A" as the record type and enter the IP address of the host provided by the space provider. The MX priority does not need to be set, and TTL can be set to the default. When you select an A record, you need to set the domain name or sub-domain name to point to. Note: the corresponding value must be an IP address; the host name must be entered, and @ can be used to indicate that the host name is empty; for pan-domain name resolution, enter * in the host name and add A record.

A record is a favorite way for spiders to optimize the site, because spiders crawl the site each time it is a fixed IP, which can avoid unnecessary errors. However, the A record has certain shortcomings for users who use different networks to access the website, for example, if the website is placed on the telecommunications server, if it is visited by users of China Unicom, the speed of opening the website will have a certain impact.

CNAME record parsing

The CNAME type resolution setting method is basically the same as the A record type, where the record type is changed to "CNAME" and the record value is filled in the server host address. However, the corresponding value is not a fixed IP, but the alias address of the host. The alias resolution steps are: enter www or other name in the host name; select the CNAME record in the record type; enter the alias address in the record value; click add now to complete the alias resolution.

Generally speaking, alias resolution can provide more flexibility and facilitate unified management. For example, when the host needs to change the IP, if the domain name is recorded as CNAME, the resolution direction of the alias can be updated at the same time without the need for new resolution operations. For dual-line hosts, China Telecom and China Unicom have different interfaces corresponding to different IP. Since A records can only point to one IP, alias resolution can solve this problem very well.

Of course, CNAME records also have some shortcomings, many people think that different IP will have a certain impact on website optimization, when spiders crawl each time, IP changes are easy to make spiders have the misunderstanding of website instability.

MX record parsing

MX records are relatively less used for parsing, while MX records are used for mailbox parsing. Select MX as the record type, select general line type or add records with three line types as Telecom, Netcom and Education Network at the same time; the record value should be filled in the IP address or alias address of the server provided by the post office provider; TTL can be set by default, and the MX priority can be filled in the data required by the post office provider, or the default is 10. When there are multiple MX records, the priority should be set to different data.

In fact, the usefulness of MX records is still very great, especially when doing forums, users need mailbox verification when registering, then binding an enterprise mailbox with MX records will appear more formal.

In addition to the above three main parsing, there are TXT records and URL forwarding features. TXT is a text record, which is only used to describe domain name record information and has no real effect on resolution. URL forwarding directs users who visit the current domain name to another network address you specify through the special settings of the server, which is equivalent to a URL jump, which has little impact on the weight of the website.

After reading the above, do you have any further understanding of how to set up domain name resolution? If you want to know more knowledge or related content, please follow the industry information channel, thank you for your support.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report