Solved

Redirect Sub-Domain to external DNS server

Posted on 2014-11-26
4
1,129 Views
Last Modified: 2014-12-03
Hi Guys,

Is it possible to redirect a sub-domain in Windows Server DNS to an external DNS server?

Scenario:

We have an internal DNS server on Windows Server 2008 R2.
Our domain name is domain.com

I need to redirect sub.domain.com to the ISP external DNS server as it is hosted externally, but the problem is that the public IP changes dynamically (external) for sub.domain.com  
Hence, by redirecting sub.domain.com to the ISP, they will update the IP for the record accordingly.

Is this possible?
0
Comment
Question by:Rupert Eghardt
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 40

Accepted Solution

by:
footech earned 500 total points
ID: 40467819
So, if there is a domain "sub.domain.com" that is hosted externally, you should be able to reference it in a couple ways.  You can either create a delegation or a stub zone.  An advantage of a stub zone is that it will update its list of name servers dynamically, whereas a delegation won't.

Here's the instructions for creating the delegation.
 - First look up the SOA for the domain on the internet.
nslookup -q=soa sub.domain.com 8.8.8.8
 - Make note of the entry for primary name server.

 - Then in the DNS Management console, in the zone domain.com create a new delegation, type in "sub" for the name of the delegated domain, and then for the name server put in the FQDN of the previously noted primary name server from the nslookup results.

For a stub zone, you would create the zone "sub.domain.com" and tell it to use the noted primary name server as the master server.  You would also create a delegation in the "domain.com" zone, but this time it would use your own server as the name server.
0
 

Author Comment

by:Rupert Eghardt
ID: 40478196
Thank you!  Delegating the "sub" domain is working 100% :-)

Is there a way to delegate the root of the domain to another DNS server, in other words, "sub" will point to a local IP on the network, while the root (all other permutations for the domain) will point to an external DNS server?
0
 
LVL 40

Expert Comment

by:footech
ID: 40478910
I'm not sure if I'm understanding your scenario.
If you don't want a DNS server to know anything about a domain, then don't set up the domain as a zone.  Information about the domain can still be resolved through forwarders or root hints if available.  For example:
- example.com is the public domain name used for ineternet presence
- corp.example.com is the AD domain
- on the internal DNS for the AD domain, there would be a zone for corp.example.com with all records.  So a query for server.corp.example.com would be resolved using these records.
- any queries for something like www.example.com would be resolved through recursion - the internal DNS doesn't have the zone set up so uses forwarders or root hints to try to resolve the name.
0
 

Author Comment

by:Rupert Eghardt
ID: 40478960
Thank you!

I deleted the domain.com from DNS and added a zone sub.domain.com
Domain.com is now being handled externally.
0

Featured Post

MS Dynamics Made Instantly Simpler

Make Your Microsoft Dynamics Investment Count  & Drastically Decrease Training Time by Providing Intuitive Step-By-Step WalkThru Tutorials.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

BIND is the most widely used Name Server. A Name Server is the one that translates a site name to it's IP address. There is a new bug in BIND (https://kb.isc.org/article/AA-01272), affecting all versions of BIND 9 from BIND 9.1.0 (inclusive) thro…
OfficeMate Freezes on login or does not load after login credentials are input.
This tutorial will walk an individual through configuring a drive on a Windows Server 2008 to perform shadow copies in order to quickly recover deleted files and folders. Click on Start and then select Computer to view the available drives on the se…
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …

726 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