~andreserl/ubuntu/lucid/bind9/bind9-apport-533601

« back to all changes in this revision

Viewing changes to bin/rndc/rndc.8

  • Committer: Bazaar Package Importer
  • Author(s): LaMont Jones
  • Date: 2006-01-05 12:29:28 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20060105122928-oih7ttkkmpb90q8q
Tags: 1:9.3.2-1
* New upstream
* use lsb-base for start/stop messages in init.d.
* switch to debhelper 4

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
.\" Copyright (C) 2004  Internet Systems Consortium, Inc. ("ISC")
2
 
.\" Copyright (C) 2000, 2001  Internet Software Consortium.
3
 
.\"
 
1
.\" Copyright (C) 2004, 2005 Internet Systems Consortium, Inc. ("ISC")
 
2
.\" Copyright (C) 2000, 2001 Internet Software Consortium.
 
3
.\" 
4
4
.\" Permission to use, copy, modify, and distribute this software for any
5
5
.\" purpose with or without fee is hereby granted, provided that the above
6
6
.\" copyright notice and this permission notice appear in all copies.
7
 
.\"
 
7
.\" 
8
8
.\" THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
9
9
.\" REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
10
 
.\" AND FITNESS.  IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
 
10
.\" AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
11
11
.\" INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
12
12
.\" LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
13
13
.\" OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
14
14
.\" PERFORMANCE OF THIS SOFTWARE.
15
15
.\"
16
 
.\" $Id: rndc.8,v 1.24.206.2 2004/06/03 05:35:49 marka Exp $
 
16
.\" $Id: rndc.8,v 1.24.206.5 2005/10/13 02:33:49 marka Exp $
17
17
.\"
18
 
.TH "RNDC" "8" "June 30, 2000" "BIND9" ""
19
 
.SH NAME
 
18
.hy 0
 
19
.ad l
 
20
.\" ** You probably do not want to edit this file directly **
 
21
.\" It was generated using the DocBook XSL Stylesheets (version 1.69.1).
 
22
.\" Instead of manually editing it, you probably should edit the DocBook XML
 
23
.\" source for it and then use the DocBook XSL Stylesheets to regenerate it.
 
24
.TH "RNDC" "8" "June 30, 2000" "BIND9" "BIND9"
 
25
.\" disable hyphenation
 
26
.nh
 
27
.\" disable justification (adjust text to left margin only)
 
28
.ad l
 
29
.SH "NAME"
20
30
rndc \- name server control utility
21
 
.SH SYNOPSIS
22
 
.sp
23
 
\fBrndc\fR [ \fB-c \fIconfig-file\fB\fR ]  [ \fB-k \fIkey-file\fB\fR ]  [ \fB-s \fIserver\fB\fR ]  [ \fB-p \fIport\fB\fR ]  [ \fB-V\fR ]  [ \fB-y \fIkey_id\fB\fR ]  \fBcommand\fR
 
31
.SH "SYNOPSIS"
 
32
.HP 5
 
33
\fBrndc\fR [\fB\-c\ \fR\fB\fIconfig\-file\fR\fR] [\fB\-k\ \fR\fB\fIkey\-file\fR\fR] [\fB\-s\ \fR\fB\fIserver\fR\fR] [\fB\-p\ \fR\fB\fIport\fR\fR] [\fB\-V\fR] [\fB\-y\ \fR\fB\fIkey_id\fR\fR] {command}
24
34
.SH "DESCRIPTION"
25
35
.PP
26
 
\fBrndc\fR controls the operation of a name
27
 
server. It supersedes the \fBndc\fR utility
28
 
that was provided in old BIND releases. If
29
 
\fBrndc\fR is invoked with no command line
30
 
options or arguments, it prints a short summary of the
31
 
supported commands and the available options and their
32
 
arguments.
33
 
.PP
34
 
\fBrndc\fR communicates with the name server
35
 
over a TCP connection, sending commands authenticated with
36
 
digital signatures. In the current versions of
37
 
\fBrndc\fR and \fBnamed\fR, 
38
 
the only supported authentication algorithm is HMAC-MD5,
39
 
which uses a shared secret on each end of the connection.
40
 
This provides TSIG-style authentication for the command
41
 
request and the name server's response. All commands sent
42
 
over the channel must be signed by a key_id known to the
43
 
server.
44
 
.PP
45
 
\fBrndc\fR reads a configuration file to
46
 
determine how to contact the name server and decide what
47
 
algorithm and key it should use.
 
36
\fBrndc\fR
 
37
controls the operation of a name server. It supersedes the
 
38
\fBndc\fR
 
39
utility that was provided in old BIND releases. If
 
40
\fBrndc\fR
 
41
is invoked with no command line options or arguments, it prints a short summary of the supported commands and the available options and their arguments.
 
42
.PP
 
43
\fBrndc\fR
 
44
communicates with the name server over a TCP connection, sending commands authenticated with digital signatures. In the current versions of
 
45
\fBrndc\fR
 
46
and
 
47
\fBnamed\fR
 
48
named the only supported authentication algorithm is HMAC\-MD5, which uses a shared secret on each end of the connection. This provides TSIG\-style authentication for the command request and the name server's response. All commands sent over the channel must be signed by a key_id known to the server.
 
