Domain name resolution a record MX record cname record TTL

Source: Internet
Author: User
Tags aliases website server mx record record mx

What is domain name resolution?
Domain name resolution is the process of converting the domain name to the IP address. An IP address is a digital address that identifies your site on the Internet. To make it easy to remember, use a domain name instead of an IP address to identify the site address. Domain name resolution is completed by the DNS server.

What is a record?
The A (Address) record is used to specify the IP address record corresponding to the Host Name (or domain name. You can direct the website server under this domain name to your web server. You can also set a second-level domain name for your domain name.

What is an MX record?
The mail route record. You can direct the mail server under the domain name to your own mail server, and then you can control all mailbox settings on your own. You only need to enter the IP address of your server online to transfer all emails under your domain name to your own email server.

What is a cname record?
That is, the alias record. 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 two aliases are www.mydomain.com and "mail.mydomain.com ". In fact, they all point to "host.mydomain.com ".

What is the TTL value?
The full name of TTL value is "time to live". Simply put, it indicates the cache time of DNS records on the DNS server. To understand the TTL value, take a look at the following example:
Assume that the IP address of the domain name myhost.abc.com (in fact, this is a DNS record, which usually indicates that there is a host named myhost in the abc.com domain) is 1.1.1.1, and its TTL is 10 minutes. This domain name or record is stored on a DNS server named dns.abc.com.

A user typed the URL in the browser ):Http://myhost.abc.comWhat will happen at this time?

The DNS server specified by the visitor (or its ISP, Internet service provider, which is dynamically allocated to him) 8.8.8.8 tries to explain myhost.abc.com to him, of course, because the DNS server 8.8.8.8 does not contain the message "myhost.abc.com", it cannot be resolved immediately. However, after recursive queries by global DNS, the DNS server "dns.abc.com" is finally located, dns.abc.com: the DNS server sends the IP address 1.1.1.1 of myhost.abc.com to 8.8.8.8. However, 8.8.8.8.8.8 tells the user the result. 8.8.8.8 in order to accelerate the resolution of the myhost.abc.com record in the future, the 1.1.1.1 result will be retained for a period of time. This is the TTL time, during this period, if the user has another resolution request for the myhost.abc.com record, it will directly tell the user 1.1.1.1. When the TTL expires, the above process will be repeated.

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.