nsupdate.docbook revision 0c27b3fe77ac1d5094ba3521e8142d9e7973133f
22be030b50b0aeab5c869507f34863ba1cec5bd3Tinderbox User - Copyright (C) 2000-2012, 2014-2016 Internet Systems Consortium, Inc. ("ISC")
ca67ebfe9eef0b8f04179f7e511a19e0337a5422Automatic Updater - This Source Code Form is subject to the terms of the Mozilla Public
582f8b9a8d170a80ef67475bddb8ad5cf7cd7cadMark Andrews - License, v. 2.0. If a copy of the MPL was not distributed with this
582f8b9a8d170a80ef67475bddb8ad5cf7cd7cadMark Andrews - file, You can obtain one at http://mozilla.org/MPL/2.0/.
582f8b9a8d170a80ef67475bddb8ad5cf7cd7cadMark Andrews<!-- Converted by db4-upgrade version 1.0 -->
bef75d63d74f58abc0f834ed271526672777ba29Automatic Updater<refentry xmlns="http://docbook.org/ns/docbook" version="5.0" xml:id="man.nsupdate">
582f8b9a8d170a80ef67475bddb8ad5cf7cd7cadMark Andrews <refentryinfo>
582f8b9a8d170a80ef67475bddb8ad5cf7cd7cadMark Andrews <corpauthor>Internet Systems Consortium, Inc.</corpauthor>
582f8b9a8d170a80ef67475bddb8ad5cf7cd7cadMark Andrews </refentryinfo>
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User <refentrytitle><application>nsupdate</application></refentrytitle>
582f8b9a8d170a80ef67475bddb8ad5cf7cd7cadMark Andrews <refname><application>nsupdate</application></refname>
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User <refpurpose>Dynamic DNS update utility</refpurpose>
582f8b9a8d170a80ef67475bddb8ad5cf7cd7cadMark Andrews </refnamediv>
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User <holder>Internet Systems Consortium, Inc. ("ISC")</holder>
582f8b9a8d170a80ef67475bddb8ad5cf7cd7cadMark Andrews </copyright>
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User <holder>Internet Software Consortium.</holder>
582f8b9a8d170a80ef67475bddb8ad5cf7cd7cadMark Andrews </copyright>
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User <refsynopsisdiv>
aaaf8d4f4873d21e55c3ffb4f656203d08339865Mark Andrews <arg choice="opt" rep="norepeat"><option>-d</option></arg>
aaaf8d4f4873d21e55c3ffb4f656203d08339865Mark Andrews <arg choice="opt" rep="norepeat"><option>-D</option></arg>
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User <arg choice="opt" rep="norepeat"><option>-L <replaceable class="parameter">level</replaceable></option></arg>
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User <arg choice="opt" rep="norepeat"><option>-g</option></arg>
481870b95fee976541f4fe455c0ef2dbeab3ec7aTinderbox User <arg choice="opt" rep="norepeat"><option>-o</option></arg>
481870b95fee976541f4fe455c0ef2dbeab3ec7aTinderbox User <arg choice="opt" rep="norepeat"><option>-l</option></arg>
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User <arg choice="opt" rep="norepeat"><option>-y <replaceable class="parameter"><optional>hmac:</optional>keyname:secret</replaceable></option></arg>
e839bf134fb138920d4833cf05cb8b8906787a8dAutomatic Updater <arg choice="opt" rep="norepeat"><option>-k <replaceable class="parameter">keyfile</replaceable></option></arg>
e839bf134fb138920d4833cf05cb8b8906787a8dAutomatic Updater <arg choice="opt" rep="norepeat"><option>-t <replaceable class="parameter">timeout</replaceable></option></arg>
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User <arg choice="opt" rep="norepeat"><option>-u <replaceable class="parameter">udptimeout</replaceable></option></arg>
0a7ed88633a680bb881868b75ded4d09a7bbbc50Automatic Updater <arg choice="opt" rep="norepeat"><option>-r <replaceable class="parameter">udpretries</replaceable></option></arg>
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User <arg choice="opt" rep="norepeat"><option>-R <replaceable class="parameter">randomdev</replaceable></option></arg>
0a7ed88633a680bb881868b75ded4d09a7bbbc50Automatic Updater <arg choice="opt" rep="norepeat"><option>-v</option></arg>
0a7ed88633a680bb881868b75ded4d09a7bbbc50Automatic Updater <arg choice="opt" rep="norepeat"><option>-T</option></arg>
0a7ed88633a680bb881868b75ded4d09a7bbbc50Automatic Updater <arg choice="opt" rep="norepeat"><option>-P</option></arg>
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User <arg choice="opt" rep="norepeat"><option>-V</option></arg>
0a7ed88633a680bb881868b75ded4d09a7bbbc50Automatic Updater <arg choice="opt" rep="norepeat">filename</arg>
795a316ec568b2470aab18b9481443966047652eAutomatic Updater </cmdsynopsis>
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User </refsynopsisdiv>
0a7ed88633a680bb881868b75ded4d09a7bbbc50Automatic Updater <refsection><info><title>DESCRIPTION</title></info>
795a316ec568b2470aab18b9481443966047652eAutomatic Updater is used to submit Dynamic DNS Update requests as defined in RFC 2136
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User to a name server.
795a316ec568b2470aab18b9481443966047652eAutomatic Updater This allows resource records to be added or removed from a zone
795a316ec568b2470aab18b9481443966047652eAutomatic Updater without manually editing the zone file.
2eeb74d1cf5355dd98f6d507a10086e16bb08c4bTinderbox User A single update request can contain requests to add or remove more than
795a316ec568b2470aab18b9481443966047652eAutomatic Updater resource record.
795a316ec568b2470aab18b9481443966047652eAutomatic Updater Zones that are under dynamic control via
0a7ed88633a680bb881868b75ded4d09a7bbbc50Automatic Updater or a DHCP server should not be edited by hand.
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User Manual edits could
6478b87fd23bcd3ab74c25b261021fe19a239c4fTinderbox User conflict with dynamic updates and cause data to be lost.
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User The resource records that are dynamically added or removed with
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User have to be in the same zone.
b272d38cc5d24f64c0647a9afb340c21c4b9aaf7Evan Hunt Requests are sent to the zone's master server.
b272d38cc5d24f64c0647a9afb340c21c4b9aaf7Evan Hunt This is identified by the MNAME field of the zone's SOA record.
481870b95fee976541f4fe455c0ef2dbeab3ec7aTinderbox User Transaction signatures can be used to authenticate the Dynamic
481870b95fee976541f4fe455c0ef2dbeab3ec7aTinderbox User DNS updates. These use the TSIG resource record type described
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User in RFC 2845 or the SIG(0) record described in RFC 2535 and
582f8b9a8d170a80ef67475bddb8ad5cf7cd7cadMark Andrews RFC 2931 or GSS-TSIG as described in RFC 3645.
0a7ed88633a680bb881868b75ded4d09a7bbbc50Automatic Updater TSIG relies on
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User a shared secret that should only be known to
582f8b9a8d170a80ef67475bddb8ad5cf7cd7cadMark Andrews <command>nsupdate</command> and the name server.
0a7ed88633a680bb881868b75ded4d09a7bbbc50Automatic Updater <type>server</type> statements would be added to
0a7ed88633a680bb881868b75ded4d09a7bbbc50Automatic Updater <filename>/etc/named.conf</filename> so that the name server
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User can associate the appropriate secret key and algorithm with
0a7ed88633a680bb881868b75ded4d09a7bbbc50Automatic Updater the IP address of the client application that will be using
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User TSIG authentication. You can use <command>ddns-confgen</command>
0a7ed88633a680bb881868b75ded4d09a7bbbc50Automatic Updater to generate suitable configuration fragments.
6f1205897504b8f50b1785975482c995888dd630Tinderbox User uses the <option>-y</option> or <option>-k</option> options
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User to provide the TSIG shared secret. These options are mutually exclusive.
6f1205897504b8f50b1785975482c995888dd630Tinderbox User SIG(0) uses public key cryptography.
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User To use a SIG(0) key, the public key must be stored in a KEY
6f1205897504b8f50b1785975482c995888dd630Tinderbox User record in a zone served by the name server.
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User GSS-TSIG uses Kerberos credentials. Standard GSS-TSIG mode
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User is switched on with the <option>-g</option> flag. A
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User non-standards-compliant variant of GSS-TSIG used by Windows
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User 2000 can be switched on with the <option>-o</option> flag.
582f8b9a8d170a80ef67475bddb8ad5cf7cd7cadMark Andrews </refsection>
582f8b9a8d170a80ef67475bddb8ad5cf7cd7cadMark Andrews <refsection><info><title>OPTIONS</title></info>
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User <variablelist>
582f8b9a8d170a80ef67475bddb8ad5cf7cd7cadMark Andrews <varlistentry>
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User Debug mode. This provides tracing information about the
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User update requests that are made and the replies received
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User from the name server.
582f8b9a8d170a80ef67475bddb8ad5cf7cd7cadMark Andrews </varlistentry>
922312472e2e05ebc64993d465999c5351b83036Automatic Updater <varlistentry>
582f8b9a8d170a80ef67475bddb8ad5cf7cd7cadMark Andrews Extra debug mode.
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User </varlistentry>
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User <varlistentry>
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User <term>-k <replaceable class="parameter">keyfile</replaceable></term>
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User The file containing the TSIG authentication key.
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User Keyfiles may be in two formats: a single file containing
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User a <filename>named.conf</filename>-format <command>key</command>
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User statement, which may be generated automatically by
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User <command>ddns-confgen</command>, or a pair of files whose names are
582f8b9a8d170a80ef67475bddb8ad5cf7cd7cadMark Andrews of the format <filename>K{name}.+157.+{random}.key</filename> and
582f8b9a8d170a80ef67475bddb8ad5cf7cd7cadMark Andrews <filename>K{name}.+157.+{random}.private</filename>, which can be
163af735c2082a024167be111d27bd5b5ff4f462Automatic Updater generated by <command>dnssec-keygen</command>.
582f8b9a8d170a80ef67475bddb8ad5cf7cd7cadMark Andrews The <option>-k</option> may also be used to specify a SIG(0) key used
582f8b9a8d170a80ef67475bddb8ad5cf7cd7cadMark Andrews to authenticate Dynamic DNS update requests. In this case, the key
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User specified is not an HMAC-MD5 key.
<term>-y <replaceable class="parameter"><optional>hmac:</optional>keyname:secret</replaceable></term>
> update delete oldhost.example.com A
> update add newhost.example.com 86400 A 172.16.1.1
> prereq nxdomain nickname.example.com