Domain name resolution English name: DNS (Domain Name resolution)
How can I view my website content after I register a domain name? In a professional term, it is called "domain name resolution ".
As mentioned in related terms, domain names and URLs are not the same. After a domain name is registered, it only indicates that you have the right to use the domain name. If no domain name resolution is performed, therefore, this domain name cannot play its role. The resolved domain name can be used as the suffix of the email address or as a website address to access your website, therefore, domain name resolution is an essential part of the application ".
We know that the domain name is a dedicated address translation system for convenience of memory. to access a server on the internet, it must be implemented through IP addresses, domain name resolution is the process of re-converting a domain name to an IP address. A domain name can only correspond to one IP address, and multiple domain names can be resolved to one IP address at the same time. Domain name resolution needs to be completed by a dedicated domain name resolution server (DNS.
Parsing process. for example, a domain name is www.stasp.com to implement the HTTP service. If you want to see this website, you need to resolve it, first, resolve the domain name registrar to a fixed IP address of a web server through a dedicated DNS server: 211.214.1. *** then, the web server receives the domain name and maps the domain name www.stasp.com to this server. enter www.stasp.com to access the website content. that is, the whole process of domain name resolution is realized;
People are used to memorizing domain names, but machines only recognize IP addresses. domain names and IP addresses correspond one to one. The conversion between them is called domain name resolution, domain name resolution must be completed by a dedicated domain name resolution server. The entire process is automated.[Edit this section]
Domain name resolution process
When a host domain name needs to be mapped to an IP address during the application process, the domain name resolution function is called. The domain name to be converted is placed in the DNS request and sent to the Local Domain Name Server using UDP packets. After the Local Domain Name Server finds the domain name, it puts the corresponding IP address in the Response Message and returns it. At the same time, the domain name server must also have information connected to other servers to support forwarding when resolution fails. If the Domain Name Server cannot answer this request, the Domain Name Server becomes another customer in the DNS and sends a request for resolution to the root domain name server, the Root Domain Name Server will be able to find all the second-level domain name servers below, and so on, until the requested domain name is queried.
The following is a supplement:
What is domain name resolution? Simply put, the domain name is actually directed to the IP address of your website space, allowing people to conveniently access your website through the domain name you registered. domain name resolution is also called Domain Name Pointing, server settings, domain name configuration, and reverse IP address registration, A 32-bit IP address, such as 220.127.116.11. Resolve the domain name to an IP address, for example, direct www.kikkk.com to 222.222.22; resolve the domain name to a website, for example, direct www.kikkk.com to 18.104.22.168. Simply resolve the domain name to an IP address, and the service is completed. resolve the domain name to an IP address, and then bind a sub-directory to the domain name on the host of the IP address. for example:
Your address is 888.sina.com.
The IP address of the host you can bind is 10.10.10.10.
The virtual directory of your website on the host is: 888
You can change the Host header of the virtual directory 888 to 888.sina.com. Then, resolve 888.sina.com to 10.10.10.10.
However, Sina.com does not support parsing.
If your new domain name is www.kikkk.com
If your original webpage supports domain name binding, you can do this if the IP address is 22.214.171.124.
1. Resolve www.kikkk.com to 126.96.36.199
2. In the original space, use the domain name binding function to bind, www.kikkk.com.
The domain name resolution process is: domain name-DNS (Domain Name Resolution Server)-website space. Let's talk about the three parts below. 1
Domain Name: why is there a domain name? In fact, there is no domain name, and the website space can also be accessed. You can use an IP address consisting of a long string of numbers. The number of visiting websites can be remembered! So people think of a way, since every house can have a house number, why can't we create a house number for the website? Let everyone look for it, so experts have invented such a memorable and meaningful domain name. let's take an example to illustrate: for the domain name of the excellent network: yywl8.com, yywl8 is the name of the excellent network. It is easy to look at the website name, right, com is the company's meaning (there are also net network services, CN China and so on some suffixes represent different meanings .)
DNS (Domain Name Resolution Server): How can I use it to access our website? The problem has returned. Don't worry. Let's explain it to you slowly! In fact, the domain name resolution server came to this world just to solve this problem for you, and DNS is the key to domain name resolution, the domain name resolution Server is a server software that provides the domain name to point to. In fact, we can see from the above process, not to mention.
Website space: A house is still under construction with a portal card! The website space is like building a house.ProgramWe can see the website only when we put it on. Make webpages visible to people.
Domain name resolution!
Picture Description: http://www.yywl8.com/support/doc.php? Iddoc = 190 & keyword = resolution
1. What is domain name resolution?
Computers on the Internet are located by IP addresses. A host on the Internet can be located by providing an IP address. Because the IP address is hard to remember, and the domain name is invented to replace the IP address. However, you cannot directly find the host you want to access through the domain name. You need to add a process to search for IP addresses from the domain name. This process is domain name resolution.
After the domain name is registered, the Registrar provides free static resolution services for the domain name. Generally, domain name registrars do not provide dynamic resolution services. If you need dynamic resolution services, you must pay dynamic domain name resolution service fees to dynamic Domain Name Service Providers.
2. How do I set domain name resolution?
Follow these steps:
(1) domain names can be managed through the member area:
1) browsing: http://www.c2s.cn or http://www.matrix.net.cn ---> through the member ID and the corresponding password to log on to the member area ---> domain list ---> Management ---> enter the domain name and password ---> select mydns service ---> enter the third-level domain name and corresponding IP address ---> Save settings, automatic System resolution ---> Effective domain name
The domain name resolution record addition and change results take effect 1-59 minutes on the matrix DNS, and the global DNS generally takes effect 6-12 hours;
A. The total number of records that can be added is 20-25. If there are more than 10 records, you need to purchase them separately. Each 10 records will be charged once at a price of 100 yuan.
B. related records:
A-A record: Set the domain name or sub-domain to point to ensure that the domain name points to the corresponding host important settings; it can only fill in IP, not fill in
For example, http: // and 881 characters.
NS-NS record: This record is easy not to set, you can add a new NS record if you do understand
MX-MX record: Set the mail exchange record for the domain name, is an important setting for specifying the mailbox server corresponding to the domain name
CNAME-CNAME record: Same as A-A record
URL-URL forwarding: sets the URL forwarding point for the domain name and subdomain name.
(1) domain name resolution in the matrix self-service system must meet the following conditions:
A. the domain name that has been successfully applied for in the matrix or has been transferred to the matrix;
B. DNS is the default DNS for the matrix. (Ns1.10801.net, ns5.lanunion.com, ns1.dns.com.cn, and ns2.dns.com.cn );
C. domain names that have not expired.
4. What is the difference between DNS modification and domain name resolution?
DNS modification and domain name resolution have different meanings:
(1) DNS Modification refers to the modification of the domain name system.
If you have an independent DNS server and want to use this DNS to resolve a domain name that has been successfully registered, you can select DNS to modify the business (note: the domain name to be changed must be registered in our company or successfully transferred to our company ). Please log on to the member area-Domain Name List-domain name management-DNS modification to modify your domain name DNS information
(2) domain name resolution: domain names correspond to IP addresses one by one. The conversion between them is called domain name resolution. domain name resolution must be completed by a dedicated domain name resolution server (DNS.
If both your host and domain name are successful, resolution is required. If your domain name DNS is the default DNS of the matrix, please log on to the member area ---> Domain Name List ---> Management ---> enter the domain name and password ---> select the mydns function ---> modify or add your domain name resolution. If your DNS is not a matrix resolution server, contact your DNS service provider.
5. What is wildcard domain name resolution?
Wildcard domain name resolution refers to the resolution of *. domain names to the same IP address.
You can add any subdomain name before the domain name to access the directed web address. That is, all * .a.com set under the customer's domain name a.com is resolved to the same IP address.
For example, if B .a.com is set, the customer automatically resolves it to the same IP address as a.com.
For a real wildcard Domain Name application, you need to rent an independent static IP address. The price of the matrix is 1200 RMB/person/year.
6. What is the difference between wildcard domain name resolution and domain name resolution?
Wildcard domain name resolution: *. The domain name is resolved to the same IP address.
Domain name resolution: Resolve the subdomain name. domain name to the same IP address.
Note: The wildcard domain name is meaningful only when the customer's space is an independent IP address. Domain name resolution does not have this requirement.
7. Why is there a decimal point (a half-width solid dot in English) after the MX record?
It is correct to add at the end of the MX record.
MX is the mail exchange record, which exists in the DNS file of the domain name. It is used to direct the email at the end of a post office domain name to the corresponding mail server for processing. The setting method is as follows:
After logging on to the member area, click "Domain Name List", select a domain name, and click "manage". Then, select "mydns" to go to the settings page, the RR column can be empty or subdomain name, type select MX-MX record, the value can fill in the host name or IP address, click the Add button.
Note: The MX record requires that the host name or IP address end must be added. Otherwise, this record will not take effect. If you do not add it when submitting the record, our system will automatically add it.
8. easy resolution setting
First, use the hichina member ID and password to log on to the hichina member area and click "Domain Name Management" in "product management" on the left side of the page. The domain name purchased under your ID appears on the right side of the page, click "Domain Name" and click "Domain Name". The member area prompts you to enter the corresponding host server IP address and email server IP address in your business, and then click "add ". After the quick settings are completed, the resolution record is saved in the "Detailed record list. After completing the settings, please wait for 6-12 hours.
What is smart domain name resolution?
In addition to basic DNS resolution, intelligent domain name resolution can automatically identify the source of the browser, resolve the same domain name to the IP address of the China Netcom or China Telecom on the dual-line machine to access your website.
Why do I need to register a domain name?
Internet, the darling of the information age, has become a hot topic in the business world. More and more people are familiar with it, such as e-commerce, online sales, and online advertising. "Surfing the Internet" has become a mantra for many people. However, to create a server on the Internet to publish information, you must first register your own domain name. Only with your own domain name can someone else access yourself. Therefore, domain name registration is the basis for establishing any service on the Internet. At the same time, due to the uniqueness of the domain name, early registration is very necessary.
Dynamic domain name resolution
Because domain names and trademarks are unique in their respective categories, and with the development of the Internet, from the perspective of corporate image establishment, domain names in a certain sense, it has a subtle relationship with trademarks. Therefore, it has some common characteristics with trademarks. When selecting a domain name, many enterprises often want to use a domain name that is the same as their enterprise trademark. However, domain names and trademarks are more unique than each other.
If your computer wants to participate in Internet communication, whether it is a client that executes resource access or a server that provides accessed resources, your computer must be assigned a valid IP address (Note: Lan-based broadband users do not need to directly obtain valid IP addresses, which will be covered in this article ), like 188.8.131.52, this address is generally provided to you by an Internet Service Provider (China Telecom ). The allocation of such IP addresses is static and dynamic. Generally, the IP addresses of computers on the server are static (fixed) because they need to provide services to users. Why? Imagine if the IP address of a server changes every day, which user can remember the IP address of the server? Because the vast majority of the time on a computer accessing the client is used as a resource requestor rather than a service provider, its IP address can be dynamic, which is usually reflected in the fact that the IP addresses we receive each dial-up are different, when a user is disconnected, the service provider recycles and realdistributes the data.
Can the IP addresses of all computers be fixed? Can the IP addresses of servers or clients access each other? In fact, the current IP address is very scarce (the total IP address of IPv4 is limited, and the allocation right is in the hands of the United States ), the rental cost of a fixed IP address is very expensive (the prices of telecom service providers vary, but they all exceed the affordability of individuals and small and medium enterprises.
Let's see, is there a fixed IP address?
Although the IP address of the server is fixed, it is still annoying to remember IP addresses like 184.108.40.206. How many thousands of Internet servers can be remembered? Therefore, with the traditional DNS Service (domain name resolution service), it can replace the boring IP address with a string of characters that are easy to remember and have a meaningful meaning, for example, replacing 220.127.116.11 with www.ithack.net (note: the. net stands for the network organization, ithack stands for the domain name of the institution, and WWW stands for a server of ithack, which is the DNS naming rule ). In this way, we can see www.ithack.net that we can access the website server of ithack without knowing what the IP address of the website server is. When we enter a name such as www.ithack.net in the browser, DNS converts the name string to the corresponding IP address in the background for access.
Does all computers that communicate on the Internet have such a mnemonic name (Domain Name?
This is not the case. Only servers are available. Why? As mentioned above, the majority of clients do not have a fixed IP address, while the traditional DNS Server is a static address ing server. If the IP address of a domain name changes, you must manually modify the corresponding records. Therefore, it is impractical to provide name ing for Dynamic IP address users.
The above access and naming structure worked well in the past, because in the past, due to hardware capabilities and network bandwidth restrictions, network services were provided by dedicated servers, most users can only serve as simple visitors. However, with the rapid development of computer science and technology, the service capabilities of personal computers have never been the same, and the popularization of broadband (frequency) makes bandwidth no longer the bottleneck of communication.
Nowadays, the vast majority of Internet (especially broadband) users are no longer satisfied with accessing the Internet as a single client. They hope to implement server functions, if we can find a way to change this single client mode to a two-way mode with both server functions, we can release this long-standing energy and create a new Internet application model.
Dynamic DNS (Domain Name resolution) services, that is, services that can map fixed Internet domain names and dynamic (non-fixed) IP addresses in real time (resolution. This means that, compared with traditional static DNS, it can resolve a fixed domain name to a dynamic IP address. Simply put, no matter when the user accesses the Internet, how the user accesses the Internet, how the user obtains an IP address, and whether the IP address changes, the user's computer can be accessed through a fixed domain name.
This means that a computer under the dynamic DNS service has a fixed IP address that can act as an Internet server. This is undoubtedly a very attractive service for Internet users and small and medium-sized enterprises.[Edit this section]
Domain name resolution Glossary
What is an MX record?
Route records. You can direct the email 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.cnmonkey.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 mail.cnmonkey.com ". In fact, they all point to "host.cnmonkey.com ".
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.cnmonkey.com (in fact, this is a DNS record, which usually indicates that there is a host named myhost in the abc.com domain) is 18.104.22.168, the TTL is 10 minutes. This domain name or record is stored on a DNS server named dns.cnmonkey.com.
A record: IP address of the web server pointing
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:
Go to www.cnmonkey.com to IP address 321.32.321.321
Ftp.cnmonkey.com to IP 22.214.171.124
Mail.cnmonkeye.com to IP 126.96.36.199
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, cnmonkey.com. If you set a record to 188.8.131.52, and MX record to 184.108.40.206, when your DNS server receives a route request from someone else, it will interpret the request to 220.127.116.11! When others access your webpage, they still access 18.104.22.168.
You can use NSLookup-Qt = mx test.com to parse the MX point. Test.com is used as an example.
Cname (canonical name) Record
(Alias from one domain name to another) it is a useful record to point an alias. It can forward all the domain names you have 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!
URL (Uniform Resource Locator) 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 transfer. 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.
Domain name a record: A (Address) record is the record corresponding to the domain name and IP address.
Domain Name alias record: the canonical name (cname, canonical name) record is the record corresponding to the domain name and the domain name alias.
Dynamic domain name resolution: the IP address corresponding to the domain name in the record is a static IP address. Resolve the domain name to a dynamic IP address, which is called dynamic domain name resolution.
Generally, Domain Name Service Providers only provide a record for free, and do not provide dynamic domain name resolution for free.
Set wildcard domain name resolution
Follow these steps:
(1) Use your username and password to log on to the website where you registered the domain name. The following operations vary according to the control panel of the domain name provider. For details, refer to the prompts on the website where your domain name is located.
(2) Self-management-domain name management-management under information-enter a domain name in the domain name Control Panel (for example, a.com does not require www) and domain name password (if you forget the domain name password, you can click Reset Password under the initial password to set the domain name password to the initial password ).
(3) DNS resolution management-add IP-enter * in the Host Name, enter the IP address of your server-add-Refresh all resolutions.
(4) If you need to resolve the wildcard resolution of level 2 domain names such as xxx.05.abc.com, enter 05 in the host name above.
(5) Your resolution takes effect within 30 minutes to 1 hour, and the newly registered domain name takes effect within 24 hours.