Go Back   TechArena Community > Technical Support > Computer Help > Windows Server > Windows Server Help
Become a Member!
Forgot your username/password?
Register Tags Active Topics RSS Search Mark Forums Read SiteMap

Tags: , , ,

Sponsored Links



Import DNS records from another zone

Windows Server Help


Reply
 
Thread Tools Search this Thread
  #1  
Old 18-03-2008
Zeno
 
Posts: n/a
Import DNS records from another zone

I have created a new DNZ zone called abc.com, now we are in the
process of migrating records from several different zones into the
abc.com zone.

Is there a way I can import the individual records from the various
different zones eg. xyz.com, fgc.com etc into the abc.com zone rather
than manually entering all the records into the new zone.

Are there any tools or scripts that can perform this.

Many thanks
Reply With Quote
  #2  
Old 18-03-2008
Bonno Bloksma
 
Posts: n/a
Re: Import DNS records from another zone

Hi Zone,

>I have created a new DNZ zone called abc.com, now we are in the
> process of migrating records from several different zones into the
> abc.com zone.


Is the new abc.com zone a AD integrated zone or is it a "regular" primary
zone on your server.
If it's AD integrated you need to import a zone file into the AD intergrated
zone. See http://www.simpledns.com/kb.aspx?kbid=1141 although I have *not*
checked this. I just googled for it. ;-)

> Is there a way I can import the individual records from the various
> different zones eg. xyz.com, fgc.com etc into the abc.com zone rather
> than manually entering all the records into the new zone.


If you have the zone files, they are simple text files and you can simply
edit them. A bit of copy paste and you are ready.

> Are there any tools or scripts that can perform this.


Notepad. ;-)

Bonno


Reply With Quote
  #3  
Old 19-03-2008
PaulO
 
Posts: n/a
Re: Import DNS records from another zone

A simple way to import the records is by using dnscmd in a batch file:

For example adding CNAME records:

dnscmd <target dns server> /recordadd abc.com %1 CNAME %2.abc.com.

Use the for command to cycle through an input list - maybe CSV separated.

"Bonno Bloksma" wrote:

> Hi Zone,
>
> >I have created a new DNZ zone called abc.com, now we are in the
> > process of migrating records from several different zones into the
> > abc.com zone.

>
> Is the new abc.com zone a AD integrated zone or is it a "regular" primary
> zone on your server.
> If it's AD integrated you need to import a zone file into the AD intergrated
> zone. See http://www.simpledns.com/kb.aspx?kbid=1141 although I have *not*
> checked this. I just googled for it. ;-)
>
> > Is there a way I can import the individual records from the various
> > different zones eg. xyz.com, fgc.com etc into the abc.com zone rather
> > than manually entering all the records into the new zone.

>
> If you have the zone files, they are simple text files and you can simply
> edit them. A bit of copy paste and you are ready.
>
> > Are there any tools or scripts that can perform this.

>
> Notepad. ;-)
>
> Bonno
>
>
>

Reply With Quote
Reply

  TechArena Community > Technical Support > Computer Help > Windows Server > Windows Server Help


Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "Import DNS records from another zone"
Thread Thread Starter Forum Replies Last Post
Zone Transfers vs Zone Replication Frank McElrath Windows Server Help 9 22-10-2010 12:27 AM
How to add DNS records aideo Small Business Server 3 23-09-2009 05:57 AM
SRV records JohnB Windows Server Help 5 23-11-2008 05:35 AM
Duplicate PTR records in reverse lookup zone TSAM Windows Server Help 4 13-11-2008 07:24 AM
import records Bad Beagle Windows Server Help 1 24-09-2008 12:32 AM


All times are GMT +5.5. The time now is 02:37 AM.