Add / remove reverse lookup pointers
Top  Previous  Next


[Settings_Begin]
BatchSettings.Delimiter=;
BatchSettings.MarkerCol=5
//BatchSettings.Debug=Yes
SET Zone=1.168.192.in-addr.arpa
[Settings_End]

[Machines_Begin]
\\EDU8      NT PDC    
[Machines_End]

[Batch_Begin]
Data.Loop   
 DOS dnscmd %servername% /RecordAdd %Zone% %col1% PTR %col2%   
Data.Endloop   
[Batch_End]

[Undo_Batch_Begin]
Data.Loop   
 DOS dnscmd %servername% /RecordDelete %Zone% %col1% PTR /f   
Data.Endloop   
[Undo_Batch_End]

[Data_Begin]
10;testhost1.acme.com;;;;
20;testhost2.acme.com;;;;
30;testhost3.acme.com;;;;
[Data_End]