Domain name resolution, subdomain name, cname alias pointing, MX record, wildcard domain name and wildcard resolution, domain name binding, Domain Name Redirection

Source: Internet
Author: User
Tags website server mail exchange mx record subdomain subdomain name url forwarding

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 subdomain name for your domain name. In general, a record is the IP address of the server, and a record bound to the domain name tells the DNS that when you enter the domain name, it directs you to the server corresponding to the record set in the DNS

Subdomain name
The sub-domain name is equivalent to a second-level domain name, but it is more extended than a second-level domain name. For example, we continue to expand the Host Name of the domain name and set the host name to BBS. at, you can create a third-level domain name: bbs.at.abc.com, of course, you can also create a fourth-level domain name bbs.at.go.abc.com, five-level domain name bbs.at.go.home.abc.com ......, Similarly, you can create unlimited domain names, which are collectively referred to as subdomains of top-level domain names abc.com.

Cname alias pointing to record
A cname (canonical name) record, usually referred to as an alias pointing. Here, you can define a host alias, such as setting FTP. ***. com to point to a host www. ***. com, you can use ftp later. ***. com instead of accessing www. ***. com.

MX record
MX record is also called mail route record. You can direct the mail server under this 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.
Simply put, you can get a post office that ends with your domain name by operating the MX record.

TXT Record
A txt record is generally a description of a host name or domain name, for example:
Admin in TXT "Administrator, tel: 13901234567"
Mail in TXT "mail host, stored in XXX, Administrator: AAA"
Jim in TXT "Contact: abc@mailserver.com"
That is, you can set TXT so that someone else can contact you.

SRV record
SRV record: It is generally an application set for Microsoft's Active Directory. DNS can be independent from the Active Directory, but the Active Directory must have DNS help to work. In order for the Active Directory to work normally, the DNS server must support the service locating (SRV) resource record, and the resource record maps the service name to the name of the server that provides the service. Active Directory customers and domain controllers use SRV resource records to determine the IP addresses of domain controllers.
For technical details, refer to the corresponding website

Wildcard domain name and wildcard resolution
A wildcard domain name is the root of a domain name. * .domain.com is used to indicate all uncreated subdomain names under the root of the domain name.
Wildcard resolution resolves the record of * .domain.com to an IP address, and other users can access the resolved site through any prefix .domain.com.
Example:
Only two Domain Name Records www.name.com and name.com are created for the domain name root name.com,
Domain name records such as ftp.name.com mail.name.com bbs.name.com do not exist,
However, after a wildcard Domain Name Record * .name.com is created for the domain name root name.com,
* .Name.com covers all records of non-existent subdomain names, such as ftp.name.com mail.name.com bbs.name.com.
You can define * .name.com to point to an IP address. When a visitor enters ftp.name.com mail.name.com or bbs.name.com,
Visitors will directly access the IP address that you define * .name.com.

Domain name binding
What is domain name binding?
Domain name binding refers to binding a domain name to the space of a host (that is, a server). It is actually set on a virtual server or on a Web server, A domain name is directed to a specific space. When a visitor accesses your domain name, it will open the webpage you store in the space. Simply put, it is to resolve the domain name to the server IP address, then, set the domain name to have access permissions on the server.

Domain Name Redirection
The domain name is directed to the domain name (URL) or domain name forwarding. When you enter your domain name in the address bar, it will automatically jump to another network address (URL) you specified ).
If kuiu.com is your registered domain name, the URL forwarding service can enable the user to automatically turn to access another URL when accessing the http://www.kuiu.com, such as: My space does not support binding to the directory function, so for the convenience of visitors, I set: http://bbs.kuiu.com to access, this is set through the URL forwarding service forwarding to the ingress. Another advantage of domain name Forwarding is that it can compress long domain names and replace them with the redirection of short domain names, so that your visitors do not need to enter such long domain names.

========================================================== ============

When registering and using a domain name, do you have any questions about all the records of the domain name?
What is a record? What is an MX record? What is a cname record? What are their purposes?
Well, I will introduce it to you with my simple experience:
1. A record: IP point of the Web Server
The A (Address) record is used to specify the IP address record corresponding to the Host Name (or domain name.
Note: 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 own domain name.
That is to say: through a record, you can set different domain names to be transferred to different IP addresses! For example:
Set
Go to www.yourname.com *.*.*.*
Ftp.yourname.com to IP *.*.*.*
Mail.yourname.com to IP *.*.*.*
2. MX record (mail exchange): mail route record
Note: You can direct the email server under this domain name to your own mail server, and then you can control all mailbox settings on your own. You only need to enter the host name or IP address of your server online to transfer all emails under your domain name to your own email server.
Do you understand this? It is to separate the email server in your domain name and set it to another IP address!
For example, myweb.com. If you set a record to point to 123.12.123.123, and MX record to point to 222.22.222.222, when your DNS server receives a mail route request from someone else, it will interpret the request to 222.22.222.222! When others access your webpage, they still access 123.12.123.123.
3. cname (canonical name) Record (alias from one domain name to another)
This is an easy-to-use record. It can transfer all the domain names you registered to a primary domain name! Different from the record, the cname alias record can be a description of a domain name, not necessarily an IP address! What are the benefits? Think about it!
4. URL (Uniform Resource Locator) forwarding: URL forwarding
Function: if you do not have an independent server (that is, you do not have an independent IP address) or you still have a domain name B, you want to access the content of domain name B when accessing domain name, in this case, you can use URL-based forwarding.
URL forwarding can be forwarded to a directory or even a file. However, cname is not acceptable, which is the main difference between URL forwarding and cname.

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.