[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 580
  • Last Modified:

Redirect DNS zone to another zone

Hi,

I would like to know (Server 2008 DNS Server) if I have a zone "abc.de" defined on my DNS server with a number of A, MX and CNAME records, if I can create another zone "abctoo.de" that basically should be an alias for the complete "abc.de" domain. So that I do not need to enter each record in both the abc.de and the abctoo.de zones once a record needs to be added.

Thanks
0
GSLBermuda
Asked:
GSLBermuda
  • 4
  • 2
2 Solutions
 
Justin OwensITIL Problem ManagerCommented:
You can do an export/import and modify the data between the two processes.  The command line is your friend in this.  Use DNSCMD to enumerate your DNS zone and export to a txt file.  You can then edit it and import it back in with the same command.

http://technet.microsoft.com/en-us/library/cc756116%28WS.10%29.aspx

Justin
0
 
GSLBermudaAuthor Commented:
Ok, that is a possible work around to my problem. Still, I am making changes to two zones zones. There is no way of pointing one to the other?
0
 
Justin OwensITIL Problem ManagerCommented:
So, you want the two zone to stay dynamically synchronized?  I am assuming that you want members of abc.de to type machine1.abctoo.de and get directed to machine1.abc.de instead.  Is that your goal?  Do you want it to work both ways?
0
Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

 
Darius GhassemCommented:
The problem is a zone record is part of that zone's namespace which makes the records only available to that DNS namespace.

http://www.windowsreference.com/windows-server-2008/how-to-export-dns-server-records-to-a-textcsv-file-in-windows-server-200820032000/

So, the zones would need to have the same name
0
 
GSLBermudaAuthor Commented:
DrUltima:
Yes, you got it. I would like requests for *.abctoo.de to resolve to *.abc.de
And NO it does not have to be both ways.
0
 
Justin OwensITIL Problem ManagerCommented:
dariusq is correct in that it just won't happen automatically.  Your best bet is to create a script to export, modify, and import and set it as a scheduled task.  That, unfortunately, is beyond my ability.

Justin
0
 
Justin OwensITIL Problem ManagerCommented:
If you need help with an export/modify/import script, you can open a "related Question" and add it to the the VBScript zone and PowerShell zone...
0

Featured Post

Vote for the Most Valuable Expert

It’s time to recognize experts that go above and beyond with helpful solutions and engagement on site. Choose from the top experts in the Hall of Fame or on the right rail of your favorite topic page. Look for the blue “Nominate” button on their profile to vote.

  • 4
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now