Solved

Redirect Sub-Domain to external DNS server

Posted on 2014-11-26
4
926 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

Backup Your Microsoft Windows Server®

Backup all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Join & Write a Comment

The Need In an Active Directory enviroment, the PDC emulator provide time synchronization for the domain. This is important since Active Directory uses Kerberos for authentication.  By default, if the time difference between systems is off by more …
This is the first one of a series of articles I’ll be writing to address technical issues that are always referred to as network problems. The network boundaries have changed, therefore having an understanding of how each piece in the network  puzzl…
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…
This tutorial will walk an individual through setting the global and backup job media overwrite and protection periods in Backup Exec 2012. Log onto the Backup Exec Central Administration Server. Examine the services. If all or most of them are stop…

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

23 Experts available now in Live!

Get 1:1 Help Now