man.nsupdate.html revision b68a2d272b958eb2c40cce59ee33e71c5f5f521b
0b748a60ec8ac13bf0844128652685dd8f598cf6trawick - Copyright (C) 2004-2014 Internet Systems Consortium, Inc. ("ISC")
0b748a60ec8ac13bf0844128652685dd8f598cf6trawick - Copyright (C) 2000-2003 Internet Software Consortium.
0b748a60ec8ac13bf0844128652685dd8f598cf6trawick - Permission to use, copy, modify, and/or distribute this software for any
0b748a60ec8ac13bf0844128652685dd8f598cf6trawick - purpose with or without fee is hereby granted, provided that the above
0b748a60ec8ac13bf0844128652685dd8f598cf6trawick - copyright notice and this permission notice appear in all copies.
0b748a60ec8ac13bf0844128652685dd8f598cf6trawick - THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
0b748a60ec8ac13bf0844128652685dd8f598cf6trawick - REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
0b748a60ec8ac13bf0844128652685dd8f598cf6trawick - AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
0b748a60ec8ac13bf0844128652685dd8f598cf6trawick - INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
0b748a60ec8ac13bf0844128652685dd8f598cf6trawick - LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
0b748a60ec8ac13bf0844128652685dd8f598cf6trawick - OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
0b748a60ec8ac13bf0844128652685dd8f598cf6trawick - PERFORMANCE OF THIS SOFTWARE.
0b748a60ec8ac13bf0844128652685dd8f598cf6trawick<!-- $Id$ -->
0b748a60ec8ac13bf0844128652685dd8f598cf6trawick<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
0b748a60ec8ac13bf0844128652685dd8f598cf6trawick<meta name="generator" content="DocBook XSL Stylesheets V1.71.1">
0b748a60ec8ac13bf0844128652685dd8f598cf6trawick<link rel="start" href="Bv9ARM.html" title="BIND 9 Administrator Reference Manual">
0b748a60ec8ac13bf0844128652685dd8f598cf6trawick<link rel="up" href="Bv9ARM.ch10.html" title="Manual pages">
0b748a60ec8ac13bf0844128652685dd8f598cf6trawick<link rel="prev" href="man.named-rrchecker.html" title="named-rrchecker">
0b748a60ec8ac13bf0844128652685dd8f598cf6trawick<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
0b748a60ec8ac13bf0844128652685dd8f598cf6trawick<tr><th colspan="3" align="center"><span class="application">nsupdate</span></th></tr>
0b748a60ec8ac13bf0844128652685dd8f598cf6trawick<a accesskey="p" href="man.named-rrchecker.html">Prev</a>�</td>
0b748a60ec8ac13bf0844128652685dd8f598cf6trawick<td width="20%" align="right">�<a accesskey="n" href="man.rndc.html">Next</a>
0b748a60ec8ac13bf0844128652685dd8f598cf6trawick<a name="man.nsupdate"></a><div class="titlepage"></div>
0b748a60ec8ac13bf0844128652685dd8f598cf6trawick<p><span class="application">nsupdate</span> — Dynamic DNS update utility</p>
0b748a60ec8ac13bf0844128652685dd8f598cf6trawick<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>] [<code class="option">-T</code>] [<code class="option">-P</code>] [<code class="option">-V</code>] [filename]</p></div>
0b748a60ec8ac13bf0844128652685dd8f598cf6trawick<p><span><strong class="command">nsupdate</strong></span>
0b748a60ec8ac13bf0844128652685dd8f598cf6trawick is used to submit Dynamic DNS Update requests as defined in RFC 2136
0b748a60ec8ac13bf0844128652685dd8f598cf6trawick to a name server.
0b748a60ec8ac13bf0844128652685dd8f598cf6trawick This allows resource records to be added or removed from a zone
0b748a60ec8ac13bf0844128652685dd8f598cf6trawick without manually editing the zone file.
0b748a60ec8ac13bf0844128652685dd8f598cf6trawick A single update request can contain requests to add or remove more than
0b748a60ec8ac13bf0844128652685dd8f598cf6trawick resource record.
0b748a60ec8ac13bf0844128652685dd8f598cf6trawick Zones that are under dynamic control via
0b748a60ec8ac13bf0844128652685dd8f598cf6trawick <span><strong class="command">nsupdate</strong></span>
0b748a60ec8ac13bf0844128652685dd8f598cf6trawick or a DHCP server should not be edited by hand.
0b748a60ec8ac13bf0844128652685dd8f598cf6trawick Manual edits could
0b748a60ec8ac13bf0844128652685dd8f598cf6trawick conflict with dynamic updates and cause data to be lost.
0b748a60ec8ac13bf0844128652685dd8f598cf6trawick The resource records that are dynamically added or removed with
0b748a60ec8ac13bf0844128652685dd8f598cf6trawick <span><strong class="command">nsupdate</strong></span>
0b748a60ec8ac13bf0844128652685dd8f598cf6trawick have to be in the same zone.
0b748a60ec8ac13bf0844128652685dd8f598cf6trawick Requests are sent to the zone's master server.
0b748a60ec8ac13bf0844128652685dd8f598cf6trawick This is identified by the MNAME field of the zone's SOA record.
0b748a60ec8ac13bf0844128652685dd8f598cf6trawick option makes
0b748a60ec8ac13bf0844128652685dd8f598cf6trawick <span><strong class="command">nsupdate</strong></span>
0b748a60ec8ac13bf0844128652685dd8f598cf6trawick operate in debug mode.
0b748a60ec8ac13bf0844128652685dd8f598cf6trawick This provides tracing information about the update requests that are
0b748a60ec8ac13bf0844128652685dd8f598cf6trawick made and the replies received from the name server.
0b748a60ec8ac13bf0844128652685dd8f598cf6trawick The <code class="option">-D</code> option makes <span><strong class="command">nsupdate</strong></span>
0b748a60ec8ac13bf0844128652685dd8f598cf6trawick report additional debugging information to <code class="option">-d</code>.
0b748a60ec8ac13bf0844128652685dd8f598cf6trawick The <code class="option">-L</code> option with an integer argument of zero or
0b748a60ec8ac13bf0844128652685dd8f598cf6trawick higher sets the logging debug level. If zero, logging is disabled.
0b748a60ec8ac13bf0844128652685dd8f598cf6trawick Transaction signatures can be used to authenticate the Dynamic
0b748a60ec8ac13bf0844128652685dd8f598cf6trawick DNS updates. These use the TSIG resource record type described
0b748a60ec8ac13bf0844128652685dd8f598cf6trawick in RFC 2845 or the SIG(0) record described in RFC 2535 and
0b748a60ec8ac13bf0844128652685dd8f598cf6trawick RFC 2931 or GSS-TSIG as described in RFC 3645. TSIG relies on
0b748a60ec8ac13bf0844128652685dd8f598cf6trawick a shared secret that should only be known to
0b748a60ec8ac13bf0844128652685dd8f598cf6trawick <span><strong class="command">nsupdate</strong></span> and the name server. Currently,
0b748a60ec8ac13bf0844128652685dd8f598cf6trawick the only supported encryption algorithm for TSIG is HMAC-MD5,
0b748a60ec8ac13bf0844128652685dd8f598cf6trawick which is defined in RFC 2104. Once other algorithms are
0b748a60ec8ac13bf0844128652685dd8f598cf6trawick defined for TSIG, applications will need to ensure they select
0b748a60ec8ac13bf0844128652685dd8f598cf6trawick the appropriate algorithm as well as the key when authenticating
0b748a60ec8ac13bf0844128652685dd8f598cf6trawick each other. For instance, suitable <span class="type">key</span> and
0b748a60ec8ac13bf0844128652685dd8f598cf6trawick <span class="type">server</span> statements would be added to
0b748a60ec8ac13bf0844128652685dd8f598cf6trawick <code class="filename">/etc/named.conf</code> so that the name server
0b748a60ec8ac13bf0844128652685dd8f598cf6trawick can associate the appropriate secret key and algorithm with
0b748a60ec8ac13bf0844128652685dd8f598cf6trawick the IP address of the client application that will be using
0b748a60ec8ac13bf0844128652685dd8f598cf6trawick TSIG authentication. SIG(0) uses public key cryptography.
0b748a60ec8ac13bf0844128652685dd8f598cf6trawick To use a SIG(0) key, the public key must be stored in a KEY
0b748a60ec8ac13bf0844128652685dd8f598cf6trawick record in a zone served by the name server.
0b748a60ec8ac13bf0844128652685dd8f598cf6trawick <span><strong class="command">nsupdate</strong></span> does not read
0b748a60ec8ac13bf0844128652685dd8f598cf6trawick GSS-TSIG uses Kerberos credentials. Standard GSS-TSIG mode
0b748a60ec8ac13bf0844128652685dd8f598cf6trawick is switched on with the <code class="option">-g</code> flag. A
[<span class="optional"><em class="parameter"><code>hmac:</code></em></span>]<em class="parameter"><code>keyname:secret.</code></em>
<em class="parameter"><code>keyname</code></em> <em class="parameter"><code>secret</code></em> pair.
<span><strong class="command">[<span class="optional">update</span>] del[<span class="optional">ete</span>]</strong></span>
> update delete oldhost.example.com A
> update add newhost.example.com 86400 A 172.16.1.1
> prereq nxdomain nickname.example.com