~ubuntu-branches/ubuntu/maverick/bind9/maverick

« back to all changes in this revision

Viewing changes to bin/rndc/rndc.docbook

  • Committer: Bazaar Package Importer
  • Author(s): LaMont Jones, LaMont Jones, Internet Software Consortium, Inc, localization folks
  • Date: 2008-08-02 14:20:20 UTC
  • mfrom: (1.2.1 upstream) (6.1.24 intrepid)
  • Revision ID: james.westby@ubuntu.com-20080802142020-l1hon9jy8lbbjxmg
[LaMont Jones]

* default to using resolvconf if it is installed
* fix sonames and dependencies.  Closes: #149259, #492418
* Do not build-depend libcap2-dev on non-linux.  Closes: #493392
* drop unused query-loc manpage.  Closes: #492564
* lwresd: Deliver /etc/bind directory.  Closes: #490027
* fix query-source comment in default install

[Internet Software Consortium, Inc]

* 9.5.0-P2.  Closes: #492949

[localization folks]

* l10n: Spanish debconf translation.  Closes: #492425 (Ignacio Mondino)
* l10n: Swedish debconf templates.  Closes: #491369 (Martin Ågren)
* l10n: Japanese debconf translations.  Closes: #492048 (Hideki Yamane
  (Debian-JP))
* l10n: Finnish translation.  Closes: #490630 (Esko Arajärvi)
* l10n: Italian debconf translations.  Closes: #492587 (Alessandro Vietta)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.0//EN"
2
 
               "http://www.oasis-open.org/docbook/xml/4.0/docbookx.dtd"
 
1
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
 
2
               "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd"
3
3
               [<!ENTITY mdash "&#8212;">]>
4
4
<!--
5
 
 - Copyright (C) 2004, 2005  Internet Systems Consortium, Inc. ("ISC")
 
5
 - Copyright (C) 2004, 2005, 2007  Internet Systems Consortium, Inc. ("ISC")
6
6
 - Copyright (C) 2000, 2001  Internet Software Consortium.
7
7
 -
8
 
 - Permission to use, copy, modify, and distribute this software for any
 
8
 - Permission to use, copy, modify, and/or distribute this software for any
9
9
 - purpose with or without fee is hereby granted, provided that the above
10
10
 - copyright notice and this permission notice appear in all copies.
11
11
 -
18
18
 - PERFORMANCE OF THIS SOFTWARE.
19
19
-->
20
20
 
21
 
<!-- $Id: rndc.docbook,v 1.7.206.4 2005/05/12 21:36:05 sra Exp $ -->
22
 
 
23
 
<refentry>
 
21
<!-- $Id: rndc.docbook,v 1.21 2007/12/14 20:39:14 marka Exp $ -->
 
22
<refentry id="man.rndc">
24
23
  <refentryinfo>
25
24
    <date>June 30, 2000</date>
26
25
  </refentryinfo>
31
30
    <refmiscinfo>BIND9</refmiscinfo>
32
31
  </refmeta>
33
32
 
 
33
  <refnamediv>
 
34
    <refname><application>rndc</application></refname>
 
35
    <refpurpose>name server control utility</refpurpose>
 
36
  </refnamediv>
 
37
 
34
38
  <docinfo>
35
39
    <copyright>
36
40
      <year>2004</year>
37
41
      <year>2005</year>
 
42
      <year>2007</year>
38
43
      <holder>Internet Systems Consortium, Inc. ("ISC")</holder>
39
44
    </copyright>
40
45
    <copyright>
44
49
    </copyright>
45
50
  </docinfo>
46
51
 
47
 
  <refnamediv>
48
 
    <refname><application>rndc</application></refname>
49
 
    <refpurpose>name server control utility</refpurpose>
50
 
  </refnamediv>
51
 
 
52
52
  <refsynopsisdiv>
53
53
    <cmdsynopsis>
54
54
      <command>rndc</command>
 
55
      <arg><option>-b <replaceable class="parameter">source-address</replaceable></option></arg>
55
56
      <arg><option>-c <replaceable class="parameter">config-file</replaceable></option></arg>
56
57
      <arg><option>-k <replaceable class="parameter">key-file</replaceable></option></arg>
