Windows Server 2003 DNS service installation diagram articles

  

In the previous few studies, Lao Wei introduced the basic methods of deploying file services, deploying DHCP services and deploying WWW services to Bago, and made further technical extensions for each service. This arrangement has benefited Bagh, benefiting both basic knowledge and improvement. After the WWW service is successfully deployed, users inside the LAN can access the internal website using the IP address. However, if you can let internal users access the internal website with a friendly name (such as “www.yesky.com”) as if they were visiting a website on the Internet, then it will definitely make more sense. Bago talked with Lao Wei about his plans. Lao Wei said with ease: "What is the difficulty? Deploying a DNS server can realize your idea." ” But Bargo did not understand what DNS is, so Lao Wei made a brief explanation of DNS. DNS (Domain Name System) is a distributed database organized into a hierarchy containing mappings from DNS domain names to various data types (such as IP addresses). This usually requires the creation of an A (Address) record, meaning "Host Record" or "Host Address Record", which is the most common of all DNS records. Through DNS, users can use a friendly name to find the location of computers and services on the network. The DNS name is divided into sections, separated by dots. The leftmost one is the host name, and the rest is the DNS domain to which the host belongs. Therefore a DNS name should be expressed in the form of "hostname+DNS domain". Tip: In order to successfully deploy the DNS service, the computer running Windows Server 2003 must have a static IP address. Only then can the DNS client locate the DNS server. In addition, if you want the DNS server to be able to resolve the domain name on the Internet, you must also ensure that the DNS server can connect to the Internet normally. I.Installing the DNS Server
By default, the DNS server is not installed in the Windows Server 2003 system. The first job done by Laowei is to install the DNS server. Step 1, click “Start/Manage Tools/Configure Your Server Wizard", click the “Next" button in the open wizard page. The configuration wizard automatically detects the settings of all network connections. If no problems are found, go to the "Server Roles" wizard page. Tip: If you are using the configuration wizard for the first time, there will also be a “Configure Options” page, click the “Customize Configuration” radio button. In step 2, click the “DNS server" option in the "Server role" list and click the “Next” button. Open the “Select Summary” page, and if “Install DNS Server” appears in the list, and “Run the Configure DNS Server Wizard to configure DNS”, click the “Next” button. Otherwise click the “Previous” button to reconfigure (Figure 1).


1 Select & ldquo; DNS server & rdquo; the role of step 3, start the installation wizard DNS server, and may be prompted to insert the Windows Server 2003 installation CD or specify the installation source files (such as figure 2).


Figure 2 Specifying the system installation disk or installation source file Tip: If the server is currently configured to obtain an IP address automatically, then the "Windows Components Wizard" is configuring the component. The ” page will appear, prompting the user to configure the DNS server with a static IP address. Second.Create Zone
After the DNS server is installed, it will automatically open the “Configure DNS Server Wizard” dialog box. Users can create zones under the direction of the wizard. In the first step, in the “Configure DNS Server Wizard” page, click the “Next” button to open the “Select Configuration Operation” page. The Create Forward Lookup Zone is selected by default for small network use. The network managed by Barco is not too large, so keep the default options and click the “Next” button (Figure 3).


Figure 3 Select the configuration operation Step 2, open the "Main Server Location" wizard page, if the deployed DNS server is the first DNS server in the network, it should Keep the "This server maintains the area" checkbox, select the DNS server as the primary DNS server, and click the "Next" button (Figure 4).


Figure 4 Determining the location of the primary server Step 3, open the “zone name" wizard page, type a message that reflects the company information in the "area name" edit box For the zone name (eg “yesky.com”), click the “Next” button (Figure 5).


Figure 5 Fill in the name of the area In step 4, a file name has been filled in by default according to the area name in the opened "area file" dialog page. The file is an ASCII text file that holds information about the area and is saved by default in the "windowssystem32dns" folder. Leave the default value unchanged and click the “Next” button (Figure 6).


Figure 6 Creating a Zone File Step 5: Specify the type of registration information update that the DNS zone can accept in the Open "Dynamic Updates" wizard page. Allowing dynamic updates allows the system to automatically register relevant information in the DNS, which is useful in practical applications, so click on the “Allow non-secure and secure dynamic updates” radio button and click on the “Next” button. As shown in Figure 7).


Figure 7 Select Allow Dynamic Update Step 6, open the “ Forwarder> Wizard page, keep “ Yes, the query should be forwarded to the DNS server with the following IP address ” The selected state of the radio button. In the IP address edit box, type the IP address of the DNS server provided by the ISP (or the superior DNS server) and click the “Next” button (Figure 8).


Figure 8 Configuring DNS Forwarding Tip: By configuring "forwarding", you can enable internal users to use the DNS server provided by the local ISP for domain name resolution when accessing sites on the Internet. . Step 7, click “Complete/Complete" button to end “yesky.com” the process of creating the zone and the DNS server installation and configuration process. Three. Creating a Domain Name
Laowei used the wizard to successfully create the “yesky.com” area, but internal users cannot use this name to access the internal site because it is not a qualified domain name. Then you need to create a domain name that points to different hosts based on it to provide domain name resolution services. Laowei is going to create a domain name to access the Web site “www.yesky.com”, the specific steps are as follows: Step 1, click "Start”→“Administrative Tools”→“ DNS” menu command, open the “dnsmagt” console window. In step 2, expand the “ServerName”→“forward lookup zone" directory in the left pane. Then right-click on the “yesky.com” area and execute the “New Host" command in the shortcut menu (Figure 9).


Figure 9 Execute the “New Host” command, step 3, open the “New Host” dialog box, type one in the “Name” edit box to represent the The name of the service provided by the host (in this case, type “www”). Type the IP address of the host (for example, “192.168.0.198”) in the "IP address" edit box, and click the “Add Host” button. It will soon be prompted that the host record has been successfully created (Figure 10).


Figure 10 Creating a Host Record Finally, click the “Complete” button to finish creating. Four. Setting up the DNS client
Although the DNS server has been created and the appropriate domain name has been created, it is not possible to use a domain name such as "www.yesky.com" in the browser of the client. Visit the website. This is because although there is already a DNS server, the client does not know where the DNS server is, and therefore does not recognize the domain name entered by the user. The user must manually set the IP address of the DNS server. Set the IP address of the DNS server just deployed in the “Preferred DMS Server” edit box in the Client Internet Protocol (TCP/IP) Properties" dialog box (in this case, “192.168.0.1”, As shown in Figure 11).


Figure 11 Setting the client DNS server address Then use the domain name to access the website again, you will find that you can access it normally.

Copyright © Windows knowledge All Rights Reserved