Networking Forums

Networking Forums > Computer Networking > Windows Networking > Batch file that can set my AD-integrated zone to standard primary

Reply
Thread Tools Display Modes

Batch file that can set my AD-integrated zone to standard primary

 
 
Spin
Guest
Posts: n/a

 
      12-07-2005, 11:32 AM
Experts,

Running Windows Server 2003 SP1. For testing purposes, I am looking for a
batch file that can set my AD-integrated zone to standard primary, and then
another separate one to set it back to AD-integrated.

--
Spin


 
Reply With Quote
 
 
 
 
Jorge de Almeida Pinto
Guest
Posts: n/a

 
      12-07-2005, 04:12 PM
use DNSCMD...

dnscmd /ZoneResetType ?
Usage: DnsCmd <ServerName> /ZoneResetType <ZoneName> <Property> [<Options>]
<ZoneName> -- FQDN of zone
<Property>:
/DsPrimary
/Primary /file <filename>
/Secondary <MasterIPaddress> [<MasterIPaddress>] [/file <filename>]
/Stub <MasterIPaddress> [<MasterIPaddress>] [/file <filename>]
/DsStub <MasterIPaddress> [<MasterIPaddress>]
/Forwarder <MasterIPaddress> [<MasterIPaddress>] [/file <filename>]
/DsForwarder <MasterIPaddress> [<MasterIPaddress>] [/file <filename>]
<Options>:
/OverWrite_Mem -- overwrite DNS by data in DS
/OverWrite_Ds -- overwrite DS by data in DNS
/DirectoryPartition <FQDN> -- store the new zone in the directory
partition specified by the next argument

--
Cheers,
# Jorge de Almeida Pinto #
BLOG --> http://blogs.dirteam.com/blogs/jorge/default.aspx
-----------------------------------------------------------------------------
* This posting is provided "AS IS" with no warranties and confers no rights!
* Always test before implementing!
-----------------------------------------------------------------------------
"Spin" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Experts,
>
> Running Windows Server 2003 SP1. For testing purposes, I am looking for
> a batch file that can set my AD-integrated zone to standard primary, and
> then another separate one to set it back to AD-integrated.
>
> --
> Spin
>
>



 
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Run a batch file remotely Dane Windows Networking 3 08-03-2009 10:25 PM
AD integrated stub zone Johnsp Windows Networking 3 02-18-2009 08:02 PM
Rinominare File con data attraverso un file Batch Daytan Windows Networking 1 09-18-2007 05:40 PM
active directory integrated vs primary dns zones =?Utf-8?B?bW1p?= Windows Networking 1 02-22-2005 11:46 PM
NT Batch file doesn't run Carl Gross Windows Networking 5 10-08-2003 12:51 AM



1 2 3 4 5 6 7 8 9 10 11