Reasonable configuration of DNS intranet access two errors

Source: Internet
Author: User
Tags domain domain name domain name server access

The author of the school through ADSL set up routes to share the Internet. The extranet gateway and DNS are 10.0.0.138, the external network port IP address is 10.0 0.1, and the subnet mask is 255.255.255.0. Self-built sites are placed on the server, on the server has been

IIS is installed and set up, and the "Default Web site" IP address points to 10.0.0.1.

In the default state, you can access the extranet, but you cannot access the intranet. If you set the workstation DNS to an internal Web site address (that is, the server IP address 10.0.0.1), you can access the intranet, but you cannot access the extranet. So how can all workstations have access to both the extranet and the intranet?

We know that DNS is a huge distributed database, it provides a domain through the domain name server information to achieve domain name resolution, the domain name server is responsible for the domain name conversion to IP address, so we only need to set up TCP/IP in the order of workstation DNS, you can easily solve this problem.

The local area network workstations are set to: IP address is 10.0.0.x, subnet mask is 255.255.255.0, Gateway is 10.0.0.138. Set the preferred DNS server to 10.0.0.1, set the alternate DNS server to 10.0.0.138, the "inside and outside" access principle, so that when the setup is complete, all workstations will have access to both the extranet and the intranet.



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.