man.nsupdate.html revision 23967fcd6e214ac5194222a6b7f41fe869db4f9c
990d0e893f5b70e735cdf990af66e9ec6e91fa78Tinderbox User - Copyright (C) 2004-2011 Internet Systems Consortium, Inc. ("ISC")
75c0816e8295e180f4bc7f10db3d0d880383bc1cMark Andrews - Copyright (C) 2000-2003 Internet Software Consortium.
4a14ce5ba00ab7bc55c99ffdcf59c7a4ab902721Automatic Updater - Permission to use, copy, modify, and/or distribute this software for any
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein - purpose with or without fee is hereby granted, provided that the above
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein - copyright notice and this permission notice appear in all copies.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein - THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein - REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein - AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein - INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein - LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein - OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein - PERFORMANCE OF THIS SOFTWARE.
ea94d370123a5892f6c47a97f21d1b28d44bb168Tinderbox User<!-- $Id: man.nsupdate.html,v 1.136 2011/10/28 12:23:40 tbox Exp $ -->
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
e21a2904f02a03fa06b6db04d348f65fe9c67b2bMark Andrews<meta name="generator" content="DocBook XSL Stylesheets V1.71.1">
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<link rel="start" href="Bv9ARM.html" title="BIND 9 Administrator Reference Manual">
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<link rel="up" href="Bv9ARM.ch10.html" title="Manual pages">
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<link rel="prev" href="man.named-journalprint.html" title="named-journalprint">
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<link rel="next" href="man.rndc.html" title="rndc">
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<tr><th colspan="3" align="center"><span class="application">nsupdate</span></th></tr>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<a accesskey="p" href="man.named-journalprint.html">Prev</a>�</td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<td width="20%" align="right">�<a accesskey="n" href="man.rndc.html">Next</a>
ea94d370123a5892f6c47a97f21d1b28d44bb168Tinderbox User<a name="man.nsupdate"></a><div class="titlepage"></div>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<p><span class="application">nsupdate</span> — Dynamic DNS update utility</p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<div class="cmdsynopsis"><p><code class="command">nsupdate</code> [<code class="option">-d</code>] [<code class="option">-D</code>] [[<code class="option">-g</code>] | [<code class="option">-o</code>] | [<code class="option">-l</code>] | [<code class="option">-y <em class="replaceable"><code>[<span class="optional">hmac:</span>]keyname:secret</code></em></code>] | [<code class="option">-k <em class="replaceable"><code>keyfile</code></em></code>]] [<code class="option">-t <em class="replaceable"><code>timeout</code></em></code>] [<code class="option">-u <em class="replaceable"><code>udptimeout</code></em></code>] [<code class="option">-r <em class="replaceable"><code>udpretries</code></em></code>] [<code class="option">-R <em class="replaceable"><code>randomdev</code></em></code>] [<code class="option">-v</code>] [filename]</p></div>
990d0e893f5b70e735cdf990af66e9ec6e91fa78Tinderbox User<p><span><strong class="command">nsupdate</strong></span>
990d0e893f5b70e735cdf990af66e9ec6e91fa78Tinderbox User is used to submit Dynamic DNS Update requests as defined in RFC 2136
990d0e893f5b70e735cdf990af66e9ec6e91fa78Tinderbox User to a name server.
990d0e893f5b70e735cdf990af66e9ec6e91fa78Tinderbox User This allows resource records to be added or removed from a zone
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein without manually editing the zone file.
990d0e893f5b70e735cdf990af66e9ec6e91fa78Tinderbox User A single update request can contain requests to add or remove more than
990d0e893f5b70e735cdf990af66e9ec6e91fa78Tinderbox User resource record.
990d0e893f5b70e735cdf990af66e9ec6e91fa78Tinderbox User Zones that are under dynamic control via
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <span><strong class="command">nsupdate</strong></span>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein or a DHCP server should not be edited by hand.
71c66a876ecca77923638d3f94cc0783152b2f03Mark Andrews Manual edits could
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein conflict with dynamic updates and cause data to be lost.
990d0e893f5b70e735cdf990af66e9ec6e91fa78Tinderbox User The resource records that are dynamically added or removed with
990d0e893f5b70e735cdf990af66e9ec6e91fa78Tinderbox User <span><strong class="command">nsupdate</strong></span>
990d0e893f5b70e735cdf990af66e9ec6e91fa78Tinderbox User have to be in the same zone.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein Requests are sent to the zone's master server.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein This is identified by the MNAME field of the zone's SOA record.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <span><strong class="command">nsupdate</strong></span>
990d0e893f5b70e735cdf990af66e9ec6e91fa78Tinderbox User operate in debug mode.
990d0e893f5b70e735cdf990af66e9ec6e91fa78Tinderbox User This provides tracing information about the update requests that are
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein made and the replies received from the name server.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein The <code class="option">-D</code> option makes <span><strong class="command">nsupdate</strong></span>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein report additional debugging information to <code class="option">-d</code>.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein The <code class="option">-L</code> option with an integer argument of zero or
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein higher sets the logging debug level. If zero, logging is disabled.
990d0e893f5b70e735cdf990af66e9ec6e91fa78Tinderbox User Transaction signatures can be used to authenticate the Dynamic
990d0e893f5b70e735cdf990af66e9ec6e91fa78Tinderbox User DNS updates. These use the TSIG resource record type described
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein in RFC 2845 or the SIG(0) record described in RFC 2535 and
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein RFC 2931 or GSS-TSIG as described in RFC 3645. TSIG relies on
990d0e893f5b70e735cdf990af66e9ec6e91fa78Tinderbox User a shared secret that should only be known to
990d0e893f5b70e735cdf990af66e9ec6e91fa78Tinderbox User <span><strong class="command">nsupdate</strong></span> and the name server. Currently,
990d0e893f5b70e735cdf990af66e9ec6e91fa78Tinderbox User the only supported encryption algorithm for TSIG is HMAC-MD5,
990d0e893f5b70e735cdf990af66e9ec6e91fa78Tinderbox User which is defined in RFC 2104. Once other algorithms are
990d0e893f5b70e735cdf990af66e9ec6e91fa78Tinderbox User defined for TSIG, applications will need to ensure they select
990d0e893f5b70e735cdf990af66e9ec6e91fa78Tinderbox User the appropriate algorithm as well as the key when authenticating
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein each other. For instance, suitable <span class="type">key</span> and
990d0e893f5b70e735cdf990af66e9ec6e91fa78Tinderbox User <span class="type">server</span> statements would be added to
990d0e893f5b70e735cdf990af66e9ec6e91fa78Tinderbox User <code class="filename">/etc/named.conf</code> so that the name server
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein can associate the appropriate secret key and algorithm with
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein the IP address of the client application that will be using
990d0e893f5b70e735cdf990af66e9ec6e91fa78Tinderbox User TSIG authentication. SIG(0) uses public key cryptography.
990d0e893f5b70e735cdf990af66e9ec6e91fa78Tinderbox User To use a SIG(0) key, the public key must be stored in a KEY
990d0e893f5b70e735cdf990af66e9ec6e91fa78Tinderbox User record in a zone served by the name server.
44d0f0256fbdce130a18655023c3b06bacacbd61Automatic Updater <span><strong class="command">nsupdate</strong></span> does not read
6f64d4ab8e68f9b2333bcbfc755396d29a4a9d7cAutomatic Updater <code class="filename">/etc/named.conf</code>.
b6b8f8a0362da8c749021c4b6376cfb96047912bTinderbox User GSS-TSIG uses Kerberos credentials. Standard GSS-TSIG mode
b6b8f8a0362da8c749021c4b6376cfb96047912bTinderbox User is switched on with the <code class="option">-g</code> flag. A
b6b8f8a0362da8c749021c4b6376cfb96047912bTinderbox User non-standards-compliant variant of GSS-TSIG used by Windows
b6b8f8a0362da8c749021c4b6376cfb96047912bTinderbox User 2000 can be switched on with the <code class="option">-o</code> flag.
b6b8f8a0362da8c749021c4b6376cfb96047912bTinderbox User<p><span><strong class="command">nsupdate</strong></span>
b6b8f8a0362da8c749021c4b6376cfb96047912bTinderbox User uses the <code class="option">-y</code> or <code class="option">-k</code> option
b6b8f8a0362da8c749021c4b6376cfb96047912bTinderbox User to provide the shared secret needed to generate a TSIG record
b6b8f8a0362da8c749021c4b6376cfb96047912bTinderbox User for authenticating Dynamic DNS update requests, default type
b6b8f8a0362da8c749021c4b6376cfb96047912bTinderbox User HMAC-MD5. These options are mutually exclusive.
6f64d4ab8e68f9b2333bcbfc755396d29a4a9d7cAutomatic Updater When the <code class="option">-y</code> option is used, a signature is
44d0f0256fbdce130a18655023c3b06bacacbd61Automatic Updater generated from
44d0f0256fbdce130a18655023c3b06bacacbd61Automatic Updater [<span class="optional"><em class="parameter"><code>hmac:</code></em></span>]<em class="parameter"><code>keyname:secret.</code></em>
b6b8f8a0362da8c749021c4b6376cfb96047912bTinderbox User <em class="parameter"><code>keyname</code></em> is the name of the key, and
b6b8f8a0362da8c749021c4b6376cfb96047912bTinderbox User <em class="parameter"><code>secret</code></em> is the base64 encoded shared secret.
bbbf2e27d3a981163dab139497d6b2dc85449db0Tinderbox User Use of the <code class="option">-y</code> option is discouraged because the
bbbf2e27d3a981163dab139497d6b2dc85449db0Tinderbox User shared secret is supplied as a command line argument in clear text.
bbbf2e27d3a981163dab139497d6b2dc85449db0Tinderbox User This may be visible in the output from
b6b8f8a0362da8c749021c4b6376cfb96047912bTinderbox User <span class="citerefentry"><span class="refentrytitle">ps</span>(1)</span>
b6b8f8a0362da8c749021c4b6376cfb96047912bTinderbox User or in a history file maintained by the user's shell.
b6b8f8a0362da8c749021c4b6376cfb96047912bTinderbox User <code class="option">-k</code> option, <span><strong class="command">nsupdate</strong></span> reads
b6b8f8a0362da8c749021c4b6376cfb96047912bTinderbox User the shared secret from the file <em class="parameter"><code>keyfile</code></em>.
44d0f0256fbdce130a18655023c3b06bacacbd61Automatic Updater Keyfiles may be in two formats: a single file containing
bcf15a19ae0efa72a22cdfb50666a3c6ce39eb9fTinderbox User a <code class="filename">named.conf</code>-format <span><strong class="command">key</strong></span>
44d0f0256fbdce130a18655023c3b06bacacbd61Automatic Updater statement, which may be generated automatically by
b6b8f8a0362da8c749021c4b6376cfb96047912bTinderbox User <span><strong class="command">ddns-confgen</strong></span>, or a pair of files whose names are
b6b8f8a0362da8c749021c4b6376cfb96047912bTinderbox User of the format <code class="filename">K{name}.+157.+{random}.key</code> and
bcf15a19ae0efa72a22cdfb50666a3c6ce39eb9fTinderbox User <code class="filename">K{name}.+157.+{random}.private</code>, which can be
990d0e893f5b70e735cdf990af66e9ec6e91fa78Tinderbox User generated by <span><strong class="command">dnssec-keygen</strong></span>.
bcf15a19ae0efa72a22cdfb50666a3c6ce39eb9fTinderbox User The <code class="option">-k</code> may also be used to specify a SIG(0) key used
990d0e893f5b70e735cdf990af66e9ec6e91fa78Tinderbox User to authenticate Dynamic DNS update requests. In this case, the key
990d0e893f5b70e735cdf990af66e9ec6e91fa78Tinderbox User specified is not an HMAC-MD5 key.
71c66a876ecca77923638d3f94cc0783152b2f03Mark Andrews <span><strong class="command">nsupdate</strong></span> can be run in a local-host only mode
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein using the <code class="option">-l</code> flag. This sets the server address to
990d0e893f5b70e735cdf990af66e9ec6e91fa78Tinderbox User localhost (disabling the <span><strong class="command">server</strong></span> so that the server
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein address cannot be overridden). Connections to the local server will
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein use a TSIG key found in <code class="filename">/var/run/named/session.key</code>,
71c66a876ecca77923638d3f94cc0783152b2f03Mark Andrews which is automatically generated by <span><strong class="command">named</strong></span> if any
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein local master zone has set <span><strong class="command">update-policy</strong></span> to
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <span><strong class="command">local</strong></span>. The location of this key file can be
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein overridden with the <code class="option">-k</code> option.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein By default, <span><strong class="command">nsupdate</strong></span>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein uses UDP to send update requests to the name server unless they are too
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein large to fit in a UDP request in which case TCP will be used.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein option makes
990d0e893f5b70e735cdf990af66e9ec6e91fa78Tinderbox User <span><strong class="command">nsupdate</strong></span>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein use a TCP connection.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein This may be preferable when a batch of update requests is made.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein The <code class="option">-p</code> sets the default port number to use for
990d0e893f5b70e735cdf990af66e9ec6e91fa78Tinderbox User connections to a name server. The default is 53.
990d0e893f5b70e735cdf990af66e9ec6e91fa78Tinderbox User The <code class="option">-t</code> option sets the maximum time an update request
990d0e893f5b70e735cdf990af66e9ec6e91fa78Tinderbox User take before it is aborted. The default is 300 seconds. Zero can be
990d0e893f5b70e735cdf990af66e9ec6e91fa78Tinderbox User to disable the timeout.
990d0e893f5b70e735cdf990af66e9ec6e91fa78Tinderbox User The <code class="option">-u</code> option sets the UDP retry interval. The default
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein 3 seconds. If zero, the interval will be computed from the timeout
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein and number of UDP retries.
0e1dece22e128f9dfa723316a35c4b3f06912381Tinderbox User The <code class="option">-r</code> option sets the number of UDP retries. The
44d0f0256fbdce130a18655023c3b06bacacbd61Automatic Updater 3. If zero, only one update request will be made.
0e1dece22e128f9dfa723316a35c4b3f06912381Tinderbox User The <code class="option">-R <em class="replaceable"><code>randomdev</code></em></code> option
44d0f0256fbdce130a18655023c3b06bacacbd61Automatic Updater specifies a source of randomness. If the operating system
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein does not provide a <code class="filename">/dev/random</code> or
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein equivalent device, the default source of randomness is keyboard
0e1dece22e128f9dfa723316a35c4b3f06912381Tinderbox User input. <code class="filename">randomdev</code> specifies the name of
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein a character device or file containing random data to be used
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein instead of the default. The special value
0e1dece22e128f9dfa723316a35c4b3f06912381Tinderbox User <code class="filename">keyboard</code> indicates that keyboard input
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein should be used. This option may be specified multiple times.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<p><span><strong class="command">nsupdate</strong></span>
0e1dece22e128f9dfa723316a35c4b3f06912381Tinderbox User reads input from
0e1dece22e128f9dfa723316a35c4b3f06912381Tinderbox User <em class="parameter"><code>filename</code></em>
0e1dece22e128f9dfa723316a35c4b3f06912381Tinderbox User or standard input.
7208386cd37a2092c70eddf80cf29519b16c4c80Mark Andrews Each command is supplied on exactly one line of input.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein Some commands are for administrative purposes.
507151045be68c671ffd4e2f37e17cdfa0376fc4Automatic Updater The others are either update instructions or prerequisite checks on the
507151045be68c671ffd4e2f37e17cdfa0376fc4Automatic Updater contents of the zone.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein These checks set conditions that some name or set of
71c66a876ecca77923638d3f94cc0783152b2f03Mark Andrews resource records (RRset) either exists or is absent from the zone.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein These conditions must be met if the entire update request is to succeed.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein Updates will be rejected if the tests for the prerequisite conditions
0e1dece22e128f9dfa723316a35c4b3f06912381Tinderbox User Every update request consists of zero or more prerequisites
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein and zero or more updates.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein This allows a suitably authenticated update request to proceed if some
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein specified resource records are present or missing from the zone.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein A blank input line (or the <span><strong class="command">send</strong></span> command)
0e1dece22e128f9dfa723316a35c4b3f06912381Tinderbox User accumulated commands to be sent as one Dynamic DNS update request to the
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein The command formats and their meaning are as follows:
71c66a876ecca77923638d3f94cc0783152b2f03Mark Andrews <span><strong class="command">server</strong></span>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein Sends all dynamic update requests to the name server
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <em class="parameter"><code>servername</code></em>.
0e1dece22e128f9dfa723316a35c4b3f06912381Tinderbox User When no server statement is provided,
44d0f0256fbdce130a18655023c3b06bacacbd61Automatic Updater <span><strong class="command">nsupdate</strong></span>
44d0f0256fbdce130a18655023c3b06bacacbd61Automatic Updater will send updates to the master server of the correct zone.
44d0f0256fbdce130a18655023c3b06bacacbd61Automatic Updater The MNAME field of that zone's SOA record will identify the
b6b8f8a0362da8c749021c4b6376cfb96047912bTinderbox User server for that zone.
b6b8f8a0362da8c749021c4b6376cfb96047912bTinderbox User is the port number on
b6b8f8a0362da8c749021c4b6376cfb96047912bTinderbox User <em class="parameter"><code>servername</code></em>
b6b8f8a0362da8c749021c4b6376cfb96047912bTinderbox User where the dynamic update requests get sent.
b6b8f8a0362da8c749021c4b6376cfb96047912bTinderbox User If no port number is specified, the default DNS port number of
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews <span><strong class="command">local</strong></span>
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews Sends all dynamic update requests using the local
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews <em class="parameter"><code>address</code></em>.
6d382c9fcec316a84a237779fb64bb471b6f9d43Tinderbox User When no local statement is provided,
6d382c9fcec316a84a237779fb64bb471b6f9d43Tinderbox User <span><strong class="command">nsupdate</strong></span>
f9aef05653eeb454c489d5bd2bde6daab774ad4aTinderbox User will send updates using an address and port chosen by the
f9aef05653eeb454c489d5bd2bde6daab774ad4aTinderbox User can additionally be used to make requests come from a specific
f9aef05653eeb454c489d5bd2bde6daab774ad4aTinderbox User If no port number is specified, the system will assign one.
922312472e2e05ebc64993d465999c5351b83036Automatic Updater <span><strong class="command">zone</strong></span>
28b3569d6248168e6c00caab951521cc8141a49dAutomatic Updater Specifies that all updates are to be made to the zone
28b3569d6248168e6c00caab951521cc8141a49dAutomatic Updater <em class="parameter"><code>zonename</code></em>.
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews statement is provided,
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews <span><strong class="command">nsupdate</strong></span>
2cbb4ab75757fbb656997a82c14ca07db37d481aAutomatic Updater will attempt determine the correct zone to update based on the
2cbb4ab75757fbb656997a82c14ca07db37d481aAutomatic Updater rest of the input.
0a7ed88633a680bb881868b75ded4d09a7bbbc50Automatic Updater <span><strong class="command">class</strong></span>
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews Specify the default class.
c3dc968140ab7f04795acc7835e4e89ccb0c0a27Tinderbox User If no <em class="parameter"><code>class</code></em> is specified, the
c3dc968140ab7f04795acc7835e4e89ccb0c0a27Tinderbox User default class is
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews <span><strong class="command">ttl</strong></span>
71c66a876ecca77923638d3f94cc0783152b2f03Mark Andrews Specify the default time to live for records to be added.
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews The value <em class="parameter"><code>none</code></em> will clear the default
e2e4d321999340802f77adaacd19c797d04b4b95Automatic Updater <span><strong class="command">key</strong></span>
0c6ada0a814f3c5417daa1654129bc2af56ed504Automatic Updater Specifies that all updates are to be TSIG-signed using the
0c6ada0a814f3c5417daa1654129bc2af56ed504Automatic Updater <em class="parameter"><code>keyname</code></em> <em class="parameter"><code>keysecret</code></em> pair.
71c66a876ecca77923638d3f94cc0783152b2f03Mark Andrews The <span><strong class="command">key</strong></span> command
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews overrides any key specified on the command line via
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews <code class="option">-y</code> or <code class="option">-k</code>.
9b469e3c59015b1a4899c9d8395168126fe094fdAutomatic Updater <span><strong class="command">gsstsig</strong></span>
9b469e3c59015b1a4899c9d8395168126fe094fdAutomatic Updater Use GSS-TSIG to sign the updated. This is equivalent to
9b469e3c59015b1a4899c9d8395168126fe094fdAutomatic Updater specifying <code class="option">-g</code> on the commandline.
e2e4d321999340802f77adaacd19c797d04b4b95Automatic Updater <span><strong class="command">oldgsstsig</strong></span>
e2e4d321999340802f77adaacd19c797d04b4b95Automatic Updater Use the Windows 2000 version of GSS-TSIG to sign the updated.
e2e4d321999340802f77adaacd19c797d04b4b95Automatic Updater This is equivalent to specifying <code class="option">-o</code> on the
fdd80e9a55c70b36a3bf3e409b86897301c44ff8Automatic Updater <span><strong class="command">realm</strong></span>
e2e4d321999340802f77adaacd19c797d04b4b95Automatic Updater {[<span class="optional">realm_name</span>]}
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein When using GSS-TSIG use <em class="parameter"><code>realm_name</code></em> rather
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein than the default realm in <code class="filename">krb5.conf</code>. If no
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein realm is specified the saved realm is cleared.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <span><strong class="command">prereq nxdomain</strong></span>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein {domain-name}
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein Requires that no resource record of any type exists with name
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <em class="parameter"><code>domain-name</code></em>.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <span><strong class="command">prereq yxdomain</strong></span>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein {domain-name}
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein Requires that
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <em class="parameter"><code>domain-name</code></em>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein exists (has as at least one resource record, of any type).
> update delete oldhost.example.com A
> update add newhost.example.com 86400 A 172.16.1.1
> prereq nxdomain nickname.example.com