cvs commit: BLFS/BOOK/server/other/bind bind-config-exp.xml bind-config.xml

billyoc at linuxfromscratch.org billyoc at linuxfromscratch.org
Mon Dec 2 15:00:41 PST 2002


billyoc     02/12/02 18:00:41

  Modified:    BOOK/server/other/bind bind-config-exp.xml bind-config.xml
  Log:
  xml cleanups, more <<'s and &&'s.
  
  Revision  Changes    Path
  1.3       +4 -4      BLFS/BOOK/server/other/bind/bind-config-exp.xml
  
  Index: bind-config-exp.xml
  ===================================================================
  RCS file: /home/cvsroot/BLFS/BOOK/server/other/bind/bind-config-exp.xml,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- bind-config-exp.xml	26 Sep 2002 03:28:43 -0000	1.2
  +++ bind-config-exp.xml	2 Dec 2002 23:00:41 -0000	1.3
  @@ -22,22 +22,22 @@
   cat > /home/named/etc/namedb/pz/127.0.0 << "EOF" :</userinput>
   Create a single zone file.</para>
   <para><userinput>
  -cat > /home/named/etc/namedb/root.hints << "EOF" :</userinput>
  +cat > /home/named/etc/namedb/root.hints << "EOF" :</userinput>
   The root.hints file is a list of root nameservers.  This file must be
   updated periodically with the dig utility.  Consult the BIND 9
   Administrator Reference Manual for details.</para>
   <para><userinput>
  -cat > /etc/rndc.conf << "EOF" :</userinput>
  +cat > /etc/rndc.conf << "EOF" :</userinput>
   The rncd.conf file contains information for controlling named
   operations with the rndc utility.</para>
   
   <para><userinput>
  -cat > /etc/resolv.conf << "EOF" :</userinput>
  +cat > /etc/resolv.conf << "EOF" :</userinput>
   The resolv.conf file will specify the local host(127.0.0.1) as the
   nameserver.</para>
   
   <para><userinput>
  -cat > /etc/rc.d/init.d/bind << "EOF" :</userinput>
  +cat > /etc/rc.d/init.d/bind << "EOF" :</userinput>
   Create the boot script for BIND 9, used to start and stop the name
   server daemon, named.</para>
   
  
  
  
  1.5       +12 -12    BLFS/BOOK/server/other/bind/bind-config.xml
  
  Index: bind-config.xml
  ===================================================================
  RCS file: /home/cvsroot/BLFS/BOOK/server/other/bind/bind-config.xml,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- bind-config.xml	27 Nov 2002 15:43:53 -0000	1.4
  +++ bind-config.xml	2 Dec 2002 23:00:41 -0000	1.5
  @@ -25,7 +25,7 @@
   
   <para>Create the named.conf file with the following commands:</para>
   <para><screen><userinput>
  -cat > /home/named/etc/named.conf << "EOF"
  +cat > /home/named/etc/named.conf << "EOF"
    options {
        directory "/etc/namedb";
       pid-file "/var/run/named.pid";
  @@ -51,7 +51,7 @@
   </userinput></screen></para>
   <para>Create a zone file with the following contents: </para>
   <para><screen><userinput>
  -cat > /home/named/etc/namedb/pz/127.0.0 <&lt "EOF"
  +cat > /home/named/etc/namedb/pz/127.0.0 << "EOF"
   $TTL 3D
   @      IN      SOA     ns.local.domain. hostmaster.local.domain. (
                           1       ; Serial
  @@ -68,7 +68,7 @@
   <note><para>Caution must be used to insure no leading spaces in this
   file.</para></note>
   <para><screen><userinput>
  -cat > /home/named/etc/namedb/root.hints << "EOF"
  +cat > /home/named/etc/namedb/root.hints << "EOF"
   .                       6D  IN      NS      A.ROOT-SERVERS.NET.
   .                       6D  IN      NS      B.ROOT-SERVERS.NET.
   .                       6D  IN      NS      C.ROOT-SERVERS.NET.
  @@ -100,7 +100,7 @@
   
   <para>Create the rndc.conf with the following commands:</para>
   <para><screen><userinput>
  -cat > /etc/rndc.conf << "EOF"
  +cat > /etc/rndc.conf << "EOF"
   key rndc_key {
   algorithm "hmac-md5";
       secret
  @@ -120,7 +120,7 @@
   
   <para><screen><userinput>
   cp /etc/resolv.conf /etc/resolv.conf.bak
  -cat > /etc/resolv.conf << "EOF"
  +cat > /etc/resolv.conf << "EOF"
   search yourdomain.com
   nameserver 127.0.0.1
   EOF
  @@ -175,13 +175,13 @@
   
   <para>Add the run level symlinks:</para>
   <para><screen><userinput>
  -chmod 754 /etc/rc.d/init.d/bind &&
  -ln -s  /etc/rc.d/init.d/bind /etc/rc.d/rc0.d/K49bind &&
  -ln -s  /etc/rc.d/init.d/bind /etc/rc.d/rc1.d/K49bind &&
  -ln -s  /etc/rc.d/init.d/bind /etc/rc.d/rc2.d/K49bind &&
  -ln -s  /etc/rc.d/init.d/bind /etc/rc.d/rc3.d/S22bind &&
  -ln -s  /etc/rc.d/init.d/bind /etc/rc.d/rc4.d/S22bind &&
  -ln -s  /etc/rc.d/init.d/bind /etc/rc.d/rc5.d/S22bind &&
  +chmod 754 /etc/rc.d/init.d/bind &&
  +ln -s  /etc/rc.d/init.d/bind /etc/rc.d/rc0.d/K49bind &&
  +ln -s  /etc/rc.d/init.d/bind /etc/rc.d/rc1.d/K49bind &&
  +ln -s  /etc/rc.d/init.d/bind /etc/rc.d/rc2.d/K49bind &&
  +ln -s  /etc/rc.d/init.d/bind /etc/rc.d/rc3.d/S22bind &&
  +ln -s  /etc/rc.d/init.d/bind /etc/rc.d/rc4.d/S22bind &&
  +ln -s  /etc/rc.d/init.d/bind /etc/rc.d/rc5.d/S22bind &&
   ln -s  /etc/rc.d/init.d/bind /etc/rc.d/rc6.d/K49bind
   </userinput></screen></para>
   
  
  
  
-- 
Unsubscribe: send email to listar at linuxfromscratch.org
and put 'unsubscribe blfs-book' in the subject header of the message



More information about the blfs-book mailing list