Technical References

Registry and Environment Variables
If you omit the general options, Network Registrar gets them from the Registry or environment
variables. If Network Registrar cannot find values for these parameters, it prompts you for them.
If you omit the cluster name on a system where Network Registrar servers are installed, the
nrcmd program assumes access to localhost and does not prompt you.
The environment variables that you can set that are recognized by the nrcmd program are
CNR_NAME for the name, CNR_PASSWORD for the password, and CNR_CLUSTER for the
cluster name.
Command Organization
The nrcmd commands specify a class of objects, which you can create, delete, or list. Each of
these objects in turn has attributes, which you can enable, disable, set, get, and unset, depending
on data type. These objects may also have common methods, which are specific to the type of
object, and that let you perform operations on groups of attributes.
When you use the nrcmd commands to configure Network Registrar, you manipulate classes and
command attributes.
Classes
When you use the nrcmd commands to configure Network Registrar, you manipulate classes of
objects, such as scopes, zones, and servers.
create--Creates an entry. If the entry already exists, this command returns an error.
delete--Removes an entry.
list--Displays all the objects of a given type, including all attributes.
listnames--Displays only the names of all objects of a given type.
show--Displays the values of all the attributes.
Attributes
enable--Enables a Boolean type of attribute.
disable--Disables a Boolean type of attribute.
set--Sets the value of an attribute.
get--Displays the value of an explicitly defined attribute.
unset--Makes an attribute have no value. You cannot unset required attributes.
Note You cannot use nrcmd to get the value of implicitly defined attributes, including implicitly
defined default values.