nsupdate.html revision d4ef65050feac78554addf6e16a06c6e2e0bd331
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte<!--
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte - Copyright (C) 2001 Internet Software Consortium.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte -
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte - Permission to use, copy, modify, and distribute this software for any
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte - purpose with or without fee is hereby granted, provided that the above
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte - copyright notice and this permission notice appear in all copies.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte -
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte - THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte - DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte - IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte - INTERNET SOFTWARE CONSORTIUM BE LIABLE FOR ANY SPECIAL, DIRECT,
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte - INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte - FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte - NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte - WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte-->
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte<!-- $Id: nsupdate.html,v 1.3 2001/04/10 21:50:49 bwelling Exp $ -->
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte<HTML
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte><HEAD
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte><TITLE
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte>nsupdate</TITLE
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte><META
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteNAME="GENERATOR"
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteCONTENT="Modular DocBook HTML Stylesheet Version 1.61
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte"></HEAD
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte><BODY
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteCLASS="REFENTRY"
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteBGCOLOR="#FFFFFF"
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteTEXT="#000000"
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteLINK="#0000FF"
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteVLINK="#840084"
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteALINK="#0000FF"
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte><H1
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte><A
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteNAME="AEN1"
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte>nsupdate</A
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte></H1
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte><DIV
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteCLASS="REFNAMEDIV"
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte><A
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteNAME="AEN8"
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte></A
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte><H2
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte>Name</H2
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte>nsupdate&nbsp;--&nbsp;Dynamic DNS update utility</DIV
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte><DIV
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteCLASS="REFSYNOPSISDIV"
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte><A
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteNAME="AEN11"
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte></A
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte><H2
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte>Synopsis</H2
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte><P
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte><B
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteCLASS="COMMAND"
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte>nsupdate</B
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte> [<TT
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteCLASS="OPTION"
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte>-d</TT
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte>] [<TT
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteCLASS="OPTION"
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte>-y <TT
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteCLASS="REPLACEABLE"
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte><I
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte>keyname:secret</I
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte></TT
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte></TT
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte> | <TT
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteCLASS="OPTION"
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte>-k <TT
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteCLASS="REPLACEABLE"
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte><I
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte>keyfile</I
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte></TT
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte></TT
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte>] [<TT
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteCLASS="OPTION"
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte>-v</TT
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte>] [filename]</P
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte></DIV
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte><DIV
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteCLASS="REFSECT1"
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte><A
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteNAME="AEN26"
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte></A
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte><H2
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte>DESCRIPTION</H2
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte><P
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte><B
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteCLASS="COMMAND"
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte>nsupdate</B
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte>
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forteis used to submit Dynamic DNS Update requests as defined in RFC2136
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forteto a name server.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteThis allows resource records to be added or removed from a zone
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Fortewithout manually editing the zone file.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteA single update request can contain requests to add or remove more than one
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forteresource record.</P
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte><P
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte>Zones that are under dynamic control via
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte<B
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteCLASS="COMMAND"
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte>nsupdate</B
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte>
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forteor a DHCP server should not be edited by hand.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteManual edits could
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forteconflict with dynamic updates and cause data to be lost.</P
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte><P
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte>The resource records that are dynamically added or removed with
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte<B
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteCLASS="COMMAND"
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte>nsupdate</B
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte>
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Fortehave to be in the same zone.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteRequests are sent to the zone's master server.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteThis is identified by the MNAME field of the zone's SOA record.</P
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte><P
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte>The
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte<TT
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteCLASS="OPTION"
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte>-d</TT
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte>
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forteoption makes
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte<B
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteCLASS="COMMAND"
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte>nsupdate</B
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte>
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forteoperate in debug mode.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteThis provides tracing information about the update requests that are
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Fortemade and the replies received from the name server.</P
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte><P
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte>Transaction signatures can be used to authenticate the Dynamic DNS
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forteupdates.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteThese use the TSIG resource record type described in RFC2845.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteThe signatures rely on a shared secret that should only be known to
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte<B
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteCLASS="COMMAND"
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte>nsupdate</B
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte>
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forteand the name server.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteCurrently, the only supported encryption algorithm for TSIG is
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteHMAC-MD5, which is defined in RFC 2104.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteOnce other algorithms are defined for TSIG, applications will need to
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forteensure they select the appropriate algorithm as well as the key when
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forteauthenticating each other.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteFor instance suitable
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte<SPAN
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteCLASS="TYPE"
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte>key</SPAN
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte>
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forteand
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte<SPAN
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteCLASS="TYPE"
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte>server</SPAN
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte>
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Fortestatements would be added to
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte<TT
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteCLASS="FILENAME"
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte>/etc/named.conf</TT
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte>
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forteso that the name server can associate the appropriate secret key
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forteand algorithm with the IP address of the
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forteclient application that will be using TSIG authentication.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte<B
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteCLASS="COMMAND"
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte>nsupdate</B
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte>
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Fortedoes not read
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte<TT
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteCLASS="FILENAME"
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte>/etc/named.conf</TT
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte>.</P
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte><P
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte><B
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteCLASS="COMMAND"
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte>nsupdate</B
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte>
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forteuses the
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte<TT
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteCLASS="OPTION"
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte>-y</TT
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte>
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forteor
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte<TT
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteCLASS="OPTION"
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte>-k</TT
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte>
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forteoption to provide the shared secret needed to generate a TSIG record
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Fortefor authenticating Dynamic DNS update requests.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteThese options are mutually exclusive.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteWith the
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte<TT
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteCLASS="OPTION"
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte>-k</TT
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte>
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forteoption,
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte<B
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteCLASS="COMMAND"
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte>nsupdate</B
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte>
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Fortereads the shared secret from the file
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte<TT
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteCLASS="PARAMETER"
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte><I
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte>keyfile</I
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte></TT
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte>,
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Fortewhose name is of the form
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte<TT
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteCLASS="FILENAME"
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte>K{name}.+157.+{random}.private</TT
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte>.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteFor historical
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Fortereasons, the file
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte<TT
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteCLASS="FILENAME"
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte>K{name}.+157.+{random}.key</TT
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte>
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Fortemust also be present. When the
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte<TT
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteCLASS="OPTION"
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte>-y</TT
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte>
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forteoption is used, a signature is generated from
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte<TT
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteCLASS="PARAMETER"
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte><I
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte>keyname:secret.</I
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte></TT
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte>
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte<TT
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteCLASS="PARAMETER"
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte><I
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte>keyname</I
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte></TT
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte>
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forteis the name of the key,
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forteand
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte<TT
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteCLASS="PARAMETER"
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte><I
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte>secret</I
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte></TT
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte>
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forteis the base64 encoded shared secret.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteUse of the
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte<TT
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteCLASS="OPTION"
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte>-y</TT
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte>
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forteoption is discouraged because the shared secret is supplied as a command
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forteline argument in clear text.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteThis may be visible in the output from
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte<SPAN
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteCLASS="CITEREFENTRY"
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte><SPAN
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteCLASS="REFENTRYTITLE"
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte>ps</SPAN
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte>(1)</SPAN
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte>
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forteor in a history file maintained by the user's shell.</P
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte><P
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte>By default
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte<B
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteCLASS="COMMAND"
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte>nsupdate</B
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte>
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forteuses UDP to send update requests to the name server.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteThe
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte<TT
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteCLASS="OPTION"
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte>-v</TT
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte>
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forteoption makes
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte<B
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteCLASS="COMMAND"
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte>nsupdate</B
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte>
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forteuse a TCP connection.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteThis may be preferable when a batch of update requests is made.</P
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte></DIV
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte><DIV
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteCLASS="REFSECT1"
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte><A
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteNAME="AEN65"
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte></A
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte><H2
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte>INPUT FORMAT</H2
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte><P
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte><B
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteCLASS="COMMAND"
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte>nsupdate</B
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte>
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Fortereads input from
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte<TT
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteCLASS="PARAMETER"
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte><I
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte>filename</I
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte></TT
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte>
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forteor standard input.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteEach command is supplied on exactly one line of input.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteSome commands are for administrative purposes.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteThe others are either update instructions or prerequisite checks on the
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Fortecontents of the zone.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteThese checks set conditions that some name or set of
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forteresource records (RRset) either exists or is absent from the zone.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteThese conditions must be met if the entire update request is to succeed.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteUpdates will be rejected if the tests for the prerequisite conditions fail.</P
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte><P
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte>Every update request consists of zero or more prerequisites
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forteand zero or more updates.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteThis allows a suitably authenticated update request to proceed if some
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Fortespecified resource records are present or missing from the zone.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteA blank input line causes the accumulated commands to be sent as one Dynamic
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteDNS update request to the name server.</P
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte><P
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte>The command formats and their meaning are as follows:
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte<P
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte></P
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte><DIV
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteCLASS="VARIABLELIST"
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte><DL
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte><DT
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte><P
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte><B
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteCLASS="COMMAND"
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte>server</B
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte> {servername} [port]</P
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte></DT
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte><DD
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte><P
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte>Sends all dynamic update requests to the name server
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte<TT
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteCLASS="PARAMETER"
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte><I
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte>servername</I
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte></TT
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte>.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteWhen no server statement is provided,
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte<B
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteCLASS="COMMAND"
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte>nsupdate</B
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte>
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Fortewill send updates to the master server of the correct zone.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteThe MNAME field of that zone's SOA record will identify the master
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forteserver for that zone.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte<TT
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteCLASS="PARAMETER"
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte><I
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte>port</I
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte></TT
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte>
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forteis the port number on
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte<TT
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteCLASS="PARAMETER"
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte><I
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte>servername</I
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte></TT
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte>
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Fortewhere the dynamic update requests get sent.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteIf no port number is specified, the default DNS port number of 53 is
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forteused.</P
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte></DD
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte><DT
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte><P
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte><B
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteCLASS="COMMAND"
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte>local</B
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte> {address} [port]</P
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte></DT
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte><DD
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte><P
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte>Sends all dynamic update requests using the local
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte<TT
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteCLASS="PARAMETER"
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte><I
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte>address</I
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte></TT
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte>.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteWhen no local statement is provided,
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte<B
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteCLASS="COMMAND"
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte>nsupdate</B
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte>
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Fortewill send updates using an address and port choosen by the system.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte<TT
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteCLASS="PARAMETER"
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte><I
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte>port</I
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte></TT
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte>
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Fortecan additionally be used to make requests come from a specific port.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteIf no port number is specified, the system will assign one.&#13;</P
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte></DD
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte><DT
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte><P
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte><B
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteCLASS="COMMAND"
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte>zone</B
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte> {zonename}</P
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte></DT
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte><DD
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte><P
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte>Specifies that all updates are to be made to the zone
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte<TT
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteCLASS="PARAMETER"
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte><I
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte>zonename</I
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte></TT
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte>.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteIf no
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte<TT
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteCLASS="PARAMETER"
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte><I
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte>zone</I
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte></TT
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte>
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Fortestatement is provided,
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte<B
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteCLASS="COMMAND"
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte>nsupdate</B
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte>
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Fortewill attempt determine the correct zone to update based on the rest of the input.</P
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte></DD
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte><DT
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte><P
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte><B
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteCLASS="COMMAND"
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte>prereq nxdomain</B
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte> {domain-name}</P
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte></DT
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte><DD
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte><P
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte>Requires that no resource record of any type exists with name
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte<TT
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteCLASS="PARAMETER"
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte><I
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte>domain-name</I
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte></TT
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte>.</P
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte></DD
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte><DT
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte><P
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte><B
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteCLASS="COMMAND"
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte>prereq yxdomain</B
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte> {domain-name}</P
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte></DT
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte><DD
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte><P
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte>Requires that
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte<TT
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteCLASS="PARAMETER"
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte><I
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte>domain-name</I
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte></TT
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte>
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forteexists (has as at least one resource record, of any type).</P
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte></DD
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte><DT
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte><P
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte><B
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteCLASS="COMMAND"
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte>prereq nxrrset</B
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte> {domain-name} [class] {type}</P
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte></DT
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte><DD
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte><P
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte>Requires that no resource record exists of the specified
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte<TT
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteCLASS="PARAMETER"
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte><I
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte>type</I
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte></TT
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte>,
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte<TT
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteCLASS="PARAMETER"
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte><I
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte>class</I
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte></TT
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte>
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forteand
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte<TT
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteCLASS="PARAMETER"
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte><I
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte>domain-name</I
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte></TT
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte>.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteIf
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte<TT
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteCLASS="PARAMETER"
><I
>class</I
></TT
>
is omitted, IN (internet) is assumed.
&#13;</P
></DD
><DT
><P
><B
CLASS="COMMAND"
>prereq yxrrset</B
> {domain-name} [class] {type}</P
></DT
><DD
><P
>This requires that a resource record of the specified
<TT
CLASS="PARAMETER"
><I
>type</I
></TT
>,
<TT
CLASS="PARAMETER"
><I
>class</I
></TT
>
and
<TT
CLASS="PARAMETER"
><I
>domain-name</I
></TT
>
must exist.
If
<TT
CLASS="PARAMETER"
><I
>class</I
></TT
>
is omitted, IN (internet) is assumed.</P
></DD
><DT
><P
><B
CLASS="COMMAND"
>prereq yxrrset</B
> {domain-name} [class] {type} {data...}</P
></DT
><DD
><P
>The
<TT
CLASS="PARAMETER"
><I
>data</I
></TT
>
from each set of prerequisites of this form
sharing a common
<TT
CLASS="PARAMETER"
><I
>type</I
></TT
>,
<TT
CLASS="PARAMETER"
><I
>class</I
></TT
>,
and
<TT
CLASS="PARAMETER"
><I
>domain-name</I
></TT
>
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
<TT
CLASS="PARAMETER"
><I
>type</I
></TT
>,
<TT
CLASS="PARAMETER"
><I
>class</I
></TT
>,
and
<TT
CLASS="PARAMETER"
><I
>domain-name</I
></TT
>.
The
<TT
CLASS="PARAMETER"
><I
>data</I
></TT
>
are written in the standard text representation of the resource record's
RDATA.</P
></DD
><DT
><P
><B
CLASS="COMMAND"
>update delete</B
> {domain-name} [ttl] [class] [type [data...]]</P
></DT
><DD
><P
>Deletes any resource records named
<TT
CLASS="PARAMETER"
><I
>domain-name</I
></TT
>.
If
<TT
CLASS="PARAMETER"
><I
>type</I
></TT
>
and
<TT
CLASS="PARAMETER"
><I
>data</I
></TT
>
is provided, only matching resource records will be removed.
The internet class is assumed if
<TT
CLASS="PARAMETER"
><I
>class</I
></TT
>
is not supplied. The
<TT
CLASS="PARAMETER"
><I
>ttl</I
></TT
>
is ignored, and is only allowed for compatibility.</P
></DD
><DT
><P
><B
CLASS="COMMAND"
>update add</B
> {domain-name} {ttl} [class] {type} {data...}</P
></DT
><DD
><P
>Adds a new resource record with the specified
<TT
CLASS="PARAMETER"
><I
>ttl</I
></TT
>,
<TT
CLASS="PARAMETER"
><I
>class</I
></TT
>
and
<TT
CLASS="PARAMETER"
><I
>data</I
></TT
>.</P
></DD
></DL
></DIV
>&#13;</P
><P
>Lines beginning with a semicolon are comments, and are ignored.</P
></DIV
><DIV
CLASS="REFSECT1"
><A
NAME="AEN197"
></A
><H2
>EXAMPLES</H2
><P
>The examples below show how
<B
CLASS="COMMAND"
>nsupdate</B
>
could be used to insert and delete resource records from the
<SPAN
CLASS="TYPE"
>example.com</SPAN
>
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
<SPAN
CLASS="TYPE"
>example.com</SPAN
>.
<PRE
CLASS="PROGRAMLISTING"
># nsupdate
&#62; update delete oldhost.example.com A
&#62; update add newhost.example.com 86400 A 172.16.1.1
&#62;</PRE
></P
><P
>Any A records for
<SPAN
CLASS="TYPE"
>oldhost.example.com</SPAN
>
are deleted.
and an A record for
<SPAN
CLASS="TYPE"
>newhost.example.com</SPAN
>
it IP address 172.16.1.1 is added.
The newly-added record has a 1 day TTL (86400 seconds)
<PRE
CLASS="PROGRAMLISTING"
># nsupdate
&#62; prereq nxdomain nickname.example.com
&#62; update add nickname.example.com CNAME somehost.example.com
&#62;</PRE
></P
><P
>The prerequisite condition gets the name server to check that there
are no resource records of any type for
<SPAN
CLASS="TYPE"
>nickname.example.com</SPAN
>.
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 conflict 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.)</P
></DIV
><DIV
CLASS="REFSECT1"
><A
NAME="AEN210"
></A
><H2
>FILES</H2
><P
></P
><DIV
CLASS="VARIABLELIST"
><DL
><DT
><TT
CLASS="CONSTANT"
>/etc/resolv.conf</TT
></DT
><DD
><P
>used to identify default name server</P
></DD
><DT
><TT
CLASS="CONSTANT"
>K{name}.+157.+{random}.key</TT
></DT
><DD
><P
>base-64 encoding of HMAC-MD5 key created by
<SPAN
CLASS="CITEREFENTRY"
><SPAN
CLASS="REFENTRYTITLE"
>dnssec-keygen</SPAN
>(8)</SPAN
>.</P
></DD
><DT
><TT
CLASS="CONSTANT"
>K{name}.+157.+{random}.private</TT
></DT
><DD
><P
>base-64 encoding of HMAC-MD5 key created by
<SPAN
CLASS="CITEREFENTRY"
><SPAN
CLASS="REFENTRYTITLE"
>dnssec-keygen</SPAN
>(8)</SPAN
>.</P
></DD
></DL
></DIV
></DIV
><DIV
CLASS="REFSECT1"
><A
NAME="AEN234"
></A
><H2
>SEE ALSO</H2
><P
><SPAN
CLASS="CITEREFENTRY"
><SPAN
CLASS="REFENTRYTITLE"
>RFC2136</SPAN
></SPAN
>,
<SPAN
CLASS="CITEREFENTRY"
><SPAN
CLASS="REFENTRYTITLE"
>RFC2137</SPAN
></SPAN
>,
<SPAN
CLASS="CITEREFENTRY"
><SPAN
CLASS="REFENTRYTITLE"
>RFC2104</SPAN
></SPAN
>,
<SPAN
CLASS="CITEREFENTRY"
><SPAN
CLASS="REFENTRYTITLE"
>RFC2845</SPAN
></SPAN
>,
<SPAN
CLASS="CITEREFENTRY"
><SPAN
CLASS="REFENTRYTITLE"
>RFC1034</SPAN
></SPAN
>,
<SPAN
CLASS="CITEREFENTRY"
><SPAN
CLASS="REFENTRYTITLE"
>RFC2535</SPAN
></SPAN
>,
<SPAN
CLASS="CITEREFENTRY"
><SPAN
CLASS="REFENTRYTITLE"
>named</SPAN
>(8)</SPAN
>,
<SPAN
CLASS="CITEREFENTRY"
><SPAN
CLASS="REFENTRYTITLE"
>dnssec-keygen</SPAN
>(8)</SPAN
>.&#13;</P
></DIV
><DIV
CLASS="REFSECT1"
><A
NAME="AEN255"
></A
><H2
>BUGS</H2
><P
>The TSIG key is redundantly stored in two separate files.
This is a consequence of nsupdate using the DST library
for its cryptographic operations, and may change in future
releases.</P
></DIV
></BODY
></HTML
>