A, DNS Description: It is a Domain Name System is a distributed database on the World Wide Web as a domain name and IP address mapping of each other, it can make it easier for users to access the Internet, without having to remember the IP number of strings that can be directly read by machine .
Domain structure:
Second, the working procedure:
1. Recursive Query: is typically between the client and server recursive queries, i.e., when the client sends a request to the DNS server, when the DNS server can not resolve itself, will be sent to another DNS server query requests, after obtaining the results forwarded to the client;
2. iterative query (repeated inquiries): is a general iterative queries between the DNS server,
three experimental environment: 1, the server: Winndows server 2016,2, client: windows10;
Fourth, the experimental process:
1, the first card-Fi mode virtual machines are transferred into a host-only mode;
2, the following open nature of the Internet in the server 2016 inside;
3, then find "change network adapter settings" and double-click to enter;
4 , as found under the icon, right-click to open the property;
5, find the "internet protocol" in the properties into the double-click;
6, where it is given with a fixed IP address;
7, then close the property is determined;
8, then the windows IP addresses are also equipped with 10 bit, and DNS address at the address previously assigned;
9, a good job after the following steps to see if they can see each other We found no through, mostly firewall interference;
10, through the following steps to disable the firewall like;
11, then turn off the firewall will be able to see them interworking;
12, following the Start menu in the server 2016, found FIG opened and the "server Manager";
13, found in the dash "Add Roles and Features" to open it;
14, and then click Next:
15, as shown in select option and click Next to begin installation;
16, then choose "Select a server from the server pool" and then select the local server continues as shown in the next step;
17, here select the "DNS server";
18, then the interface will pop up as shown, click on the "add features";
19, here are some tips people may jump out of this, not this time go to hell, click continue;
20, then click "install" to start the installation, the installation will be looking to play good DNS and double-click to open the start menu;
21, after entering or see the following interface, click the drop shown in the figure arrow;
22, and then click to select the "forward lookup Zones" and right-click to open the options;
23, find the "New Zone" click to enter;
24, after entering a wizard interface will pop up, click Next;
25, then let select "area type", select the "main area" and click Next;
26, then set a name for the region;
27, click Next to proceed to Zone file, "here does not recommend changes;
28, then the following will enter the" dynamic update ", best to keep the default does not allow here;
29, here basically built up in the region, click Finish;
30, after completion will seen in FIG open "yun.com" will see a default file server name and the right way;
31, then a blank area shown in the right mouse button, locate and open the "New host";
32, here named host names and corresponding IP addresses;
33, after all the input click "Add host" will be prompted at the map;
34, let's bring up the "Command Prompt" enter "nslookup + hostname" can be resolved to see the IP address;
35, then build it in WEB hosting, there are three ways: a different IP address; the same IP address, different ports; the same IP and port, a different host name; product
36, different IP addresses: the first set to add in the server 2016 to add a network card, the virtual machine is opened;
37, then the connection mode change NIC into a "host-only mode";
38, again is to take a look-built network card to be recognized by the system, if there is no suggestion restart it;
39, with the following application to the front of the card configuration IP address, with a good best restart it ;
40, after the restart to bring up the "command prompt" enter "ipconfig" check whether the IP address configured into force;
41, followed by the formal structures of web services, continue to open the "server Manager" to add;
42, and then click to open a it is mounted;
43, following the start menu to find and open it;
44, open arrow point to open the drop-down interface, as found on "Default Web site"
45, after a single stroke illustrated find select it and click the right of the "binding";
46, select the icon into the binding region, click on the "Edit";
47, opening the down arrow to select an IP address;
48, and then E disk to free up a site file;
49, the following teach you a quick way to build, bring up the "command prompt" enter "e:" that is, into the E disk;
50, then enter "mkdir + filename" can;
51, we went to look in the E drive, folder, began to built up;
52, the following folders to put inside the page file, as input "echo +" web content "> index.html to;
53, as shown in the next screen in the back, opening the "Basic Settings";
54, open'll see "Edit site" screen, click the icon to select the location of the path;
55, add the path of our previously established site go in;
56, then open graph "default document", a look at whether to support the HTML file format;
57, visit the following Web site about the browser, you can right-click to see the successful visit to;
58, let's create another IP address of the Web site, right-click the icon interface in the "Web site" to find the "add a site";
59, again enter the site name and site path;
60, select the new site name to bind;
61, this additional binding sites IP addresses;
62, then go to your browser and enter "192.168.100.110" to browse to a;
63, following the same IP address set different port, the IP address "bigdata" Web site is also set to "192.168.100.100", the port to "8080";
64, we continue to browse browser 192.168.100.100;
65, then bigdata how to access it, and then enter the IP address of the original: 8080;
66, the final phase of view Set the IP and port, different host name, before selecting the site name, and then click on the "binding";
67, then click Edit to enter the host name to learn;
68, pay attention here, just before we add only one parsing, you have to add a;
69, also established the host name and IP address binding;
70, have been completed and then use the browser to browse, enter the host name here to browse;
here you can see that you can browse to the success of !
70, so if we want the client to automatically obtain an IP address how to achieve;
71, continued "DHCP Server" installation diagram;
72, and then open it to the start menu;
73, and then enters here, in accordance with the down arrow icon open point;
74, after opening the find "the IPv4" right click into ;
75, went to find the "New scope" and click on it to enter;
76, and then into the wizard interface, click Next;
77, here to give it a name;
78, to set up a range of IP addresses;
79, will be the occasion range occupied address input into it;
80, where you can step to change the lease period, with its default time;
81, then the rest is up to configuration options, be sure to choose the configuration option;
82, the following will allow you to set up set the gateway;
83, where the IP address entered below was then added;
84, "server Wins" temporarily setting;
85, activation screen click New go active;
86, after activation to the client to call "command prompt" enter "ipconfig / renew" look i saw in Figure;
87, the last to enter the "ipconfig / all" to check the DHCP server address and DNS server address;
you can see the laboratory Success, thank you!
DNS + Web + DHCP Services Architecture (New reference)
Guess you like
Origin blog.51cto.com/14449521/2426647
Ranking