Benefits of using cname Records)

Source: Internet
Author: User

Today, I changed my domain name resolution for www.it315.org and saw the cname record. Although I know that this record represents an alias, why do I use cname, that is, what is the benefit of using cname? I am a thinker and want to know all the problems I have encountered. So I searched Google and found a good article with the same title as this article, if you want to know who the original creator is, You can Google the title of this article and remove the "Conversion" section.

 

 

Using alias records is a very convenient way for people with multiple websites and domain names! It is especially simple for users who lease virtual hosts. After creating an alias record, you don't have to worry about how the server's IP address has changed!
I. Using the domain name alias record (cname) makes it easy to manage multiple domain names!
Alias record (cname): Also known as canonical name. This record allows you to map multiple names to the same computer. It is usually used on computers that provide both WWW and mail services. For example, there is a computer named "host.mydomain.com" (a record ). It provides WWW and mail services at the same time, in order to facilitate user access to the service. You can set two aliases (cname) for the computer: WWW and mail. The full names of these two aliases are www.mydomain.com and mail.mydomain.com ". In fact, they all point to "host.mydomain.com ". The same method can be used when you have multiple domain names that need to point to the same server IP address, in this case, you can direct a domain name as a record to the server IP address and then alias other domain names to the domain name previously recorded as a record, when the IP address of your server changes, you do not need to bother to point to the domain name that only needs to change the record, and the domain name that makes the alias will also be changed automatically. to the new IP address. If you are renting a virtual host, the general service provider will provide you with a third-level or fourth-level domain name, the IP address resolved by that address will always be the latest IP address of the server, so, if you are renting a VM, you can direct the alias record to the complimentary domain name!
2. Use the domain name alias record (cname), so that your domain name resolution will not be snail bait.
As we all know, the DNS resolution of many domain name registrars in China takes effect slowly, which makes it difficult for many people. When a website needs to change its IP address or another domain name must be resolved again, if there are a large number of websites, the first problem is the resolution of multiple domain names. We can solve it easily through the first technique! However, for the effective speed, we cannot solve the problem through common parsing estimation!
In fact, we can use the domain name alias (cname) to accelerate resolution. First, we 'd better select a primary domain name, such as qqya.com, to transfer the domain name to a foreign (recommended: enom) Registrar platform. The resolution speed is not different from that of the domestic registrar, use cnme record for other domain names: (www.abc.com .) remember that there is an English ending "!
OK! In the future, when you need to change the domain name resolution, you only need to change abc.com and immediately solve all the problems, because your other domain names have followed your abc.com domain name, as long as you have resolved abc.com, other issues have also changed, so you don't have to worry about slow resolution in China!

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.