57
58
      <arg><option>-s <replaceable class="parameter">server</replaceable></option></arg>
64
65
 
65
66
  <refsect1>
66
67
    <title>DESCRIPTION</title>
67
 
    <para>
68
 
        <command>rndc</command> controls the operation of a name
69
 
        server.  It supersedes the <command>ndc</command> utility
70
 
        that was provided in old BIND releases.  If
71
 
        <command>rndc</command> is invoked with no command line
72
 
        options or arguments, it prints a short summary of the
73
 
        supported commands and the available options and their
74
 
        arguments.
75
 
    </para>
76
 
    <para>
77
 
        <command>rndc</command> communicates with the name server
78
 
        over a TCP connection, sending commands authenticated with
79
 
        digital signatures.  In the current versions of
80
 
        <command>rndc</command> and <command>named</command> named
81
 
        the only supported authentication algorithm is HMAC-MD5,
82
 
        which uses a shared secret on each end of the connection.
83
 
        This provides TSIG-style authentication for the command
84
 
        request and the name server's response.  All commands sent
85
 
        over the channel must be signed by a key_id known to the
86
 
        server.
87
 
    </para>
88
 
    <para>
89
 
        <command>rndc</command> reads a configuration file to
90
 
        determine how to contact the name server and decide what
91
 
        algorithm and key it should use.
 
68
    <para><command>rndc</command>
 
69
      controls the operation of a name
 
70
      server.  It supersedes the <command>ndc</command> utility
 
71
      that was provided in old BIND releases.  If
 
72
      <command>rndc</command> is invoked with no command line
 
73
      options or arguments, it prints a short summary of the
 
74
      supported commands and the available options and their
 
75
      arguments.
 
76
    </para>
 
77
    <para><command>rndc</command>
 
78
      communicates with the name server
 
79
      over a TCP connection, sending commands authenticated with
 
80
      digital signatures.  In the current versions of
 
81
      <command>rndc</command> and <command>named</command>,
 
82
      the only supported authentication algorithm is HMAC-MD5,
 
83
      which uses a shared secret on each end of the connection.
 
84
      This provides TSIG-style authentication for the command
 
85
      request and the name server's response.  All commands sent
 
86
      over the channel must be signed by a key_id known to the
 
87
      server.
 
88
    </para>
 
89
    <para><command>rndc</command>
 
90
      reads a configuration file to
 
91
      determine how to contact the name server and decide what
 
92
      algorithm and key it should use.
92
93
    </para>
93
94
  </refsect1>
94
95
 
97
98
 
98
99
    <variablelist>
99
100
      <varlistentry>
 
101
        <term>-b <replaceable class="parameter">source-address</replaceable></term>
 
102
        <listitem>
 
103
          <para>
 
104
            Use <replaceable class="parameter">source-address</replaceable>
 
105
            as the source address for the connection to the server.
 
106
            Multiple instances are permitted to allow setting of both
 
107
            the IPv4 and IPv6 source addresses.
 
108
          </para>
 
109
        </listitem>
 
110
      </varlistentry>
 
111
 
 
112
      <varlistentry>
100
113
        <term>-c <replaceable class="parameter">config-file</replaceable></term>
101
 
        <listitem>
102
 
          <para>
103
 
              Use <replaceable class="parameter">config-file</replaceable>
104
 
              as the configuration file instead of the default,
105
 
              <filename>/etc/rndc.conf</filename>.
106
 
          </para>
107
 
        </listitem>
 
114
        <listitem>
 
115
          <para>
 
116
            Use <replaceable class="parameter">config-file</replaceable>
 
117
            as the configuration file instead of the default,
 
118
            <filename>/etc/rndc.conf</filename>.
 
119
          </para>
 
120
        </listitem>
108
121
      </varlistentry>
109
122
 
110
123
      <varlistentry>
111
124
        <term>-k <replaceable class="parameter">key-file</replaceable></term>
112
 
        <listitem>
113
 
          <para>
114
 
              Use <replaceable class="parameter">key-file</replaceable>
115
 
              as the key file instead of the default,
116
 
              <filename>/etc/rndc.key</filename>.  The key in
117
 
              <filename>/etc/rndc.key</filename> will be used to authenticate
