Cisco Cisco Prime Network Registrar 8.1 Technical References

Page of 316
DeleteDomainResourceRecord 
Cisco Prime Network Registrar IPAM 8.1.1 CLI and API Guide 
     91 
DeleteDomainResourceRecord 
Overview 
The 
DeleteDomainResourceRecord
 CLI allows the user to delete DNS resource 
records for a DNS domain from Cisco Prime Network Registrar IPAM. 
Usage 
Direct 
$INCHOME/jre/bin/java –cp $CLASSPATH 
com.diamondip.ipcontrol.cli.DeleteDomainResourceRecordCLI –u <adminId> 
 -p <admin password> -f <delete filename> [-r <rejects file>] [-e <error messages>] [-?] 
Via command script (Unix) 
$INCHOME/etc/cli/DeleteDomainResourceRecord.sh –u <adminId> -p <admin password>  
-f <delete filename> [-r <rejects file>] [-e <error messages>] [-?] 
Via command script (Windows) from the %INCHOME%/etc/cli directory 
DeleteDomainResourceRecord.cmd –u <adminId> -p <admin password> -f <delete filename>  
[-r <rejects file>] [-e <error messages>] [-?] 
Parameters 
Parameter 
Required 
Description 
-u <userId> 
Yes 
User Id 
-p <pwd> 
Yes 
Password 
-? 
No 
Print help 
-f <delete filename> 
Yes 
The name of the CSV file describing records to be deleted.  See below 
for the required file format. 
-r <rejects file> 
No 
The name of the file that rejected (non-deleted) records will be placed 
in. 
-e <error messages> 
No 
The name of the file that error messages will be reported in. 
Example 
This example deletes resource records described in the 
delresourcerecs.csv file, places into the 
delresourcerecs.reject file any records that could not be deleted, and reports errors to the 
deleteerrors.txt file. 
$INCHOME/etc/cli/DeleteDomainResourceRecord.sh –u joe –p joepwd –f delresourcerecs.csv  
–r delresroucerecs.reject –e deleteerrors.txt