Changeset fe3b285
- Timestamp:
- 12/02/2002 11:00:41 PM (22 years ago)
- Branches:
- 10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 12.2, 6.0, 6.1, 6.2, 6.2.0, 6.2.0-rc1, 6.2.0-rc2, 6.3, 6.3-rc1, 6.3-rc2, 6.3-rc3, 7.10, 7.4, 7.5, 7.6, 7.6-blfs, 7.6-systemd, 7.7, 7.8, 7.9, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, basic, bdubbs/svn, elogind, gimp3, gnome, kde5-13430, kde5-14269, kde5-14686, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, krejzi/svn, lazarus, lxqt, nosym, perl-modules, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, systemd-11177, systemd-13485, trunk, upgradedb, v1_0, v5_0, v5_0-pre1, v5_1, v5_1-pre1, xry111/for-12.3, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/spidermonkey128, xry111/test-20220226, xry111/xf86-video-removal
- Children:
- f14c264
- Parents:
- 17ced16
- Location:
- server/other/bind
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
server/other/bind/bind-config-exp.xml
r17ced16 rfe3b285 23 23 Create a single zone file.</para> 24 24 <para><userinput> 25 cat > /home/named/etc/namedb/root.hints <<"EOF" :</userinput>25 cat > /home/named/etc/namedb/root.hints << "EOF" :</userinput> 26 26 The root.hints file is a list of root nameservers. This file must be 27 27 updated periodically with the dig utility. Consult the BIND 9 28 28 Administrator Reference Manual for details.</para> 29 29 <para><userinput> 30 cat > /etc/rndc.conf <<"EOF" :</userinput>30 cat > /etc/rndc.conf << "EOF" :</userinput> 31 31 The rncd.conf file contains information for controlling named 32 32 operations with the rndc utility.</para> 33 33 34 34 <para><userinput> 35 cat > /etc/resolv.conf <<"EOF" :</userinput>35 cat > /etc/resolv.conf << "EOF" :</userinput> 36 36 The resolv.conf file will specify the local host(127.0.0.1) as the 37 37 nameserver.</para> 38 38 39 39 <para><userinput> 40 cat > /etc/rc.d/init.d/bind <<"EOF" :</userinput>40 cat > /etc/rc.d/init.d/bind << "EOF" :</userinput> 41 41 Create the boot script for BIND 9, used to start and stop the name 42 42 server daemon, named.</para> -
server/other/bind/bind-config.xml
r17ced16 rfe3b285 26 26 <para>Create the named.conf file with the following commands:</para> 27 27 <para><screen><userinput> 28 cat > /home/named/etc/named.conf <<"EOF"28 cat > /home/named/etc/named.conf << "EOF" 29 29 options { 30 30 directory "/etc/namedb"; … … 52 52 <para>Create a zone file with the following contents: </para> 53 53 <para><screen><userinput> 54 cat > /home/named/etc/namedb/pz/127.0.0 << "EOF"54 cat > /home/named/etc/namedb/pz/127.0.0 << "EOF" 55 55 $TTL 3D 56 56 @ IN SOA ns.local.domain. hostmaster.local.domain. ( … … 69 69 file.</para></note> 70 70 <para><screen><userinput> 71 cat > /home/named/etc/namedb/root.hints <<"EOF"71 cat > /home/named/etc/namedb/root.hints << "EOF" 72 72 . 6D IN NS A.ROOT-SERVERS.NET. 73 73 . 6D IN NS B.ROOT-SERVERS.NET. … … 101 101 <para>Create the rndc.conf with the following commands:</para> 102 102 <para><screen><userinput> 103 cat > /etc/rndc.conf <<"EOF"103 cat > /etc/rndc.conf << "EOF" 104 104 key rndc_key { 105 105 algorithm "hmac-md5"; … … 121 121 <para><screen><userinput> 122 122 cp /etc/resolv.conf /etc/resolv.conf.bak 123 cat > /etc/resolv.conf <<"EOF"123 cat > /etc/resolv.conf << "EOF" 124 124 search yourdomain.com 125 125 nameserver 127.0.0.1 … … 176 176 <para>Add the run level symlinks:</para> 177 177 <para><screen><userinput> 178 chmod 754 /etc/rc.d/init.d/bind & &179 ln -s /etc/rc.d/init.d/bind /etc/rc.d/rc0.d/K49bind & &180 ln -s /etc/rc.d/init.d/bind /etc/rc.d/rc1.d/K49bind & &181 ln -s /etc/rc.d/init.d/bind /etc/rc.d/rc2.d/K49bind & &182 ln -s /etc/rc.d/init.d/bind /etc/rc.d/rc3.d/S22bind & &183 ln -s /etc/rc.d/init.d/bind /etc/rc.d/rc4.d/S22bind & &184 ln -s /etc/rc.d/init.d/bind /etc/rc.d/rc5.d/S22bind & &178 chmod 754 /etc/rc.d/init.d/bind && 179 ln -s /etc/rc.d/init.d/bind /etc/rc.d/rc0.d/K49bind && 180 ln -s /etc/rc.d/init.d/bind /etc/rc.d/rc1.d/K49bind && 181 ln -s /etc/rc.d/init.d/bind /etc/rc.d/rc2.d/K49bind && 182 ln -s /etc/rc.d/init.d/bind /etc/rc.d/rc3.d/S22bind && 183 ln -s /etc/rc.d/init.d/bind /etc/rc.d/rc4.d/S22bind && 184 ln -s /etc/rc.d/init.d/bind /etc/rc.d/rc5.d/S22bind && 185 185 ln -s /etc/rc.d/init.d/bind /etc/rc.d/rc6.d/K49bind 186 186 </userinput></screen></para>
Note:
See TracChangeset
for help on using the changeset viewer.