Resolve hostname in local AND internet dns

Posted on 2012-08-15
Last Modified: 2012-08-16

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

Now we need to resolve one host of this domain (i.e. 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, i.e.

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

Thanks and regards
Question by:janwrage
    LVL 5

    Expert Comment

    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.
    LVL 82

    Accepted Solution

    Yes, that's possible.
    In DNS, create a new domain with the host name you want to resolve ("").
    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.
    LVL 1

    Author Closing Comment

    That works! Thank you very much.


    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Free book by J.Peter Bruzzese, Microsoft MVP

    Are you using Office 365? Trying to set up email signatures but you’re struggling with transport rules and connectors? Let renowned Microsoft MVP J.Peter Bruzzese show you how in this exclusive e-book on Office 365 email signatures. Better yet, it’s free!

    New Windows 7 Installations take days for Windows-Updates to show up and install. This can easily be fixed. I have finally decided to write an article because this seems to get asked several times a day lately. This Article and the Links apply to…
    This tutorial will give a an overview on how to deploy remote agents in Backup Exec 2012 to new servers. Click on the Backup Exec button in the upper left corner. From here, are global settings for the application such as connecting to a remote Back…
    To efficiently enable the rotation of USB drives for backups, storage pools need to be created. This way no matter which USB drive is installed, the backups will successfully write without any administrative intervention. Multiple USB devices need t…

    760 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    8 Experts available now in Live!

    Get 1:1 Help Now