Differences and connections between a record, cname, MX record, and NS record in domain name resolution

Source: Internet
Author: User
Tags in domain mail exchange mx record subdomain subdomain name

1. A record is also called IP address pointing. You can set a sub-domain name and point it to your target host address here to find the server through the domain name. Note: · only IP addresses can be used for the target host address type;

Additional instructions:

1) wildcard domain name resolution directs all unspecified subdomain names of the domain name to a space. Enter * in "Host Name", "type" as a, "IP Address/Host Name" as the Web Server IP address, and click "add.

2) Implementation of Load Balancing: Server Load balancer refers to the Dynamic Distribution of network load on a series of resources. Server Load balancer can reduce network congestion, improve overall network performance, improve self-healing, and ensure availability of key enterprise applications. When the same subdomain name has multiple target addresses, it indicates a round robin, which can achieve the purpose of load balancing, but it must be supported by the virtual host service provider.

2. cname is usually referred to as Alias pointing. You can set an alias for a host. For example, if you set test.mydomain.com to direct to a host www.rddns.com, you can use test.mydomain.com to access www.rddns.com.

Note :·

The target host address of cname can only use the host name, but cannot use the IP address. · no prefix exists before the host name, such as http; · A records take precedence over cname records. That is, if a host address has both a record and cname record, the cname record does not take effect.

3. MX record mail exchange records. It is used to direct an email ending with this domain name to the corresponding email server for processing. For example, if the email you use ends with the domain name mydomain.com, you need to add the MX record of the domain name in the management interface to process all emails ending with @ mydomain.com.

Note :·

The MX record can use the host name or IP address. · the MX record can be set as the primary server or secondary server by setting the priority. The smaller the number in the "Priority" field, the higher the level. You can also use the same priority to achieve the purpose of Server Load balancer. · if you enter a subdomain name in the "host name", this MX record will only take effect for this subdomain name.

Additional instructions:

1) Server Load balancer (SLB) refers to the intelligent distribution of network load on a series of resources. Server Load balancer can reduce network congestion, improve overall network performance, improve self-healing, and ensure availability of key enterprise applications. When the MX record of a domain name has multiple destination addresses with the same priority, it indicates a round robin, which can achieve the purpose of load balancing, but it must be supported by the mailbox service provider.

4. Ns record Resolution Server record. Used to indicate which server resolves the domain name. The NS record takes effect only for the subdomain name.

For example, if you want the server 12.34.56.78 to parse news.mydomain.com, you need to set the NS record of news.mydomain.com.

Note: the smaller the number in "Priority" indicates a higher level. · you can enter either an IP address or a host address like ns.mydomain.com in "IP Address/Host Name, however, the host address must be valid.

For example, point the NS record of news.mydomain.com to ns.mydomain.com, and set the orientation of ns.mydomain.com while setting the NS record,

Otherwise, the NS record cannot be properly parsed. · The NS record takes precedence over the record. That is, if a host address has both an NS record and a record, the record does not take effect. The NS record takes effect only for the subdomain name.

5.

Description

1) Server Load balancer (SLB) refers to the intelligent distribution of network load on a series of resources. Server Load balancer can reduce network congestion, improve overall network performance, improve self-healing, and ensure availability of key enterprise applications. When the same subdomain has multiple target addresses, or the MX record of the domain name has multiple target addresses with the same priority, it indicates round robin, which can achieve the purpose of load balancing, however, it requires support from virtual hosts and email service providers.

2) The full name of the TTL value is "time to live". Simply put, it indicates the cache time of DNS records on the DNS server. By default, the oriental Netscape DNS server takes effect immediately. The customer's added modifications generally do not take more than 15 minutes to use.

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.