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.



Related Article

Alibaba Cloud 10 Year Anniversary

With You, We are Shaping a Digital World, 2009-2019

Learn more >

Apsara Conference 2019

The Rise of Data Intelligence, September 25th - 27th, Hangzhou, China

Learn more >

Alibaba Cloud Free Trial

Learn and experience the power of Alibaba Cloud with a free trial worth $300-1200 USD

Learn more >

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.