Forward ports from DNS
I have Windows Server 2008 that is my primary DNS server, Exchange server, and AD. I know this isn't ideal - but moving on. My question is, can I configure DNS to forward specific ports to other machines on the network. I am hosting my website on a different server. All of my machines are behind a router. From the outside, port 80 is forwarded from my router to the correct machine - no problem. All machines in network are on the domain, so from within my network, mydomain.com resolves to the DNS server (which it needs to for obvious reasons).
July 11th, 2009 5:39am

Hello, Can you please explain the problem perfectly and let us know your goal to achielve in simple words.Thankshttp://technetfaqs.wordpress.com
Free Windows Admin Tool Kit Click here and download it now
July 11th, 2009 10:29am

I don't know how much simpler I can be. I want to forward requests from my DNS server to other machines on my network depending on the port that the request comes in on. How do I do that?
July 11th, 2009 4:39pm

You can do this from your router directly. Depends upon the router, what kind of router you have.Thankshttp://technetfaqs.wordpress.com
Free Windows Admin Tool Kit Click here and download it now
July 11th, 2009 4:51pm

Actually, if you had read my first post, I do that - but that's not the issue. Let me restate - within my network, mydomain.com resolves to my DNS server NOT MY ROUTER. It has to do this for the domain to function in-network. I need to be able to forward ports from my DNS server to other machines for particular services (like web hosting). Let me reiterate - from outside my network, everything works fine because traffic goes through the router and not my DNS server. It is only an issue for computers on the domain in my network.
July 11th, 2009 10:40pm

DNS does not forward anything. It is not a router. The problem really is that your internal clients use your local DNS, not a public DNS. You have to add a record to your local DNS so that requests for your domain name from a local client resolve to the IP of a local server. See this KB article on creating an alias or cname record. http://support.microsoft.com/kb/168322Bill
Free Windows Admin Tool Kit Click here and download it now
July 12th, 2009 4:51am

Thank you for your help. This seems to point me in the right direction. After adding the alias, what do I have to do to force an update so that the change is made effective? Edit: Afterperforming ipconfig /dnsflush - the problem appears to be resolved. Thanks for your help.
July 12th, 2009 8:45am

Hello,if i understand you correct you can not access the website from the internal domain. Then create an A record named www and point it to your internal server ip address.Best regards Meinolf Weber Disclaimer: This posting is provided "AS IS" with no warranties, and confers no rights.
Free Windows Admin Tool Kit Click here and download it now
July 12th, 2009 1:50pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics