networking - Have Windows Server DNS redirect request to another DNS server on the same domain

07
2014-07
  • Maxim V. Pavlov

    I have purchased a domain name with a registrar and am using a registrars DNS.

    For example I have a wiki.mydomain.com in registrar's DNS manager. It is mapped to an external IP of our web server.

    On the other hand, I want users inside our network to be able to access the same wiki.mydomain.com via internal IP.

    So we've set up the DNS server inside of the local network and assigned a DNS zone mydomain.com to it.

    The problem is that local DNS only resolves those entries that I manually add to it. I don't want to have to manually sync the full list of subdomains on registrars DNS and local one.

    Is there a way to have local DNS server delegate requests to a primary DNS Zone that it is servicing to a designated DNS server externally to resolve?

  • Answers
    Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

    Related Question

    Windows cannot resolve custom domains when VPN is up?
  • dereli

    We have a DNS server on local network which has some custom TLDs such as "local, dummy" etc. The domains ending with these TLDs resolves to test servers like win2003test.dummy.

    The problem occures when a VPN connection is up. Windows tries to resolve these domain with another DNS server assigned by VPN server. This prevents dummy domain-to-ip translations.

    Is there an easy setting somewhere with which I can overcome this issue?

    PS: Remote gateway in VPN setting is disabled.


  • Related Answers
  • mrdenny

    I assume that you are talking about when clients VPN into the network?

    I see a few solutions, all of which are pretty easy.

    1. Setup the VPN to issue a DNS server which has the .dummy TLD in it.
    2. Setup the DNS server which the VPN issues to have stub records which point to the correct internal DNS servers for the .dummy TLD.
    3. Setup the DNS server which the VPN issues to be a secondary DNS server for the .dummy TLD.
  • harrymc

    It seems to me that what you're asking is how to configure a split DNS.

    See if this article helps:
    Configure a split DNS system on Windows Server 2003

    In a lesser way, see also:
    In a multi-DNS server environment, how do I configure the DNS servers to resolve both local and remote hosts?

  • djhowell

    You could enter them in the computer's C:\Windows\System32\drivers\etc\hosts file. Trying to modify the DNS server you're pointed to will only cause problems resolving hosts on the other side of the VPN.

  • Arjan

    Sorry, not an answer to your question, but just to be sure you know what you're doing:

    We have a DNS server on local network

    ...and:

    The problem occures when a VPN connection is up.

    I wonder about the "a" in "a VPN connection": is this a VPN connection to some third-party server?

    If yes, then:

    Remote gateway in VPN setting is disabled.

    So, you actually want your local network (and its local test servers) and that third-party VPN to be interconnected?

  • Giscard Biamby

    What you might try is an INCLUDE in your LMHOSTS file per Microsoft Knowledge base at http://support.microsoft.com/kb/102725.

    If the test servers change, update the LMHOSTS file on the central server and all of your clients will pull the change.