Link to home
Start Free TrialLog in
Avatar of Craig_Kiddoo
Craig_KiddooFlag for United States of America

asked on

Need help with DNS entry so internal network users get private IP instead of public

I have a network with 2 MS 2008 R2 servers.  Both are set up as DNS servers, with the records created when they were installed (I have not created any records for the server manually).  The DNS servers are set up with forwarders to several external DNS servers.

We have an Exchange 2010 server (one of the two servers mentioned above).  From outside of our network, no one has any difficulty accessing by typing in http://mail.company.com (I have set up the appropriate NAT translation in our firewall).

From inside the network, I want the computers to resolve to the private IP address rather than the public IP address that is used outside of our network.  All clients on the LAN are using the internal DNS servers to resolve addresses.  

I tried setting up a CNAME record mail.company.com.company.local that points to the exchange server IP address in DNS.

When I use nslookup and attach to either of the internal DNS servers, they report the private IP address of the server when I type in mail.company.com.  However, if I open a browser window and type the address, it can't find the page.  If I try to do a tracert, the public address is returned, not the private address that I get with nslookup.

This is probably simple, but I am a novice when it comes to DNS.  Any idea what I can do to make the internal computers resolve to the private IP instead of the Public?

Thanks in advance.
ASKER CERTIFIED SOLUTION
Avatar of Andrej Pirman
Andrej Pirman
Flag of Slovenia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Craig_Kiddoo

ASKER

Thanks very much...worked like a charm.  Had to add a couple more records, as the corporate web page is hosted on an external server.  Now company.com and www.company.com point to the external server and mail.company.com points to the local Exchange server.