Open System Services Shell and Utilities Reference Manual (G06.27+, H06.04+)

Administrator Commands and Files dnssec_nsupdate(8)
update add domain_name ttl [ class ] type data...
Adds a new resource record with the specied ttl, class, and data.
show Displays the current message, containing all of the prerequisites and updates
specied since the last send.
send Sends the current message. This is equivalent to entering a blank line.
Lines beginning with a semicolon are comments, and are ignored.
EXAMPLES
The examples below show how nsupdate could be used to insert and delete resource records
from the example.com zone. Notice that the input in each example contains a trailing blank line
so that a group of commands are sent as one dynamic update request to the master name server
for example.com.
1.
# nsupdate
> update delete oldhost.example.com A
> update add newhost.example.com 86400 A 172.16.1.1
>
Any A records for oldhost.example.com are deleted and an A record for
newhost.example.com with IP address 172.16.1.1 is added. The newly-added record
has a one-day TTL (86400 seconds)
2.
# nsupdate
> prereq nxdomain nickname.example.com
> update add nickname.example.com 86400 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
is added, it cannot conict 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
Default resolver conguration le, used to identify default name server
Kname.+157.+random.key
base-64 encoding of HMAC-MD5 key created by the dnssec-keygen utility.
Kname.+157.+random.private
base-64 encoding of HMAC-MD5 key created by the dnssec-keygen utility.
RELATED INFORMATION
Commands: dnssec_named(8), named(8), dnssec-keygen(8).
Documents: RFC2136, RFC3007, RFC2104, RFC2845, RFC1034, RFC2535.
527188-004 Hewlett-Packard Company 1225