Recently, the school to help deal with the campus network to visit the Internet site problems, here will be the experience to share with you, please master correct, play a role.
Campus Network has a server, mainly running campus sites and storage of educational resources for school teachers to use, extranet (Internet) hosted a server, the main operating campus website publicity, no education resources. School Export network bandwidth is limited, and there are a large number of remote education broadcast classroom playback, it is necessary to achieve intranet users to access intranet servers, extranet users access to extranet servers, but also intranet users can access all the resources of the extranet to enhance network access speed, reduce network access load.
Methods that can be implemented
Note: In order to facilitate understanding, assume that the school domain name is yourname.edu.cn, public network server IP is 61.121 22.4, intranet server IP 192.168.0.2.
1, set the domain name DNS a record. For the school domain name (YOURNAME.EDU.CN) Add a record www, and set it to public network server IP (61.121.22.4), add a record LAN, and set to intranet server IP (192.168.0.2).
2, use the jump page. In front of the homepage of the site to add a jump page, enter the domain name yourname.edu.cn display of the first page is a jump page, jump page Production "School Edition" and "Off-campus Edition" two super connections, according to the user selected to enter the connection specified server.
3, set up the intranet DNS server, add DNS resolution project, will YOURNAME.EDU.CN point to the intranet server (192.168.0.2), in the intranet of other computers set DNS for DNS server IP as the primary DNS server, The Backup server provides the DNS server for the ISP.
Pros and cons of implementing methods
1, set domain name DNS record method is simple and convenient, but the main problem is the domain name is different, need to remember two domain names, but also to distinguish the use of two domain names, the use of very inconvenient.
2, the use of the method of jump page simple, practical, easy to achieve, more than a level, from the SEO point of view, the promotion of the site is unfavorable, a visitor is willing to see the level of not more than 3 layers, the content of the browser has been reduced. Of course, this method can also choose to use the automatic recognition of the way to enter, automatic identification of the code is too rigid, fault-tolerant rate, easy to wrong, will be other local area network users to determine the campus intranet users, connected to the intranet server, resulting in Web site access failure, greatly reducing the site's continuous server capabilities.
3, set up the intranet DNS server, relatively perfect solution, all operations are completed in the management level, the trouble is network engineers, convenient is the user, the user only need to remember the school domain name YOURNAME.EDU.CN can access, so the DNS solution is the most complete.
The realization method of the concrete
1, we look at the school network topology structure, the entire network structure is quite clear and simple. Depending on our intent, you can choose to load the DNS service on the gateway server to resolve this problem, the server is installed with the WINDOWS2003 operating system, the system does not have DNS server enabled by default, and the DNS service is loaded into the server project by installing a new Windows build.
(Fig. The topological structure of campus intranet)