Thanks, Deji.

 


From: Deji Akomolafe [mailto:[EMAIL PROTECTED]
Sent: Monday, July 12, 2004 8:15 PM
To: [EMAIL PROTECTED]
Subject: RE: [ActiveDir] dnscmd actin' funky

 

dnscmd DNSSERVERNAME /recordadd parent.local www1 A "2.5.4.3" will create an A record called "www1" with the IP address "2.5.4.3" under the parent.local zone

 

dnscmd DNSSERVERNAME /recordadd parent.local abc.child.parent.local A "2.5.4.3" will create an A record called "abc" with the IP address "2.5.4.3" under the child.parent.local zone. If child.parent.local does not exist, it will be forcefully created. [1]

 

dnscmd DNSServerName /ResetListenAddresses "10.200.80.32" will configure the server to listen only on the IP address "10.200.80.32"

 

The important thing to note with the above syntax is that all the IPs are in quotes.

 

[1] Thanks to William Stacey for "discovering" this.

 

 

Sincerely,

D�j� Ak�m�l�f�,
MCSE MCSA MCP+I

Microsoft MVP - Directory Services

www.readymaids.com - we know IT
www.akomolafe.com
Do you now realize that Today is the Tomorrow you were worried about Yesterday?  -anon

 


From: Noah Eiger
Sent: Mon 7/12/2004 7:53 PM
To: [EMAIL PROTECTED]
Subject: [ActiveDir] dnscmd actin' funky

Hi-

I am trying to write some simple batch files to automate setting up domain controllers. One batch runs a series of dnscmd commands: some work, some don’t.

For example,“dnscmd localhost /resetlistenaddresses 192.168.100.30” reports that is reset successfully but when I look in the GUI to confirm, I see that the address has been added to the list but the radio button is still set to All IP Addresses. Further, when I run the command to add an A record, it tells me that it worked, but alas, not A record in the zone.

Any thoughts on 1) using dnscmd or 2) some same scripts to set up DCs.

Thanks.

nme

 

------------------------------------------------------------------------------

Noah M. Eiger

EIS Consulting for

PRBO Conservation Science

510-717-5742

[EMAIL PROTECTED]

 

Reply via email to