components/bind/Solaris/nsupdate.1m
author Rich Burridge <rich.burridge@oracle.com>
Wed, 09 Sep 2015 11:58:35 -0700
changeset 4847 05ee227964f9
parent 4438 5c17d084f39b
permissions -rw-r--r--
21810533 Improve various Python module download locations
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
4438
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
     1
'\" te
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
     2
.\" Copyright (C) 2004  Internet Systems Consortium, Inc. ("ISC")  Copyright (C) 2000, 2001, 2003  Internet Software Consortium.   Permission to use, copy, modify, and distribute this software for any  purpose with or without fee is hereby granted, provided that the above  copyright notice and this permission notice appear in all copies.   THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH  REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY  AND FITNESS.  IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,  INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM  LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE  OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR  PERFORMANCE OF THIS SOFTWARE.
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
     3
.\" Portions Copyright (c) 2004, Sun Microsystems, Inc. All Rights Reserved.
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
     4
.TH nsupdate 1M "24 Dec 2008" "SunOS 5.12" "System Administration Commands"
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
     5
.SH NAME
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
     6
nsupdate \- Dynamic DNS update utility
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
     7
.SH SYNOPSIS
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
     8
.LP
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
     9
.nf
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    10
\fBnsupdate\fR [\fB-dv\fR] [\fB-y\fR \fIkeyname:secret\fR | \fB-k\fR \fIkeyfile\fR] [\fB-t\fR \fItimeout\fR]
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    11
     [\fB-u\fR \fIudptimeout\fR] [\fB-r\fR \fIudpretries\fR] [\fIfilename\fR]
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    12
.fi
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    13
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    14
.SH DESCRIPTION
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    15
.sp
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    16
.LP
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    17
The \fBnsupdate\fR utility submits Dynamic DNS Update requests as defined in RFC 2136 to a name server. This utility allows resource records to be added or removed from a zone without manually editing the zone file. A single update request can contain requests to add or remove more than one resource record.
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    18
.sp
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    19
.LP
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    20
Zones that are under dynamic control with \fBnsupdate\fR or a DHCP server should not be edited by hand. Manual edits could conflict with dynamic updates and cause data to be lost.
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    21
.sp
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    22
.LP
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    23
The resource records that are dynamically added or removed with \fBnsupdate\fR must be in the same zone. Requests are sent to the zone's master servers identified by the \fBMNAME\fR field of the zone's SOA record.
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    24
.sp
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    25
.LP
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    26
Transaction signatures can be used to authenticate the Dynamic DNS updates using the TSIG resource record type described in RFC 2845. The signatures rely on a shared secret that should only be known to \fBnsupdate\fR and the name server. Currently, the only supported encryption algorithm for TSIG is HMAC-MD5, which is defined in RFC 2104. Once other algorithms are defined for TSIG, applications will need to ensure that they select the appropriate algorithm as well as the key when authenticating each other. For instance, suitable \fBkey\fR and \fBserver\fR statements would be added to \fB/etc/named.conf\fR so that the name server can associate the appropriate secret key and algorithm with the IP address of the client application that will be using TSIG authentication. The \fBnsupdate\fR utility does not read \fB/etc/named.conf\fR.
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    27
.sp
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    28
.LP
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    29
The \fBnsupdate\fR utility uses the \fB-y\fR or \fB-k\fR option to provide the shared secret needed to generate a TSIG record for authenticating Dynamic DNS update requests. These options are mutually exclusive. See OPTIONS.
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    30
.SH OPTIONS
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    31
.sp
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    32
.LP
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    33
The following options are supported:
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    34
.sp
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    35
.ne 2
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    36
.mk
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    37
.na
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    38
\fB\fB-d\fR\fR
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    39
.ad
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    40
.RS 21n
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    41
.rt  
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    42
Operate in debug mode. This provides tracing information about the update requests that are made and the replies received from the name server.
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    43
.RE
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    44
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    45
.sp
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    46
.ne 2
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    47
.mk
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    48
.na
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    49
\fB\fB-k\fR \fIkeyfile\fR\fR
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    50
.ad
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    51
.RS 21n
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    52
.rt  
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    53
Read the shared secret from the file \fIkeyfile\fR, whose name is of the form \fBK{\fIname\fR}.+157.+{\fIrandom\fR}.private\fR. For historical reasons, the file \fBK{\fIname\fR}.+157.+{\fIrandom\fR}.key\fR must also be present.
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    54
.RE
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    55
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    56
.sp
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    57
.ne 2
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    58
.mk
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    59
.na
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    60
\fB\fB-r\fR \fIudpretries\fR\fR
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    61
.ad
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    62
.RS 21n
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    63
.rt  
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    64
Set the number of UDP retries. The default is 3 retries. If \fIudpretries\fR is set to zero, only one update request is made.
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    65
.RE
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    66
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    67
.sp
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    68
.ne 2
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    69
.mk
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    70
.na
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    71
\fB\fB-t\fR \fItimeout\fR\fR
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    72
.ad
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    73
.RS 21n
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    74
.rt  
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    75
Set \fItimeout\fR interval in seconds before update is aborted. The default is 300 seconds. A setting of zero disables the timeout.
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    76
.RE
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    77
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    78
.sp
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    79
.ne 2
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    80
.mk
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    81
.na
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    82
\fB\fB-u\fR \fIudptimeout\fR\fR
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    83
.ad
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    84
.RS 21n
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    85
.rt  
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    86
Set interval in seconds between UDP retires, the default is 3 seconds. A setting of zero causes the interval to be calculated based on the timeout (\fB-t\fR) and the number of UDP retries (\fB-r\fR).
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    87
.RE
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    88
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    89
.sp
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    90
.ne 2
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    91
.mk
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    92
.na
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    93
\fB\fB-v\fR\fR
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    94
.ad
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    95
.RS 21n
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    96
.rt  
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    97
Use a TCP connection. Using a TCP connection could be preferable when a batch of update requests is made. By default, \fBnsupdate\fR uses UDP to send update requests to the name server.
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    98
.RE
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    99
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   100
.sp
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   101
.ne 2
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   102
.mk
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   103
.na
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   104
\fB\fB-y\fR \fIkeyname\fR:\fIsecret\fR\fR
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   105
.ad
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   106
.RS 21n
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   107
.rt  
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   108
Generate a  signature from \fIkeyname\fR:\fIsecret\fR, where\fIkeyname\fR is the name of the key and \fIsecret\fR is the base64 encoded shared secret.
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   109
.sp
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   110
Use of the \fB-y\fR option is discouraged because the shared secret is supplied as a command line argument in clear text and could be visible in the output from \fBps\fR(1) or in a history file maintained by the user's shell.
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   111
.RE
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   112
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   113
.SH INPUT FORMAT
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   114
.sp
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   115
.LP
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   116
The \fBnsupdate\fR utility reads input from \fIfilename\fR or the standard input. Each command is supplied on exactly one line of input. Some commands are for administrative purposes. The others are either update instructions or prerequisite checks on the contents of the zone. These checks set conditions that some name or set of resource records (RRset) either exists or is absent from the zone. These conditions must be met if the entire update request is to succeed. Updates will be rejected if the tests for the prerequisite conditions fail.
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   117
.sp
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   118
.LP
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   119
Every update request consists of zero or more prerequisites and zero or more updates. This condition allows a suitably authenticated update request to proceed if some specified resource records are present or missing from the zone. A blank input line (or the \fBsend\fR command) causes the accumulated commands to be sent as one Dynamic DNS update request to the name server.
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   120
.sp
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   121
.LP
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   122
The command formats and their meaning are as follows:
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   123
.sp
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   124
.ne 2
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   125
.mk
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   126
.na
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   127
\fB\fBserver\fR \fIservername\fR [ \fIport\fR ]\fR
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   128
.ad
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   129
.sp .6
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   130
.RS 4n
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   131
Send all dynamic update requests to the name server \fIservername\fR. When no \fBserver\fR statement is provided, \fBnsupdate\fR sends updates to the master server of the correct zone. The \fBMNAME\fR field of that zone's SOA record identifies the master server for that zone. The \fIport\fR argument is the port number on \fIservername\fR where the dynamic update requests get sent. If no port number is specified, the default DNS port number of 53 is used.
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   132
.RE
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   133
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   134
.sp
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   135
.ne 2
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   136
.mk
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   137
.na
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   138
\fB\fBlocal\fR \fIaddress\fR [ \fIport\fR ]\fR
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   139
.ad
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   140
.sp .6
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   141
.RS 4n
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   142
Send all dynamic update requests using the local \fIaddress\fR. When no \fBlocal\fR statement is provided, \fBnsupdate\fR sends updates using an address and port chosen by the system. The \fIport\fR argument can also be used to make requests come from a specific port. If no port number is specified, the system assigns one.
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   143
.RE
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   144
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   145
.sp
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   146
.ne 2
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   147
.mk
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   148
.na
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   149
\fB\fBzone\fR \fIzonename\fR\fR
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   150
.ad
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   151
.sp .6
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   152
.RS 4n
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   153
Specify that all updates are to be made to the zone \fIzonename\fR. If no \fBzone\fR statement is provided, \fBnsupdate\fR attempts to determine the correct zone to update based on the rest of the input.
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   154
.RE
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   155
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   156
.sp
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   157
.ne 2
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   158
.mk
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   159
.na
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   160
\fB\fBclass\fR \fIclassname\fR\fR
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   161
.ad
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   162
.sp .6
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   163
.RS 4n
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   164
Specify the default class. If no class is specified the default class is IN.
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   165
.RE
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   166
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   167
.sp
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   168
.ne 2
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   169
.mk
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   170
.na
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   171
\fB\fBkey\fR \fIname\fR \fIsecret\fR\fR
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   172
.ad
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   173
.sp .6
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   174
.RS 4n
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   175
Specify that all updates are to be TSIG signed using the \fIname\fR \fIsecret\fR pair. The \fBkey\fR command overrides any key specified on the command line with \fB-y\fR or \fB-k\fR.
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   176
.RE
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   177
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   178
.sp
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   179
.ne 2
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   180
.mk
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   181
.na
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   182
\fB\fBprereq nxdomain\fR \fIdomain-name\fR\fR
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   183
.ad
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   184
.sp .6
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   185
.RS 4n
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   186
Require that no resource record of any type exists withthe name \fIdomain-name\fR.
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   187
.RE
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   188
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   189
.sp
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   190
.ne 2
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   191
.mk
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   192
.na
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   193
\fB\fBprereq yxdomain\fR \fIdomain-name\fR\fR
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   194
.ad
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   195
.sp .6
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   196
.RS 4n
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   197
Require that \fIdomain-name\fR exists (has as at least one resource record, of any type).
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   198
.RE
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   199
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   200
.sp
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   201
.ne 2
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   202
.mk
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   203
.na
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   204
\fB\fBprereq nxrrset\fR \fIdomain-name\fR [ \fIclass\fR ]  \fItype\fR\fR
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   205
.ad
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   206
.sp .6
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   207
.RS 4n
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   208
Require that no resource record exists of the specified \fItype\fR, \fIclass\fR and \fIdomain-name\fR. If \fIclass\fR is omitted, IN (internet) is assumed.
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   209
.RE
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   210
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   211
.sp
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   212
.ne 2
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   213
.mk
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   214
.na
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   215
\fB\fBprereq yxrrset\fR \fIdomain-name\fR [ \fIclass\fR ]  \fItype\fR\fR
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   216
.ad
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   217
.sp .6
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   218
.RS 4n
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   219
Require that a resource record of the specified \fItype\fR, \fIclass\fR and \fIdomain-name\fR must exist. If \fIclass\fR is omitted, IN (internet) is assumed.
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   220
.RE
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   221
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   222
.sp
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   223
.ne 2
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   224
.mk
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   225
.na
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   226
\fB\fBprereq yxrrset\fR \fIdomain-name\fR [ \fIclass\fR ]  \fItype\fR \fIdata\fR...\fR
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   227
.ad
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   228
.sp .6
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   229
.RS 4n
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   230
The \fIdata\fR from each set of prerequisites of this form sharing a common \fItype\fR, \fIclass\fR, and \fIdomain-name\fR 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 \fItype\fR, \fIclass\fR, and \fIdomain-name\fR. The \fIdata\fR are written in the standard text representation of the resource record's RDATA.
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   231
.RE
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   232
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   233
.sp
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   234
.ne 2
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   235
.mk
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   236
.na
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   237
\fB\fBupdate delete\fR \fIdomain-name\fR [ \fIttl\fR ]  [ \fIclass\fR ]  [ \fItype\fR  [ \fIdata\fR... ] ]\fR
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   238
.ad
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   239
.sp .6
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   240
.RS 4n
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   241
Delete any resource records named \fIdomain-name\fR. If \fItype\fR and \fIdata\fR are provided, only matching resource records are removed. The internet class is assumed if \fIclass\fR is not supplied. The \fIttl\fR is ignored, and is only provided for compatibility.
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   242
.RE
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   243
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   244
.sp
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   245
.ne 2
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   246
.mk
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   247
.na
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   248
\fB\fBupdate add\fR \fIdomain-name\fR \fIttl\fR [ \fIclass\fR ]  \fItype\fR \fIdata\fR...\fR
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   249
.ad
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   250
.sp .6
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   251
.RS 4n
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   252
Add a new resource record with the specified \fIttl\fR, \fIclass\fR and \fIdata\fR.
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   253
.RE
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   254
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   255
.sp
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   256
.ne 2
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   257
.mk
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   258
.na
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   259
\fB\fBshow\fR\fR
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   260
.ad
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   261
.sp .6
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   262
.RS 4n
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   263
Display the current message, containing all of the prerequisites and updates specified since the last send.
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   264
.RE
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   265
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   266
.sp
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   267
.ne 2
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   268
.mk
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   269
.na
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   270
\fB\fBsend\fR\fR
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   271
.ad
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   272
.sp .6
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   273
.RS 4n
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   274
Sends the current message. This is equivalent to entering a blank line.
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   275
.RE
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   276
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   277
.sp
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   278
.ne 2
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   279
.mk
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   280
.na
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   281
\fB\fBanswer\fR\fR
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   282
.ad
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   283
.sp .6
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   284
.RS 4n
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   285
Displays the answer.
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   286
.RE
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   287
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   288
.sp
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   289
.LP
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   290
Lines beginning with a semicolon are comments and are ignored.
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   291
.SH EXAMPLES
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   292
.LP
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   293
\fBExample 1 \fRInserting and Deleting Resource Records from the Zone
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   294
.sp
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   295
.LP
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   296
The examples below show how \fBnsupdate\fR could be used to insert and delete resource records from the \fBexample.com\fR 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 \fBexample.com\fR.
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   297
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   298
.sp
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   299
.in +2
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   300
.nf
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   301
# nsupdate
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   302
> update delete oldhost.example.com A
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   303
> update add newhost.example.com 86400 A 172.16.1.1
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   304
> send
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   305
.fi
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   306
.in -2
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   307
.sp
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   308
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   309
.sp
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   310
.LP
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   311
Any A records for \fBoldhost.example.com\fR are deleted. An A record for \fBnewhost.example.com\fR with IP address 172.16.1.1 is added. The newly-added record has a 1 day TTL (86400 seconds).
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   312
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   313
.LP
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   314
\fBExample 2 \fRAdding CNAME Only If No Records Exist
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   315
.sp
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   316
.LP
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   317
The following command adds a CNAME only if no records already exist for it.
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   318
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   319
.sp
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   320
.in +2
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   321
.nf
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   322
# nsupdate
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   323
> prereq nxdomain nickname.example.com
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   324
> update add nickname.example.com 86400 CNAME somehost.example.com
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   325
> send
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   326
.fi
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   327
.in -2
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   328
.sp
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   329
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   330
.sp
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   331
.LP
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   332
The prerequisite condition gets the name server to check that there are no resource records of any type for \fBnickname.example.com\fR. If there are, the update request fails. If this name does not exist, a \fBCNAME\fR for it is added. This action ensures that when the \fBCNAME\fR is added, it cannot conflict with the long-standing rule in RFC 1034 that a name must not exist as any other record type if it exists as a \fBCNAME\fR. (The rule has been updated for DNSSEC in RFC 4035 to allow \fBCNAME\fRs to have \fBRSIG\fR, \fBDNSKEY\fR, and \fBNSEC\fR records.)
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   333
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   334
.SH FILES
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   335
.sp
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   336
.ne 2
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   337
.mk
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   338
.na
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   339
\fB\fB/etc/resolv.conf\fR\fR
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   340
.ad
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   341
.sp .6
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   342
.RS 4n
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   343
used to identify default name server
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   344
.RE
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   345
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   346
.sp
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   347
.ne 2
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   348
.mk
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   349
.na
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   350
\fB\fBK{\fIname\fR}.+157.+{\fIrandom\fR}.key\fR\fR
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   351
.ad
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   352
.sp .6
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   353
.RS 4n
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   354
base-64 encoding of HMAC-MD5 key created by \fBdnssec-keygen\fR(1M).
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   355
.RE
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   356
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   357
.sp
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   358
.ne 2
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   359
.mk
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   360
.na
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   361
\fB\fBK{\fIname\fR}.+157.+{\fIrandom\fR}.private\fR\fR
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   362
.ad
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   363
.sp .6
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   364
.RS 4n
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   365
base-64 encoding of HMAC-MD5 key created by \fBdnssec-keygen\fR(1M)
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   366
.RE
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   367
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   368
.SH BUGS
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   369
.sp
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   370
.LP
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   371
The TSIG key is redundantly stored in two separate files. This is a consequence of \fBnsupdate\fR using the DST library for its cryptographic operations and could change in future releases.
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   372
.SH ATTRIBUTES
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   373
.sp
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   374
.LP
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   375
See \fBattributes\fR(5) for descriptions of the following attributes:
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   376
.sp
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   377
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   378
.sp
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   379
.TS
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   380
tab() box;
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   381
cw(2.75i) |cw(2.75i) 
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   382
lw(2.75i) |lw(2.75i) 
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   383
.
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   384
ATTRIBUTE TYPEATTRIBUTE VALUE
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   385
_
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   386
Availabilityservice/network/dns/bind
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   387
_
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   388
Interface StabilityVolatile
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   389
.TE
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   390
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   391
.SH SEE ALSO
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   392
.sp
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   393
.LP
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   394
\fBnamed\fR(1M), \fBdnssec-keygen\fR(1M), \fBattributes\fR(5)
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   395
.sp
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   396
.LP
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   397
\fIRFC 2136\fR, \fIRFC 3007\fR, \fIRFC 2104\fR, \fIRFC 2845\fR, \fIRFC 1034\fR, \fIRFC 2535\fR, \fIRFC 2931\fR, \fIRFC 4035\fR