118
 
              commands sent to the server if the <replaceable class="parameter">config-file</replaceable>
119
 
              does not exist.
120
 
          </para>
121
 
        </listitem>
 
125
        <listitem>
 
126
          <para>
 
127
            Use <replaceable class="parameter">key-file</replaceable>
 
128
            as the key file instead of the default,
 
129
            <filename>/etc/rndc.key</filename>.  The key in
 
130
            <filename>/etc/rndc.key</filename> will be used to
 
131
            authenticate
 
132
            commands sent to the server if the <replaceable class="parameter">config-file</replaceable>
 
133
            does not exist.
 
134
          </para>
 
135
        </listitem>
122
136
      </varlistentry>
123
137
 
124
138
      <varlistentry>
125
139
        <term>-s <replaceable class="parameter">server</replaceable></term>
126
 
        <listitem>
127
 
          <para>
128
 
               <replaceable class="parameter">server</replaceable> is
129
 
               the name or address of the server which matches a
130
 
               server statement in the configuration file for
131
 
               <command>rndc</command>.  If no server is supplied on the
132
 
               command line, the host named by the default-server clause
133
 
               in the option statement of the configuration file will be
134
 
               used.
135
 
          </para>
136
 
        </listitem>
 
140
        <listitem>
 
141
          <para><replaceable class="parameter">server</replaceable> is
 
142
            the name or address of the server which matches a
 
143
            server statement in the configuration file for
 
144
            <command>rndc</command>.  If no server is supplied on the
 
145
            command line, the host named by the default-server clause
 
146
            in the options statement of the <command>rndc</command>
 
147
            configuration file will be used.
 
148
          </para>
 
149
        </listitem>
137
150
      </varlistentry>
138
151
 
139
152
      <varlistentry>
140
153
        <term>-p <replaceable class="parameter">port</replaceable></term>
141
 
        <listitem>
142
 
          <para>
143
 
               Send commands to TCP port
144
 
               <replaceable class="parameter">port</replaceable> instead
145
 
               of BIND 9's default control channel port, 953.
146
 
          </para>
147
 
        </listitem>
 
154
        <listitem>
 
155
          <para>
 
156
            Send commands to TCP port
 
157
            <replaceable class="parameter">port</replaceable>
 
158
            instead
 
159
            of BIND 9's default control channel port, 953.
 
160
          </para>
 
161
        </listitem>
148
162
      </varlistentry>
149
163
 
150
164
      <varlistentry>
151
165
        <term>-V</term>
152
 
        <listitem>
153
 
          <para>
154
 
               Enable verbose logging.
155
 
          </para>
156
 
        </listitem>
 
166
        <listitem>
 
167
          <para>
 
168
            Enable verbose logging.
 
169
          </para>
 
170
        </listitem>
157
171
      </varlistentry>
158
172
 
159
173
      <varlistentry>
160
 
        <term>-y <replaceable class="parameter">keyid</replaceable></term>
161
 
        <listitem>
162
 
          <para>
163
 
               Use the key <replaceable class="parameter">keyid</replaceable>
164
 
               from the configuration file.
165
 
               <replaceable class="parameter">keyid</replaceable> must be
166
 
               known by named with the same algorithm and secret string
167
 
               in order for control message validation to succeed.
168
 
               If no <replaceable class="parameter">keyid</replaceable>
169
 
               is specified, <command>rndc</command> will first look
170
 
               for a key clause in the server statement of the server
171
 
               being used, or if no server statement is present for that
172
 
               host, then the default-key clause of the options statement.
173
 
               Note that the configuration file contains shared secrets
174
 
               which are used to send authenticated control commands
175
 
               to name servers.  It should therefore not have general read
176
 
               or write access.
177
 
          </para>
178
 
        </listitem>
 
174
        <term>-y <replaceable class="parameter">key_id</replaceable></term>
 
175
        <listitem>
 
176
          <para>
 
177
            Use the key <replaceable class="parameter">key_id</replaceable>
 
178
            from the configuration file.
 
179
            <replaceable class="parameter">key_id</replaceable>
 
180
            must be
 
181
            known by named with the same algorithm and secret string
 
182
            in order for control message validation to succeed.
 
