Make good use of DNS Intranet and Internet access

Source: Internet
Author: User

My school uses ADSL to set a route to share the internet. The Internet gateway and DNS are 10.0.0.138, the Internet port IP address is 10.0.0.1, And the subnet mask is 255.255.255.0. The self-built website is placed on the server. IIS has been installed and configured on the server. The "default website" ip address points to 10.0.0.1.

By default, you can access the Internet, but cannot access the Intranet. If you set the wks DNS to an internal website address (that is, the server IP address 10.0.0.1), you can access the Intranet, but cannot access the Internet. So how can we enable all the work stations to access both the Internet and the Intranet?

As we know, DNS is a huge distributed database, which provides a designated domain information through the Domain Name Server for domain name resolution. The Domain Name Server is responsible for converting the domain name to an IP address, therefore, we only need to pay attention to the sequence of wks DNS when setting TCP/IP, so that we can easily solve this problem.

Set the IP address to 10.0.0.x, subnet mask to 255.255.255.0, and gateway to 10.0.0.138. Set "preferred DNS server" to 10.0.0.1, and "backup DNS server" to 10.0.0.138, that is, the "first inside and then outside" access principle, all workstations can access both the Internet and the Intranet.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.