commit bb9374c86e4685aed477a7cc893263301717ab5e
Author: Stephen Wadeley <swadeley(a)redhat.com>
Date: Mon Jun 17 23:58:13 2013 +0200
[Bug 922608] Setting up named-chroot using setup-named-chroot
en-US/BIND.xml | 23 +++++++++++++++++++++++
1 files changed, 23 insertions(+), 0 deletions(-)
---
diff --git a/en-US/BIND.xml b/en-US/BIND.xml
index 89ceb93..4605fe3 100644
--- a/en-US/BIND.xml
+++ b/en-US/BIND.xml
@@ -93,6 +93,29 @@
If you have installed the <package>bind-chroot</package> package, the
BIND service will run in the <filename
class="directory">/var/named/chroot</filename> environment. In that
case, the initialization script will mount the above configuration files using the
<command>mount --bind</command> command, so that you can manage the
configuration outside this environment.
</para>
</note>
+ <section id="s3-Installing_Bind_In_A_Chroot_Environment">
+<title>Installing BIND In A Chroot Environment</title>
+<para>
+To install <application>BIND</application> to run in a chroot environment,
issue the following commands as root:
+ <screen>~]# <command>yum install
bind-chroot</command></screen>
+ </para>
+ <para>
+ To enable the <systemitem
class="daemon">named-chroot</systemitem> service, first check if the
<systemitem class="daemon">named</systemitem> service is running by
issuing the following command:
+ <screen>~]$ <command>systemctl status
named</command></screen>
+ If it is running, it must be disabled.</para>
+ <para>
+ To disable <systemitem class="daemon">named</systemitem>, issue
the following commands as root:
+ <screen>~]# <command>systemctl stop named</command></screen>
+<screen>~]# <command>systemctl disable named</command></screen>
+Then, to enable the <systemitem
class="daemon">named-chroot</systemitem> service, issue the following
commands as root:
+<screen>~]# <command>systemctl enable
named-chroot</command></screen>
+<screen>~]# <command>systemctl start
named-chroot</command></screen>
+ </para>
+ <para>
+ To check the status of the named-chroot service, issue the following command as
root:
+ <screen>~]# <command>systemctl status
named-chroot</command></screen>
+ </para>
+ </section>
<section id="s3-bind-namedconf-state">
<title>Common Statement Types</title>
<para>
Show replies by date