HP-UX Reference (11i v2 07/12) - 1 User Commands N-Z (vol 2)

n
nsupdate(1) nsupdate(1)
# nsupdate
> prereq nxdomain nickname.example.com
> update add nickname.example.com CNAME somehost.example.com
>
The prerequisite condition gets the name server to check that there are no resource records of any type for
nickname.example.com
. If there are, the update request fails. If this name does not exist, a
CNAME for it is added. This ensures that when the CNAME record is added, it cannot conflict with the
long-standing rule in RFC1034 that a name must not exist as any other record type if it exists as a
CNAME.
(The rule has been updated for DNSSEC in RFC2535 to allow CNAMEs to have SIG, KEY and NXT
records.)
WARNINGS
The TSIG key is redundantly stored in two separate files. This is a consequence of
nsupdate using the
DST library for its cryptographic operations, and may change in future.
FILES
/etc/resolv.conf Used to identify default name server.
Kname.+157.+random.key Base-64 encoding of HMAC-MD5 key created by dnssec-
keygen
.
Kname.+157.+random.private Base-64 encoding of HMAC-MD5 key created by dnssec-
keygen
.
SEE ALSO
named(1M), dnssec-keygen(1).
RFC2136, RFC2137, RFC2104, RFC2845, RFC1034, RFC2535.
108 Hewlett-Packard Company 3 HP-UX 11i Version 2: December 2007 Update