Solved

Redirect Sub-Domain to external DNS server

Posted on 2014-11-26
4
978 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
  • 2
  • 2
4 Comments
 
LVL 39

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 39

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

Is Your AD Toolbox Looking More Like a Toybox?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

Question has a verified solution.

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

I'm a big fan of Windows' offline folder caching and have used it on my laptops for over a decade.  One thing I don't like about it, however, is how difficult Microsoft has made it for the cache to be moved out of the Windows folder.  Here's how to …
This article offers some helpful and general tips for safe browsing and online shopping. It offers simple and manageable procedures that help to ensure the safety of one's personal information and the security of any devices.
This tutorial will walk an individual through the steps necessary to configure their installation of BackupExec 2012 to use network shared disk space. Verify that the path to the shared storage is valid and that data can be written to that location:…
This tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles to another domain controller. Log onto the new domain controller with a user account t…

911 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

24 Experts available now in Live!

Get 1:1 Help Now