Construction of small architecture and principles explained in detail (DNS + WEB + DHCP), to feel the charm of your goddess programmer

One. First you need to download this software VMware workstation pro14 version: a virtual machine, installation details please see my previous blog of course.
1. You also need to download the image file server sever 2016, install the crack look at the details before I blog. Links: https://pan.baidu.com/s/17DwX8aFTHYq_K1INSpcgvg
extraction code: dnfo
copy the contents of this open Baidu network disk phone App, the operation more convenient Oh,
this is my Baidu cloud disk inside the software, crack there.
two. Understanding Web Services and principles Construction of small architecture and principles explained in detail (DNS + WEB + DHCP), to feel the charm of your goddess programmer
1. What is Web
Currently, the vocabulary and the idea was "World Wide Web", and, in different areas have different meanings.
Take the interpretation of "Global Network", for the ordinary users, web just an environment - use of the Internet environment, atmosphere and content; and for website design, designers, it is a series of composite general term for technology (including foreground layout, background programs, utility, database technology areas of the site, and so the generality of the general term).
2.Web principle

three. Learn DHCP service and principle
1. What is DHCP Service
Dynamic Host Configuration Protocol (DHCP) is a network management protocol used to assign IP addresses to any new nodes into the network dynamics. DHCP allows automatic configuration of nodes, thus avoiding the need for network administrators to participate.
2.DHCP role and principles

Construction of small architecture and principles explained in detail (DNS + WEB + DHCP), to feel the charm of your goddess programmer

Construction of small architecture and principles explained in detail (DNS + WEB + DHCP), to feel the charm of your goddess programmer

The first step: discover broadcast: You go to spread the news, Unicast: one to spread the message, multicast: go for a walk in packet form message.Construction of small architecture and principles explained in detail (DNS + WEB + DHCP), to feel the charm of your goddess programmer

Second step: offerConstruction of small architecture and principles explained in detail (DNS + WEB + DHCP), to feel the charm of your goddess programmer

The third step: requestConstruction of small architecture and principles explained in detail (DNS + WEB + DHCP), to feel the charm of your goddess programmer

The fourth step; ACKConstruction of small architecture and principles explained in detail (DNS + WEB + DHCP), to feel the charm of your goddess programmer

Clients restart and renew two scenes, after the restart from the third step, if you want to renew the lease if more than half of time before they can renew, if after a time because the network protocol will automatically assign you a URL. 169.254.Construction of small architecture and principles explained in detail (DNS + WEB + DHCP), to feel the charm of your goddess programmer

四.了解DNS服务及原理
1.什么是DNS
DNS(Domain Name System,域名系统),因特网上作为域名和IP地址相互映射的一个分布式数据库,能够使用户更方便的访问互联网,而不用去记住能够被机器直接读取的IP数串。通过主机名,最终得到该主机名对应的IP地址的过程叫做域名解析(或主机名解析)。DNS协议运行在UDP协议之上,使用端口号53。在RFC文档中RFC 2181对DNS有规范说明,RFC 2136对DNS的动态更新进行说明,RFC 2308对DNS查询的反向缓存进行说明。DNS(Domain Name System,域名系统),因特网上作为域名和IP地址相互映射的一个分布式数据库,能够使用户更方便的访问互联网,而不用去记住能够被机器直接读取的IP数串。通过主机名,最终得到该主机名对应的IP地址的过程叫做域名解析(或主机名解析)。DNS协议运行在UDP协议之上,使用端口号53。在RFC文档中RFC 2181对DNS有规范说明,RFC 2136对DNS的动态更新进行说明,RFC 2308对DNS查询的反向缓存进行说明。
2.DNS原理
DNS解析IP地址,去实现不同的域名,我们分为根域,顶级域,二级域
下面有一张图是DHCP的迭代查询和递归查询原理图。
Construction of small architecture and principles explained in detail (DNS + WEB + DHCP), to feel the charm of your goddess programmerConstruction of small architecture and principles explained in detail (DNS + WEB + DHCP), to feel the charm of your goddess programmer
Construction of small architecture and principles explained in detail (DNS + WEB + DHCP), to feel the charm of your goddess programmer

Construction of small architecture and principles explained in detail (DNS + WEB + DHCP), to feel the charm of your goddess programmer

五.我们开始创建网站架构 DNS+WEP+DHCP
1.我们先来打开虚拟机VM,打开我们的WIN10系统,和服务器系统。Construction of small architecture and principles explained in detail (DNS + WEB + DHCP), to feel the charm of your goddess programmer

