Cisco Cisco Prime Network Registrar 8.1 Technical References

Page of 316
DeleteZoneResourceRecord 
Cisco Prime Network Registrar IPAM 8.1.1 CLI and API Guide 
100 
DeleteZoneResourceRecord 
Overview 
The 
DeleteZoneResourceRecord
 CLI allows the user to delete DNS resource records 
for a zone from Cisco Prime Network Registrar IPAM. 
Usage 
Direct 
$INCHOME/jre/bin/java –cp $CLASSPATH 
com.diamondip.ipcontrol.cli.DeleteZoneResourceRecordCLI –u <adminId> -p <admin password> 
-f <import filename> [-r <rejects file>] [-e <error messages>] [-?] 
Via command script (Unix) 
$INCHOME/etc/cli/DeleteZoneResourceRecord.sh –u <adminId> -p <admin password>  
-f <import filename> [-r <rejects file>] [-e <error messages>] [-?] 
Via command script (Windows) from the %INCHOME%/etc/cli directory 
DeleteZoneResourceRecord.cmd –u <adminId> -p <admin password> -f <import filename>  
[-r <rejects file>] [-e <error messages>] [-?] 
Parameters 
Parameter 
Required 
Description 
-u <userId> 
Yes 
User Id 
-p <pwd> 
Yes 
Password 
-? 
No 
Print help 
-f <import 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 
importerrors.txt file. 
$INCHOME/etc/cli/DeleteZoneResourceRecord.sh –u joe –p joepwd –f delresourcerecs.csv  
–r delresroucerecs.reject –e importerrors.txt  
File Format 
Col 
Field 
Accepted Values 
Required 
Server 
The network service name of the DNS Server. 
Yes 
View 
The name of the view for this zone.  If supplied 
the view must exist.  If not specified, 'Default' will 
be used. 
Yes 
Zone 
The name of the zone, which is the top level 
domain name. 
Yes 
Owner 
The OWNER section of the resource record.  
Yes