Resolve hostname in local AND internet dns

Hi!

Imagine a dns-domain like microsoft.com. This domain has many entries (hosts etc...).

Now we need to resolve one host of this domain (i.e. download.microsoft.com) to a different (internal) address. To do this we could use the local hosts-file but thats not an option. so we've created the zone microsoft.dom in our local dns-server and added this particular host to it, pointing to an internal ip.

That work's, but then we cannot lookup any other host from microsoft.com, i.e. upload.microsoft.com.

Question: Is it possible using Windows DNS (W2k8 R2) to relocate one specific hostname in an existing dns-domain? So download.microsoft.com points to some internal ip and all other lookups are forwared to the internet-dns?

Thanks and regards
Jan
LVL 1
janwrageAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

peelersCommented:
I doubt you can do this from a DNS perspective, your server either has to be the authoritative source of the domain/subdomain or not.  

What you can do is redirect from a proxy perspective.  If you are running a firewall/proxy/web cache somewhere that internet traffic MUST route through, you could just create a redirect rule that looks for the URL/IP that you want and point it back inside.  

This of course would generate some additional load on your firewall/proxy/cache depending on how often the site gets hit, but it should accomplish what you want.
0
oBdACommented:
Yes, that's possible.
In DNS, create a new domain with the host name you want to resolve ("download.microsoft.com").
Then right-click the new domain, choose "New Host (A or AAAA)", leave the name field empty, and enter the internal IP address you want to resolve. This will end up in a "(same as parent folder)" entry that will resolve the domain (host) name.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
janwrageAuthor Commented:
That works! Thank you very much.

Regards
Jan
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows Server 2008

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.