HP-UX Reference (11i v2 03/08) - 1 User Commands N-Z (vol 2)
n
nsupdate(1) nsupdate(1)
Any A records for oldhost.example.com
are deleted. An A record for
newhost.example.com
with IP address 172.16.1.1 is added. The newly-added record has a 1 day TTL (86400 seconds)
# 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.)
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
RFC2136 , RFC2137 , RFC2104 , RFC2845 , RFC1034 , RFC2535 , named(1M), dnssec-keygen(1).
BUGS
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.
Section 1−−648 Hewlett-Packard Company − 3 − HP-UX 11i Version 2: August 2003