LAN Name Resolution different from Internet
I have a Windows Server 2003 acting as a DNS, and an Exchange Server 2003. My Internet connection is through a standard ADSL Router.My mail domain name - mail.company.com - has the correct internet MX records and this points to my router. The router has a Virtul Server setting which redirects packets to my Exchnge Server and everything works fine for any Internet traffic, OWA, ActiveSync etc.However from my LAN mail.company.com points to the router and the router doesnt redirect the packets to the Exchange Server, and in fact IE will open up the router configuration pages. This makes logical sense as my DNS has no entry for mail.company.com so it redirects the request to the Internet DNS which returns the IP Address of the router etc.I think that the solution is to add a DNS record to my LAN DNS pointing mail.company.com at the LAN IP Address of the Exchange Server, so any computers using this DNS, i.e. those on the LAN get the LAN IP Address of the Exchange Server and computers on the Internet get the IP Address of the router.However when I set up mail.company.com on my LAN DNS the addresses www.company.com, ftp.company.com etc, IP Addresses that need to remain pointing to the Internet IP Addresses all get lost.My question is therefore, what sort of DNS record do I need to add to my LAN DNS Server so that only mail.company.com is provided by the LAN DNS and www.company.comand *.company.com lookups are redirrected to the Internet DNS.
June 16th, 2009 1:08pm
Try setting this up as an CNAME record, just an alias that points to the real name of the sever. This should only point mail.company.com to your internal IP and the rest will still point to the internet IP.Scotty
Free Windows Admin Tool Kit Click here and download it now
June 16th, 2009 7:22pm
hi there, As scotty mentioned CNAME will do the job for you and make sure you point it to internal IP . sainath
windows driver development.
June 16th, 2009 7:45pm
Thanks for your help Scotty, but I'm afraid I dont understand.I have to put the CNAME into a ZONE, so presumably I have to create a ZONE called "company.com" to then put theCNAME "mail" into, but if I do this all my other name mappings for *.company.com are lost because the DNS doesnt forward them to the internet DNS.Where do I put this CNAME, forward lookup zone, reverse lookup zone, and then in what actual ZONE? Wht sort of ZONE should I create, if I need to?I'm sorry if I m being stupid. Could you give me more details of how to implement this.
Free Windows Admin Tool Kit Click here and download it now
June 16th, 2009 8:06pm
For the internal Domain, are you using the same structure as the external. What I mean is, my internal domain is mycompany.local with my external being company.com. This makes is more difficult for me to setup what you are proposing, i have not found a solution. If you are using the same domain internally as externally, then you should have little to no issues with setting up the CNAME record and pointing it to either the FQDN or IP of the target computer. This would want to be setup under the normal Forward Lookup Zone that you have configured for the domain.
Hope this helps.Scotty
June 16th, 2009 9:18pm
Yes but my company.com domain is all managed by external providers. I could map the few IP Addresss in on my local DNS, but I dont really want to because I have had situations before where locally the web site all looks ok, but externally (not using my DNS) it is mapping incorrectly and had problems with the external web sites because of this.I am just surprised that the LAN based Microsoft DNShasnt got some sort of setting to say, "yes this particular name "mail.company.com" I know theIP Address for but this other one that is in the same domain (company.com)I dont know so I had better refer that outside to the Internet like normal". In fact I'm not surprised, I am 95% confident that this can be done if I knew how, this must be so common, I feel everybody must have the sme problem.My internal domain is webbedsolutionslimited.local and my external which is managed by third parties is webbedsolutions.co.uk.Anyway, thanks for you help.
Free Windows Admin Tool Kit Click here and download it now
June 17th, 2009 1:18am
Hi,
It seems that your problem is more related to networking. If the problem continues, it is recommend you to get further support in the corresponding community so that you can get the most qualified pool of respondents. Thanks for your understanding.
For your convenience, I have list the related link as followed.
Platform Networking
http://social.technet.microsoft.com/Forums/en-US/winserverPN/threads
Best regards,
Vincent Hu
June 19th, 2009 10:09am
I just set up a new zone with thename mail.company.com and pointed it all at the mail server, and put anblank CNAME record in that. It comes up and says(same as parent folder) in the name and works fine.
Free Windows Admin Tool Kit Click here and download it now
June 24th, 2009 1:13pm