2.我们把我们的网络设置成只和主机相连Construction of small architecture and principles explained in detail (DNS + WEB + DHCP), to feel the charm of your goddess programmerConstruction of small architecture and principles explained in detail (DNS + WEB + DHCP), to feel the charm of your goddess programmer
3.我们到虚拟机编辑器中,去设置网络
Construction of small architecture and principles explained in detail (DNS + WEB + DHCP), to feel the charm of your goddess programmer

4.我们给服务器设置一个网址,再给客户端设置一个网址,让客户端DNS服务器选择我们服务器的网址。Construction of small architecture and principles explained in detail (DNS + WEB + DHCP), to feel the charm of your goddess programmerConstruction of small architecture and principles explained in detail (DNS + WEB + DHCP), to feel the charm of your goddess programmer

5. We go to the server firewall off, or affect our experiments Construction of small architecture and principles explained in detail (DNS + WEB + DHCP), to feel the charm of your goddess programmer
6. Let's verify whether the client and server communicate, then we can communicate to build DNS service.

Construction of small architecture and principles explained in detail (DNS + WEB + DHCP), to feel the charm of your goddess programmer
7. We started building the DNS service, add features to the serverConstruction of small architecture and principles explained in detail (DNS + WEB + DHCP), to feel the charm of your goddess programmer

8. We install step by step according to the picture below to start the installation DNS
Construction of small architecture and principles explained in detail (DNS + WEB + DHCP), to feel the charm of your goddess programmer
Construction of small architecture and principles explained in detail (DNS + WEB + DHCP), to feel the charm of your goddess programmerConstruction of small architecture and principles explained in detail (DNS + WEB + DHCP), to feel the charm of your goddess programmerConstruction of small architecture and principles explained in detail (DNS + WEB + DHCP), to feel the charm of your goddess programmerConstruction of small architecture and principles explained in detail (DNS + WEB + DHCP), to feel the charm of your goddess programmerConstruction of small architecture and principles explained in detail (DNS + WEB + DHCP), to feel the charm of your goddess programmer
closed after 9 installed, we return to the desktop, open the DNSConstruction of small architecture and principles explained in detail (DNS + WEB + DHCP), to feel the charm of your goddess programmer

10. We went to set up a new area, to establish a domain, the following picture step by step Construction of small architecture and principles explained in detail (DNS + WEB + DHCP), to feel the charm of your goddess programmerConstruction of small architecture and principles explained in detail (DNS + WEB + DHCP), to feel the charm of your goddess programmerConstruction of small architecture and principles explained in detail (DNS + WEB + DHCP), to feel the charm of your goddess programmerConstruction of small architecture and principles explained in detail (DNS + WEB + DHCP), to feel the charm of your goddess programmerConstruction of small architecture and principles explained in detail (DNS + WEB + DHCP), to feel the charm of your goddess programmer
Construction of small architecture and principles explained in detail (DNS + WEB + DHCP), to feel the charm of your goddess programmerConstruction of small architecture and principles explained in detail (DNS + WEB + DHCP), to feel the charm of your goddess programmer
Construction of small architecture and principles explained in detail (DNS + WEB + DHCP), to feel the charm of your goddess programmer
11. After we set up we went to set the hostname, after we finished the test whether you can resolve
Construction of small architecture and principles explained in detail (DNS + WEB + DHCP), to feel the charm of your goddess programmerConstruction of small architecture and principles explained in detail (DNS + WEB + DHCP), to feel the charm of your goddess programmer

12. We started to build WEB services, first of all let's add a network adapter.Construction of small architecture and principles explained in detail (DNS + WEB + DHCP), to feel the charm of your goddess programmerConstruction of small architecture and principles explained in detail (DNS + WEB + DHCP), to feel the charm of your goddess programmerConstruction of small architecture and principles explained in detail (DNS + WEB + DHCP), to feel the charm of your goddess programmer

