Open System Services Shell and Utilities Reference Manual (G06.27+, H06.04+)
dnssec_nsupdate(8) OSS Shell and Ut
ilities Reference Manual
present or missing from the zone. A blank input line (or the send command) causes the accumu-
lated commands to be sent as one Dynamic DNS update request to the domain name server.
The command formats and their meaning are as follows:
server servername [ port ]
Sends all dynamic update requests to the name server servername. When no
server statement is provided, nsupdate sends updates to the master server of the
correct zone. The MNAME field of that zone’s SOA record identifies the master
server for that zone. port is the port number on servername where the dynamic
update requests get sent. If no port number is specified, the default DNS port
number of 53 is used.
local address [ port ]
Sends all dynamic update requests using the local address. When no local state-
ment is provided, nsupdate sends updates using an address and port chosen by
the system. port can additionally be used to make requests come from a specific
port. If no port number is specified, the system assigns one.
zone zonename Specifies that all updates are to be made to the zone zonename.Ifnozone state-
ment is provided, nsupdate attempts to determine the correct zone to update
based on the rest of the input.
key name secret
Specifies that all updates are to be TSIG signed using the keyname keysecret
pair. The key command overrides any key specified on the command line via -y
or -k.
prereq nxdomain domain_name
Requires that no resource record of any type exists with name domain_name.
prereq yxdomain domain_name
Requires that domain_name exists (has as at least one resource record, of any
type).
prereq nxrrset domain_name [ class ] type
Requires that no resource record exists of the specified type, class and
domain_name.Ifclass is omitted, IN (internet) is assumed.
prereq yxrrset domain_name [ class ] type
This requires that a resource record of the specified type, class and domain_name
must exist. If class is omitted, IN (internet) is assumed.
prereq yxrrset domain_name [ class ] type data...
The data from each set of prerequisites of this form sharing a common type,
class, and domain-name are combined to form a set of RRs. This set of RRs must
exactly match the set of RRs existing in the zone at the given type, class, and
domain_name. The data is written in the standard text representation of the
resource record’s RDATA.
update delete domain_name [ ttl ][class ][type [ data... ] ]
Deletes any resource records named domain_name.Iftype and data is provided,
only matching resource records are removed. The internet class is assumed if
class is not supplied. The ttl is ignored, and is only allowed for compatibility.
12−24 Hewlett-Packard Company 527188-004