From 588372b8537a15ec888d1edf99a165b02badd81c Mon Sep 17 00:00:00 2001
From: Andreas Gustafsson
Date: Tue, 11 Sep 2001 19:18:12 +0000
Subject: [PATCH] note that the configuration generated by rndc-confgen -a
works on the local host only (as suggested by Tale)
---
bin/rndc/rndc-confgen.8 | 12 +++++++++++-
bin/rndc/rndc-confgen.docbook | 15 +++++++++++++--
bin/rndc/rndc-confgen.html | 34 ++++++++++++++++++++++++++++++----
3 files changed, 54 insertions(+), 7 deletions(-)
diff --git a/bin/rndc/rndc-confgen.8 b/bin/rndc/rndc-confgen.8
index de370d5d6f..c2e4234cdc 100644
--- a/bin/rndc/rndc-confgen.8
+++ b/bin/rndc/rndc-confgen.8
@@ -46,13 +46,23 @@ and \fBnamed\fR on startup. The
\fIrndc.key\fR file defines a default
command channel and authentication key allowing
\fBrndc\fR to communicate with
-\fBnamed\fR with no further configuration.
+\fBnamed\fR on the local host
+with no further configuration.
Running \fBrndc-confgen -a\fR 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
\fInamed.conf\fR file.
+
+If a more elaborate configuration than that
+generated by \fBrndc-confgen -a\fR
+is required, for example if rndc is to be used remotely,
+you should run \fBrndc-confgen\fR without the
+\fB-a\fR option and set up a
+\fIrndc.conf\fR and
+\fInamed.conf\fR
+as directed.
.TP
\fB-b \fIkeysize\fB\fR
Specifies the size of the authentication key in bits.
diff --git a/bin/rndc/rndc-confgen.docbook b/bin/rndc/rndc-confgen.docbook
index 0f250bbe19..0717d23352 100644
--- a/bin/rndc/rndc-confgen.docbook
+++ b/bin/rndc/rndc-confgen.docbook
@@ -16,7 +16,7 @@
- WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-->
-
+
@@ -86,7 +86,8 @@
rndc.key file defines a default
command channel and authentication key allowing
rndc to communicate with
- named with no further configuration.
+ named on the local host
+ with no further configuration.
Running rndc-confgen -a allows
@@ -95,6 +96,16 @@
with no changes to the existing BIND 8
named.conf file.
+
+ If a more elaborate configuration than that
+ generated by rndc-confgen -a
+ is required, for example if rndc is to be used remotely,
+ you should run rndc-confgen without the
+ -a option and set up a
+ rndc.conf and
+ named.conf
+ as directed.
+
diff --git a/bin/rndc/rndc-confgen.html b/bin/rndc/rndc-confgen.html
index 7c5069201d..74a1217ae3 100644
--- a/bin/rndc/rndc-confgen.html
+++ b/bin/rndc/rndc-confgen.html
@@ -238,7 +238,8 @@ CLASS="COMMAND"
named with no further configuration.
+> on the local host
+ with no further configuration.
Running named.conf file.
If a more elaborate configuration than that
+ generated by rndc-confgen -a
+ is required, for example if rndc is to be used remotely,
+ you should run rndc-confgen without the
+ -a option and set up a
+ rndc.conf and
+ named.conf
+ as directed.
+