Technical References
There are three ways to set attributes:
● create command. For example, to create a High-Availability (HA) DNS server pair, you
can specify cluster and IP addresses for the main and backup servers during creation:
nrcmd> ha-dns-pair ha-pair-11 create 192.168.50.1 192.168.60.1 main=localhost
backup=backup
● Use the set or enable command after creating the object. For example, you can set just the
cluster references to the main and backup server for the created HA DNS pair:
nrcmd> < b> ha-pair-1 set main=localhostt backup=backup
● Add attribute=value pairs at the end of the create command.
If you use both the positional value and the attribute=value pair for the same
attribute on the create command line, the attribute=value pair is the actual value
used (because it comes last).
In interactive mode, all the attributes appear. In batch mode, only those
attributes having values appear, and no default values appear. The display
in batch mode is less user-friendly, but is more easily parsable by a
program. These examples show how output compares in interactive and
batch modes, respectively:
nrcmd> zone example.com show
100 Ok
example.com. (primary):
checkpoint-interval =
checkpoint-min-interval =
defttl = 12h
dynamic = [default=true]
dynupdate-set =
expire = 7d
...