components/bind/Solaris/rndc-confgen.1m
author April Chin <april.chin@oracle.com>
Sat, 11 Jul 2015 09:17:55 -0700
changeset 4632 8152228598dc
parent 4438 5c17d084f39b
permissions -rw-r--r--
21418284 ruby doesn't build on s11u3-26 and s12-78
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) 2010 Internet Systems Consortium, Inc. ("ISC")
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
     3
.\" Permission to use, copy, modify, and/or 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
     4
.\" Portions Copyright (c) 2010, Sun Microsystems, Inc. All Rights Reserved.
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
     5
.TH rndc-confgen 1M "11 Jan 2010" "SunOS 5.12" "System Administration Commands"
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
     6
.SH NAME
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
     7
rndc-confgen \- rndc key generation tool
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
     8
.SH SYNOPSIS
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
     9
.LP
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    10
.nf
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    11
\fBrndc-confgen\fR [\fB-ah\fR] [\fB-b\fR \fIkeysize\fR] [\fB-c\fR \fIkeyfile\fR] [\fB-k\fR \fIkeyname\fR] 
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    12
     [\fB-p\fR \fIport\fR] [\fB-r\fR \fIrandomfile\fR] [\fB-s\fR \fIaddress\fR] [\fB-t\fR \fIchrootdir\fR] 
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    13
     [\fB-u\fR \fIuser\fR]
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    14
.fi
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    15
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    16
.SH DESCRIPTION
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    17
.sp
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    18
.LP
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    19
The \fBrndc-confgen\fR utility generates configuration files for \fBrndc\fR(1M). This utility can be used as a convenient alternative to writing  by hand the \fBrndc.conf\fR(4) file and the corresponding \fBcontrols\fR and \fBkey\fR statements in \fBnamed.conf\fR. It can also be run with the \fB-a\fR option to set up a \fBrndc.key\fR file and avoid altogether the need for a \fBrndc.conf\fR file and a \fBcontrols\fR statement.
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    20
.SH OPTIONS
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 following options are supported:
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
.ne 2
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    26
.mk
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    27
.na
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    28
\fB\fB-a\fR\fR
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    29
.ad
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    30
.sp .6
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    31
.RS 4n
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    32
Perform automatic \fBrndc\fR configuration. This option creates a file \fBrndc.key\fR in \fB/etc\fR (or however \fIsysconfdir\fR was specified when BIND was built) that is read by both \fBrndc\fR and \fBnamed\fR(1M) on startup. The \fBrndc.key\fR file defines a default command channel and authentication key allowing \fBrndc\fR to communicate with \fBnamed\fR with no further configuration.
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    33
.sp
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    34
Running \fBrndc-confgen\fR with \fB-a\fR specified allows BIND 9 and \fBrndc\fR to be used as drop-in replacements for BIND 8 and \fBndc\fR, with no changes to the existing BIND 8 \fBnamed.conf\fR file.
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    35
.sp
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    36
If a more elaborate configuration than that generated by \fBrndc-confgen\fR \fB-a\fR is required, for example if \fBrndc\fR is to be used remotely, you should run \fBrndc-confgen\fR without the \fB-a\fR option and set up \fBrndc.conf\fR and \fBnamed.conf\fR files, as directed.
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    37
.RE
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    38
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    39
.sp
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    40
.ne 2
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    41
.mk
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    42
.na
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    43
\fB\fB-b\fR \fIkeysize\fR\fR
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    44
.ad
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    45
.sp .6
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    46
.RS 4n
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    47
Specify the size of the authentication key in bits. The \fIkeysize\fR argument must be between 1 and 512 bits; the default is 128.
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    48
.RE
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    49
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    50
.sp
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    51
.ne 2
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    52
.mk
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    53
.na
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    54
\fB\fB-c\fR \fIkeyfile\fR\fR
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    55
.ad
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    56
.sp .6
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    57
.RS 4n
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    58
Used with the \fB-a\fR option to specify an alternate location for \fBrndc.key\fR.
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    59
.RE
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    60
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    61
.sp
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    62
.ne 2
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    63
.mk
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    64
.na
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    65
\fB\fB-h\fR\fR
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    66
.ad
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    67
.sp .6
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    68
.RS 4n
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    69
Print a short summary of the options and arguments to \fBrndc-confgen\fR.
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    70
.RE
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    71
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    72
.sp
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    73
.ne 2
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    74
.mk
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    75
.na
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    76
\fB\fB-k\fR \fIkeyname\fR\fR
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    77
.ad
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    78
.sp .6
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    79
.RS 4n
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    80
Specify the key name of the \fBrndc\fR authentication key. The \fIkeyname\fR argument must be a valid domain name. The default is \fBrndc-key\fR.
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    81
.RE
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    82
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    83
.sp
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    84
.ne 2
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    85
.mk
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    86
.na
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    87
\fB\fB-p\fR \fIport\fR\fR
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    88
.ad
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    89
.sp .6
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    90
.RS 4n
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    91
Specify the command channel port where \fBnamed\fR listens for connections from \fBrndc\fR. The default is 953.
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    92
.RE
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    93
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    94
.sp
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    95
.ne 2
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    96
.mk
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    97
.na
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    98
\fB\fB-r\fR \fIrandomfile\fR\fR
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    99
.ad
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   100
.sp .6
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   101
.RS 4n
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   102
Specify a source of random data for generating the authorization. By default, \fB/dev/random\fR is used. The \fIrandomdev\fR argument specifies the name of a character device or file containing random data to be used instead of the default. The special value \fBkeyboard\fR indicates that keyboard input should be used.
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   103
.RE
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   104
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   105
.sp
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   106
.ne 2
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   107
.mk
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   108
.na
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   109
\fB\fB-s\fR \fIaddress\fR\fR
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   110
.ad
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   111
.sp .6
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   112
.RS 4n
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   113
Specify the IP address where \fBnamed\fR listens for command channel connections from \fBrndc\fR. The default is the loopback address 127.0.0.1.
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   114
.RE
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   115
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   116
.sp
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   117
.ne 2
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   118
.mk
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   119
.na
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   120
\fB\fB-t\fR \fIchrootdir\fR\fR
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   121
.ad
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   122
.sp .6
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   123
.RS 4n
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   124
Used with the \fB-a\fR option to specify a directory where \fBnamed\fR will run after the root directory is changed with \fBchroot\fR(2). An additional copy of the \fBrndc.key\fR will be written relative to this directory so that it will be found by the \fBnamed\fR in the new directory.
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   125
.RE
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   126
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   127
.sp
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   128
.ne 2
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   129
.mk
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   130
.na
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   131
\fB\fB-u\fR \fIuser\fR\fR
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   132
.ad
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   133
.sp .6
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   134
.RS 4n
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   135
Used with the \fB-a\fR option to set the owner of the \fBrndc.key\fR file generated. If \fB-t\fR is also specified only the file in the chroot area has its owner changed.
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   136
.RE
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   137
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   138
.SH EXAMPLES
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   139
.LP
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   140
\fBExample 1 \fRCreate Automatic \fBrndc\fR Configuration
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   141
.sp
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   142
.LP
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   143
The following command creates an automatic \fBrndc\fR configuration, so that \fBrndc\fR can be used immediately.
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
.in +2
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   147
.nf
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   148
# rndc-confgen -a
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   149
.fi
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   150
.in -2
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   151
.sp
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   152
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   153
.LP
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   154
\fBExample 2 \fRPrint a Sample \fBrndc.conf\fR File
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   155
.sp
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   156
.LP
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   157
The following command prints a sample \fBrndc.conf\fR file with corresponding \fBcontrols\fR and \fBkey\fR statements. These statements can subsequently be manually inserted in the file \fBnamed.conf\fR.
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   158
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   159
.sp
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   160
.in +2
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   161
.nf
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   162
# rndc-confgen
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   163
.fi
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   164
.in -2
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   165
.sp
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
.SH ATTRIBUTES
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   168
.sp
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   169
.LP
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   170
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
   171
.sp
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   172
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   173
.sp
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   174
.TS
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   175
tab() box;
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   176
cw(2.75i) |cw(2.75i) 
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   177
lw(2.75i) |lw(2.75i) 
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   178
.
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   179
ATTRIBUTE TYPEATTRIBUTE VALUE
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   180
_
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   181
Availabilitynetwork/dns/bind
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   182
_
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   183
Interface StabilityVolatile
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   184
.TE
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   185
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   186
.SH SEE ALSO
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   187
.sp
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   188
.LP
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   189
\fBchroot\fR(2), \fBnamed\fR(1M), \fBrndc\fR(1M), \fBrndc.conf\fR(4), \fBattributes\fR(5)
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   190
.sp
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   191
.LP
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   192
See the BIND 9 \fIAdministrator's Reference Manual\fR. As of the date of publication of this man page, this document is available at https://www.isc.org/software/bind/documentation\&.