13. After the set back to our server, to build WEB services in accordance with the images to Construction of small architecture and principles explained in detail (DNS + WEB + DHCP), to feel the charm of your goddess programmerConstruction of small architecture and principles explained in detail (DNS + WEB + DHCP), to feel the charm of your goddess programmer
Construction of small architecture and principles explained in detail (DNS + WEB + DHCP), to feel the charm of your goddess programmerConstruction of small architecture and principles explained in detail (DNS + WEB + DHCP), to feel the charm of your goddess programmerConstruction of small architecture and principles explained in detail (DNS + WEB + DHCP), to feel the charm of your goddess programmerConstruction of small architecture and principles explained in detail (DNS + WEB + DHCP), to feel the charm of your goddess programmer
Construction of small architecture and principles explained in detail (DNS + WEB + DHCP), to feel the charm of your goddess programmerConstruction of small architecture and principles explained in detail (DNS + WEB + DHCP), to feel the charm of your goddess programmerConstruction of small architecture and principles explained in detail (DNS + WEB + DHCP), to feel the charm of your goddess programmer
13. We use different IP to use a different siteConstruction of small architecture and principles explained in detail (DNS + WEB + DHCP), to feel the charm of your goddess programmerConstruction of small architecture and principles explained in detail (DNS + WEB + DHCP), to feel the charm of your goddess programmerConstruction of small architecture and principles explained in detail (DNS + WEB + DHCP), to feel the charm of your goddess programmerConstruction of small architecture and principles explained in detail (DNS + WEB + DHCP), to feel the charm of your goddess programmer

14. We built a good site to build two folders
Construction of small architecture and principles explained in detail (DNS + WEB + DHCP), to feel the charm of your goddess programmer
Construction of small architecture and principles explained in detail (DNS + WEB + DHCP), to feel the charm of your goddess programmerConstruction of small architecture and principles explained in detail (DNS + WEB + DHCP), to feel the charm of your goddess programmerConstruction of small architecture and principles explained in detail (DNS + WEB + DHCP), to feel the charm of your goddess programmerConstruction of small architecture and principles explained in detail (DNS + WEB + DHCP), to feel the charm of your goddess programmer
15. Let's verify whether it can receive an IP address.Construction of small architecture and principles explained in detail (DNS + WEB + DHCP), to feel the charm of your goddess programmer

16. We used to establish the DHCP server Construction of small architecture and principles explained in detail (DNS + WEB + DHCP), to feel the charm of your goddess programmer
Construction of small architecture and principles explained in detail (DNS + WEB + DHCP), to feel the charm of your goddess programmerConstruction of small architecture and principles explained in detail (DNS + WEB + DHCP), to feel the charm of your goddess programmerConstruction of small architecture and principles explained in detail (DNS + WEB + DHCP), to feel the charm of your goddess programmerConstruction of small architecture and principles explained in detail (DNS + WEB + DHCP), to feel the charm of your goddess programmer! []
17. After we build is completed, which is set to DHCP server DNS Construction of small architecture and principles explained in detail (DNS + WEB + DHCP), to feel the charm of your goddess programmerConstruction of small architecture and principles explained in detail (DNS + WEB + DHCP), to feel the charm of your goddess programmer
Construction of small architecture and principles explained in detail (DNS + WEB + DHCP), to feel the charm of your goddess programmerConstruction of small architecture and principles explained in detail (DNS + WEB + DHCP), to feel the charm of your goddess programmerConstruction of small architecture and principles explained in detail (DNS + WEB + DHCP), to feel the charm of your goddess programmerConstruction of small architecture and principles explained in detail (DNS + WEB + DHCP), to feel the charm of your goddess programmer
Let the following URL to set the router cardConstruction of small architecture and principles explained in detail (DNS + WEB + DHCP), to feel the charm of your goddess programmer

DNS you've done is added directly on the line, it will automatically parse Construction of small architecture and principles explained in detail (DNS + WEB + DHCP), to feel the charm of your goddess programmer
Construction of small architecture and principles explained in detail (DNS + WEB + DHCP), to feel the charm of your goddess programmerConstruction of small architecture and principles explained in detail (DNS + WEB + DHCP), to feel the charm of your goddess programmer
we will create good, let's go to the next step to test whether the client can connect to our serverConstruction of small architecture and principles explained in detail (DNS + WEB + DHCP), to feel the charm of your goddess programmerConstruction of small architecture and principles explained in detail (DNS + WEB + DHCP), to feel the charm of your goddess programmer
Construction of small architecture and principles explained in detail (DNS + WEB + DHCP), to feel the charm of your goddess programmer

OK These are our client reach the server, and our web site, network cards, DNS all right.
We finally good to try, if you can use domain names to the InternetConstruction of small architecture and principles explained in detail (DNS + WEB + DHCP), to feel the charm of your goddess programmer

That's all the contents of us.

Guess you like

Origin blog.51cto.com/14449524/2426123
Recommended