From fe3b2855553b401299df6fde043f6d00806a80b5 Mon Sep 17 00:00:00 2001 From: Billy O 'Connor Date: Mon, 2 Dec 2002 23:00:41 +0000 Subject: [PATCH] xml cleanups, more <<'s and &&'s. git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@431 af4574ff-66df-0310-9fd7-8a98e5e911e0 --- server/other/bind/bind-config-exp.xml | 8 ++++---- server/other/bind/bind-config.xml | 24 ++++++++++++------------ 2 files changed, 16 insertions(+), 16 deletions(-) diff --git a/server/other/bind/bind-config-exp.xml b/server/other/bind/bind-config-exp.xml index 50d578e0c6..84b25e4659 100644 --- a/server/other/bind/bind-config-exp.xml +++ b/server/other/bind/bind-config-exp.xml @@ -22,22 +22,22 @@ location of zone files, root nameservers and secure DNS keys. cat > /home/named/etc/namedb/pz/127.0.0 << "EOF" : Create a single zone file. -cat > /home/named/etc/namedb/root.hints << "EOF" : +cat > /home/named/etc/namedb/root.hints << "EOF" : 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. -cat > /etc/rndc.conf << "EOF" : +cat > /etc/rndc.conf << "EOF" : The rncd.conf file contains information for controlling named operations with the rndc utility. -cat > /etc/resolv.conf << "EOF" : +cat > /etc/resolv.conf << "EOF" : The resolv.conf file will specify the local host(127.0.0.1) as the nameserver. -cat > /etc/rc.d/init.d/bind << "EOF" : +cat > /etc/rc.d/init.d/bind << "EOF" : Create the boot script for BIND 9, used to start and stop the name server daemon, named. diff --git a/server/other/bind/bind-config.xml b/server/other/bind/bind-config.xml index b91cb811b0..17c18603f3 100644 --- a/server/other/bind/bind-config.xml +++ b/server/other/bind/bind-config.xml @@ -25,7 +25,7 @@ cp /etc/localtime /home/named/etc Create the named.conf file with the following commands: -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 @@ EOF Create a zone file with the following contents: -cat > /home/named/etc/namedb/pz/127.0.0 << "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 @@ EOF Caution must be used to insure no leading spaces in this file. -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 @@ EOF Create the rndc.conf with the following commands: -cat > /etc/rndc.conf << "EOF" +cat > /etc/rndc.conf << "EOF" key rndc_key { algorithm "hmac-md5"; secret @@ -120,7 +120,7 @@ name. 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 @@ EOF Add the run level symlinks: -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