Network DNS server set up a full Raiders

  

Whether on the LAN or the Internet, people are also faced with another confusion: computers can only identify digital addresses such as "61.186.250.41" when communicating on the network. So why do we see the page we need when we open the browser and enter the domain name such as “www.popunet.com” in the address bar?

In fact, the above two questions are just a process of mutual interaction between an IP address and a domain name. The former has to create a domain name mapping record that points to the corresponding IP address; for the latter, this record has been created and is in effect. And the establishment of this "translation" record requires the use of the same computer called "DNS server".

The DNS server is used in TCP/IP networks (such as the average LAN or Internet), and it is used to replace hard-to-remember IP addresses with user-friendly names (such as “www.bianceng.cn”). (eg “ 61.186.250.41) to locate computers and services. Therefore, as long as you need to use a domain name such as "www.bianceng.cn", you must first ensure that the corresponding IP address mapping work has been done in the DNS server for this name.

This article will take the DNS service that comes with Windows 2000 Advanced Server Edition (hereafter referred to as Win2000) as an example, and teach you step by step how to complete the construction of this "translation system" in the LAN.

First, add DNS service

By default, when you install Win2000, the DNS service has not been added. Please open “ control panel → add /remove programs & rarr; add /remove Windows components & rdquo;, then double-click "network service" in the component list, and then check the "DNS server" under it, Finally press the “OK” button.


Second, the goal of this article

1, assuming that the machine has an IP address of "192.168.0.51", now want to make it “bianceng .cn”,“www.bianceng.cn” and “ftp.bianceng.cn” three domain names correspond.

2. Suppose the machine also has IP addresses such as "192.168.0.90” and "192.168.0.91", and also wants to make them separate with “www.enanshan.com”&&ldquo ;nanshan.363.net” The two domain names correspond.

3. Implementation of Goal 1

1. First, make sure that the DNS service is installed on this machine, you can open it by selecting “Start → Programs & Rarr; Management Tools & Rarr; DNS” DNS Console Manager (hereinafter referred to as "DNS Manager").

2.Create“bianceng.cn”Region

(1) In the DNS Manager, right click on “SERVER” (this server name), select “New Area” to enter the New Area Wizard.

(2)When the wizard prompts you to select ""region type", you should select "Standard main area" in the "Forward or Reverse Search Area" ” Should select "forward search area"; after each step is selected, click the "Next" button to continue.

(3) Then the system will ask "area name", then enter "ldc;bianceng.cn" in the text box after the name "," and then the wizard will enter the "area file". In the prompt window, by default, the system will automatically select “ create a new file, the file name is ” an item, and automatically fill in the text box followed by "bianceng.cn.dns”(“bianceng.cn&rdquo The part is the name of the "area name" entered in the previous step.


(4) After the default items are selected according to the system prompts, the establishment of this area can be completed. At this point, you can see the “bianceng.cn” area in the “Forward Search Area” in the “Trees” column on the left side of the DNS Manager.

3, then right click on the "bianceng.cn” area, select “New Host", in the subsequent dialog box, enter the host name “www” ;,“IP address" Enter the IP address“192.168.0.51”, and then click the “Add Host” button to successfully create the host address record “www.bianceng.cn”, at &ldquo The new host & rdquo; window and then select “ complete & rdquo; can return to the DNS manager.


4, right click on the "bianceng.cn” area and select “New Alias", in the subsequent dialog box, "Alias" Enter “ftp”,“the fully qualified name of the target host" enter“www.bianceng.cn” (or use “Browse”Stepwise selection), and finally &ld;;OK” Www.bianceng.cn”Create an alias record called "ftp.bianceng.cn".


5. Reuse and use the similar method in the previous step to create an alias record named “bianceng.cn” for “www.bianceng.cn”. The only difference is When it is created, the name "Do not fill in the column", leave it empty!

6. After all the above records are created, you can see the relevant DNS mapping record table in the DNS manager. If you check the “Advanced” item in the “View” menu, the list will be changed to its English name by the Chinese name (such as “host”). “A”).


7, the rest of the work is to verify the effectiveness of the work! At the command prompt of Windows 2000 (select “ start → run ” after entering “ cmd” then press “ OK & rdquo; button to enter) use the format of ping www.bianceng.cn & rdquo; Test, if the established domain name "www.bianceng.cn", "bianceng.cn" and "bianceng.cn" can display the four lines of the connection such as "Reply from 192.168.0.51: bytes=32 time< 10ms TTL=128” response, congratulations on your success!

Fourth, the realization of the goal 2

1, first regard "&anquo;enanshan.com” as the "area"; after the establishment of the method described above, and then establish "under" ;www”“host”, its IP address corresponds to “192.168.0.90”

2. After "establishing the area" as "<quo;region", it will establish a "host" under it and associate its IP address to “192.168.0.91” .

Copyright © Windows knowledge All Rights Reserved