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
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
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
>
>
>