183
            If no <replaceable class="parameter">key_id</replaceable>
 
184
            is specified, <command>rndc</command> will first look
 
185
            for a key clause in the server statement of the server
 
186
            being used, or if no server statement is present for that
 
187
            host, then the default-key clause of the options statement.
 
188
            Note that the configuration file contains shared secrets
 
189
            which are used to send authenticated control commands
 
190
            to name servers.  It should therefore not have general read
 
191
            or write access.
 
192
          </para>
 
193
        </listitem>
179
194
      </varlistentry>
180
195
 
181
196
    </variablelist>
183
198
    <para>
184
199
      For the complete set of commands supported by <command>rndc</command>,
185
200
      see the BIND 9 Administrator Reference Manual or run
186
 
      <command>rndc</command> without arguments to see its help message.
 
201
      <command>rndc</command> without arguments to see its help
 
202
      message.
187
203
    </para>
188
204
 
189
205
  </refsect1>
190
206
 
191
207
  <refsect1>
192
208
    <title>LIMITATIONS</title>
193
 
    <para>
194
 
        <command>rndc</command> does not yet support all the commands of
195
 
        the BIND 8 <command>ndc</command> utility.
196
 
    </para>
197
 
    <para>
198
 
        There is currently no way to provide the shared secret for a
199
 
        <option>key_id</option> without using the configuration file.
200
 
    </para>
201
 
    <para>
202
 
        Several error messages could be clearer.
 
209
    <para><command>rndc</command>
 
210
      does not yet support all the commands of
 
211
      the BIND 8 <command>ndc</command> utility.
 
212
    </para>
 
213
    <para>
 
214
      There is currently no way to provide the shared secret for a
 
215
      <option>key_id</option> without using the configuration file.
 
216
    </para>
 
217
    <para>
 
218
      Several error messages could be clearer.
203
219
    </para>
204
220
  </refsect1>
205
221
 
206
222
  <refsect1>
207
223
    <title>SEE ALSO</title>
208
 
    <para>
209
 
      <citerefentry>
210
 
        <refentrytitle>rndc.conf</refentrytitle>
211
 
        <manvolnum>5</manvolnum>
212
 
      </citerefentry>,
213
 
      <citerefentry>
214
 
        <refentrytitle>named</refentrytitle>
215
 
        <manvolnum>8</manvolnum>
216
 
      </citerefentry>,
217
 
      <citerefentry>
218
 
        <refentrytitle>named.conf</refentrytitle>
219
 
        <manvolnum>5</manvolnum>
220
 
      </citerefentry>
221
 
      <citerefentry>
222
 
        <refentrytitle>ndc</refentrytitle>
223
 
        <manvolnum>8</manvolnum>
 
224
    <para><citerefentry>
 
225
        <refentrytitle>rndc.conf</refentrytitle><manvolnum>5</manvolnum>
 
226
      </citerefentry>,
 
227
      <citerefentry>
 
228
        <refentrytitle>rndc-confgen</refentrytitle><manvolnum>8</manvolnum>
 
229
      </citerefentry>,
 
230
      <citerefentry>
 
231
        <refentrytitle>named</refentrytitle><manvolnum>8</manvolnum>
 
232
      </citerefentry>,
 
233
      <citerefentry>
 
234
        <refentrytitle>named.conf</refentrytitle><manvolnum>5</manvolnum>
 
235
      </citerefentry>,
 
236
      <citerefentry>
 
237
        <refentrytitle>ndc</refentrytitle><manvolnum>8</manvolnum>
224
238
      </citerefentry>,
225
239
      <citetitle>BIND 9 Administrator Reference Manual</citetitle>.
226
240
    </para>
228
242
 
229
243
  <refsect1>
230
244
    <title>AUTHOR</title>
231
 
    <para>
232
 
        <corpauthor>Internet Systems Consortium</corpauthor>
 
245
    <para><corpauthor>Internet Systems Consortium</corpauthor>
233
246
    </para>
234
247
  </refsect1>
235
248
 
236
 
</refentry>
237
 
 
238
 
<!--
 
249
</refentry><!--
239
250
 - Local variables:
240
251
 - mode: sgml
241
252
 - End:
242
253
-->
243