49
.PP
 
50
\fBrndc\fR
 
51
reads a configuration file to determine how to contact the name server and decide what algorithm and key it should use.
48
52
.SH "OPTIONS"
49
53
.TP
50
 
\fB-c \fIconfig-file\fB\fR
51
 
Use \fIconfig-file\fR
 
54
\-c \fIconfig\-file\fR
 
55
Use
 
56
\fIconfig\-file\fR
52
57
as the configuration file instead of the default,
53
58
\fI/etc/bind/rndc.conf\fR.
54
59
.TP
55
 
\fB-k \fIkey-file\fB\fR
56
 
Use \fIkey-file\fR
 
60
\-k \fIkey\-file\fR
 
61
Use
 
62
\fIkey\-file\fR
57
63
as the key file instead of the default,
58
64
\fI/etc/rndc.key\fR. The key in
59
 
\fI/etc/rndc.key\fR will be used to authenticate
60
 
commands sent to the server if the \fIconfig-file\fR
 
65
\fI/etc/rndc.key\fR
 
66
will be used to authenticate commands sent to the server if the
 
67
\fIconfig\-file\fR
61
68
does not exist.
62
69
.TP
63
 
\fB-s \fIserver\fB\fR
64
 
\fIserver\fR is
65
 
the name or address of the server which matches a
66
 
server statement in the configuration file for
67
 
\fBrndc\fR. If no server is supplied on the
68
 
command line, the host named by the default-server clause
69
 
in the option statement of the configuration file will be
70
 
used.
 
70
\-s \fIserver\fR
 
71
\fIserver\fR
 
72
is the name or address of the server which matches a server statement in the configuration file for
 
73
\fBrndc\fR. If no server is supplied on the command line, the host named by the default\-server clause in the option statement of the configuration file will be used.
71
74
.TP
72
 
\fB-p \fIport\fB\fR
 
75
\-p \fIport\fR
73
76
Send commands to TCP port
74
 
\fIport\fR instead
75
 
of BIND 9's default control channel port, 953.
 
77
\fIport\fR
 
78
instead of BIND 9's default control channel port, 953.
76
79
.TP
77
 
\fB-V\fR
 
80
\-V
78
81
Enable verbose logging.
79
82
.TP
80
 
\fB-y \fIkeyid\fB\fR
81
 
Use the key \fIkeyid\fR
 
83
\-y \fIkeyid\fR
 
84
Use the key
 
85
\fIkeyid\fR
82
86
from the configuration file.
83
 
\fIkeyid\fR must be
84
 
known by named with the same algorithm and secret string
85
 
in order for control message validation to succeed.
86
 
If no \fIkeyid\fR
87
 
is specified, \fBrndc\fR will first look
88
 
for a key clause in the server statement of the server
89
 
being used, or if no server statement is present for that
90
 
host, then the default-key clause of the options statement.
91
 
Note that the configuration file contains shared secrets
92
 
which are used to send authenticated control commands
93
 
to name servers. It should therefore not have general read
94
 
or write access.
95
 
.PP
96
 
For the complete set of commands supported by \fBrndc\fR,
97
 
see the BIND 9 Administrator Reference Manual or run
98
 
\fBrndc\fR without arguments to see its help message.
99
 
.PP
 
87
\fIkeyid\fR
 
88
must be known by named with the same algorithm and secret string in order for control message validation to succeed. If no
 
89
\fIkeyid\fR
 
90
is specified,
 
91
\fBrndc\fR
 
92
will first look for a key clause in the server statement of the server being used, or if no server statement is present for that host, then the default\-key clause of the options statement. Note that the configuration file contains shared secrets which are used to send authenticated control commands to name servers. It should therefore not have general read or write access.
 
93
.PP
 
94
For the complete set of commands supported by
 
95
\fBrndc\fR, see the BIND 9 Administrator Reference Manual or run
 
96
\fBrndc\fR
 
97
without arguments to see its help message.
100
98
.SH "LIMITATIONS"
101
99
.PP
102
 
\fBrndc\fR does not yet support all the commands of
103
 
the BIND 8 \fBndc\fR utility.
 
100
\fBrndc\fR
 
101
does not yet support all the commands of the BIND 8
 
102
\fBndc\fR
 
103
utility.
104
104
.PP
105
105
There is currently no way to provide the shared secret for a
106
 
\fBkey_id\fR without using the configuration file.
 
106
\fBkey_id\fR
 
107
without using the configuration file.
107
108
.PP
108
109
Several error messages could be clearer.
109
110
.SH "SEE ALSO"
110
111
.PP
111
112
\fBrndc.conf\fR(5),
112
113
\fBnamed\fR(8),
113
 
\fBnamed.conf\fR(5)
114
 
\fBndc\fR(8),
115
 
\fIBIND 9 Administrator Reference Manual\fR.
 
114
\fBnamed.conf\fR(5)\fBndc\fR(8),
 
115
BIND 9 Administrator Reference Manual.
116
116
.SH "AUTHOR"
117
117
.PP
118
118
Internet Systems Consortium