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.l
ocal 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.