DNS server set up Raiders

  
        Regardless of whether it is on the local area network or the Internet, people are also faced with another confusion: when a computer communicates on the network, it can only recognize digital addresses such as “61.186.250.41”, so why when we open the browser, After entering the domain name such as “www.popunet.com” in the address bar, you can see the page we need?
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 this "translation" record creation requires the same kind of computer called "Dns server".
The DNS server is used in TCP/IP networks (such as general LAN or Internet), and it is used to replace hard-to-remember IP addresses with user-friendly names (such as “www.pconline.com.cn”) For example, "61.186.250.41) to locate computers and services. Therefore, as long as you need to use a domain name such as "www.pconline.com.cn", you must first ensure that the mapping of the IP address is 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 tick the "Dns server" under it, Finally press the “OK” button.


Second, the goal of this article 1, assuming that the machine has a & ldquo; 192.168.0.51 & rdquo; IP address, and now want it to & ldquo; pconline.com.cn & rdquo ;, “www.pconline.com.cn” and “ftp.pconline.com.cn” three domain names correspond.

2, assuming that the machine also has as & ldquo; 192.168.0.90 & rdquo; and & ldquo; 192.168.0.91 & rdquo; IP address, but also want to let them respectively and & ldquo; www.enanshan.com & rdquo; and & ldquo ;nanshan.363.net” The two domain names correspond.
Three, the realization of the goal 1

1, first ensure that the machine has installed the DNS service, you can open by selecting “ start → program & rarr; management tools & rarr; DNS & rdquo; DNS Console Manager (hereinafter referred to as "DNS Manager").
2, establish “ pconline.com.cn & rdquo; area
(1) In the DNS manager, right click on the "SERVER" (this server name), select "New Area" Go to the New Zone Wizard.
(2)When the wizard prompts you to select the "area type", you should select "Standard main area" here; and in the "Forward or reverse search area", you should select “ ; Forward search area & rdquo;; After each step is selected, click the "Next" button to continue.
(3) Then the system will ask “area name”, then enter “ldcons.com.cn” in the text box after “Name”; then the wizard will enter the “area file” prompt In the window, by default, the system will automatically select “ create a new file, the file name is & rdquo; an item, and in the text box after it is automatically filled with “ pconline.com.cn.dns & rdquo; (“ pconline. The com.cn” part is the name of the "area name" entered in the previous step.


(4) to complete the re-establishment of this area after the default selected according to the system prompts. At this point, you can see the “pconline.com.cn” area in the “Forward Search Area” in the “Tree” column on the left side of the DNS Manager.


3, then right click on the “pconline.com.cn” area, select “New Host”, and enter in the “Name” box in the subsequent dialog box. 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.pconline. Com.cn”, in the "New Host" window and then select "Complete" to return to the DNS Manager.


4, then the & ldquo; pconline.com.cn & rdquo; right-click on a region selected from the group & ldquo; & rdquo ;, new alias in the subsequent dialog & ldquo; alias & rdquo Enter "<quo;ftp”,“ the fully qualified name of the target host" in the input"www.pconline.com.cn" (or use “Browse & rdquo; step by step selection), and finally & ldquo; determine & rdquo; An alias record called "ftp. pconline.com.cn" can be created for “www.pconline.com.cn”.



5, and then the similar method as step & ldquo; www.pconline.com.cn & rdquo; create a file called & ldquo; pconline.com.cn & rdquo; of Alias ​​record, the only difference is that it does not need to fill in the column when it is created, keep it empty!
6, after all the above records are established, 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 test the effectiveness of the work! In the Windows 2000 command line prompt (select “ start → run ” after entering “ cmd & rdquo; then press “ OK & rdquo; button to enter) with the format of ld www.pconline.com.cn & rdquo; One by one test, if the established domain name “www.pconline.com.cn”,“pconline.com.cn” and “pconline.com.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 goal 2

1, first regard "&anquo;enanshan.com” as ""region", after establishing according to the method described above, and then establishing under it ;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