\fBnsupdate\fR
will attempt determine the correct zone to update based on the rest of the input.
.TP
+\fBclass classname\fR
+Specify the default class.
+If no \fIclass\fR is specified the default class is
+\fIIN\fR.
+.TP
\fBkey name secret\fR
Specifies that all updates are to be TSIG signed using the
\fIkeyname\fR \fIkeysecret\fR pair.
\fBsend\fR
Sends the current message. This is equivalent to entering a blank line.
.PP
-Lines beginning with a semicolon are comments, and are ignored.
+Lines beginning with a semicolon are comments and are ignored.
.SH "EXAMPLES"
.PP
The examples below show how
# nsupdate
> update delete oldhost.example.com A
> update add newhost.example.com 86400 A 172.16.1.1
->
+> send
.sp
.fi
.PP
# nsupdate
> prereq nxdomain nickname.example.com
> update add nickname.example.com 86400 CNAME somehost.example.com
->
+> send
.sp
.fi
.PP
- WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-->
-<!-- $Id: nsupdate.docbook,v 1.8.2.5 2004/03/04 01:22:50 marka Exp $ -->
+<!-- $Id: nsupdate.docbook,v 1.8.2.6 2004/03/04 12:21:51 marka Exp $ -->
<refentry>
<refentryinfo>
</variablelist>
<para>
-Lines beginning with a semicolon are comments, and are ignored.
+Lines beginning with a semicolon are comments and are ignored.
</para>
-</listitem>
</refsect1>
><P
><B
CLASS="COMMAND"
+>class</B
+> {classname}</P
+></DT
+><DD
+><P
+>Specify the default class.
+If no <TT
+CLASS="PARAMETER"
+><I
+>class</I
+></TT
+> is specified the default class is
+<TT
+CLASS="PARAMETER"
+><I
+>IN</I
+></TT
+>.</P
+></DD
+><DT
+><P
+><B
+CLASS="COMMAND"
>key</B
> {name} {secret}</P
></DT
>class</I
></TT
>
-is omitted, IN (internet) is assumed.
- </P
+is omitted, IN (internet) is assumed.</P
></DD
><DT
><P
></DIV
> </P
><P
->Lines beginning with a semicolon are comments, and are ignored.</P
+>Lines beginning with a semicolon are comments and are ignored.</P
></DIV
><DIV
CLASS="REFSECT1"
><A
-NAME="AEN223"
+NAME="AEN232"
></A
><H2
>EXAMPLES</H2
># nsupdate
> update delete oldhost.example.com A
> update add newhost.example.com 86400 A 172.16.1.1
-></PRE
+> send</PRE
></P
><P
>Any A records for
># nsupdate
> prereq nxdomain nickname.example.com
> update add nickname.example.com 86400 CNAME somehost.example.com
-></PRE
+> send</PRE
></P
><P
>The prerequisite condition gets the name server to check that there
><DIV
CLASS="REFSECT1"
><A
-NAME="AEN236"
+NAME="AEN245"
></A
><H2
>FILES</H2
><DIV
CLASS="REFSECT1"
><A
-NAME="AEN260"
+NAME="AEN269"
></A
><H2
>SEE ALSO</H2
><DIV
CLASS="REFSECT1"
><A
-NAME="AEN281"
+NAME="AEN290"
></A
><H2
>BUGS</H2
\fBAI_CANONNAME\fR
bit is set, a successful call to
\fBlwres_getaddrinfo()\fR
-will return a a null-terminated string containing the canonical name
+will return a null-terminated string containing the canonical name
of the specified hostname in
ai_canonname
of the first
CLASS="FUNCTION"
>lwres_getaddrinfo()</TT
>
-will return a a null-terminated string containing the canonical name
+will return a null-terminated string containing the canonical name
of the specified hostname in
<TT
CLASS="CONSTANT"