Solved

Redirect Sub-Domain to external DNS server

Posted on 2014-11-26
4
1,201 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

Migrating Your Company's PCs

To keep pace with competitors, businesses must keep employees productive, and that means providing them with the latest technology. This document provides the tips and tricks you need to help you migrate an outdated PC fleet to new desktops, laptops, and tablets.

Question has a verified solution.

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

OfficeMate Freezes on login or does not load after login credentials are input.
The recent Microsoft changes on update philosophy for Windows pre-10 and their impact on existing WSUS implementations.
This tutorial will walk an individual through locating and launching the BEUtility application to properly change the service account username and\or password in situation where it may be necessary or where the password has been inadvertently change…
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…

705 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