source: server/other/bind/bind-config-exp.xml@ 7319b78

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 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 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/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 7319b78 was 7319b78, checked in by Billy O 'Connor <billyoc@…>, 21 years ago

<screen> formatting fixes.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@645 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 1.6 KB
RevLine 
[366e29e1]1<sect2>
2<title>Configuration command explanations</title>
[7319b78]3<para><screen><userinput>groupadd -g 200 named
[14951df]4useradd -m -g named -u 200 -s /bin/false named
5cd /home/named
6mkdir -p dev etc/namedb/slave var/run
7mknod /home/named/dev/null c 1 3
8mknod /home/named/dev/random c 1 8
9chmod 666 /home/named/dev/{null,random}
10mkdir /home/named/etc/namedb/pz
11cp /etc/localtime /home/named/etc : </userinput></screen>
[366e29e1]12
13Create the unprivileged user and group named, along with device files
14that named will need access to inside the chroot jail.</para>
15
16<para><userinput>
[14951df]17cat &gt; /home/named/etc/named.conf &lt;&lt; "EOF" :</userinput>
[366e29e1]18Create the BIND configuration file, from which named will read the
19location of zone files, root nameservers and secure DNS keys.</para>
20<para><userinput>
[14951df]21cat &gt; /home/named/etc/namedb/pz/127.0.0 &lt;&lt; "EOF" :</userinput>
[366e29e1]22Create a single zone file.</para>
23<para><userinput>
[fe3b285]24cat &gt; /home/named/etc/namedb/root.hints &lt;&lt; "EOF" :</userinput>
[366e29e1]25The root.hints file is a list of root nameservers. This file must be
26updated periodically with the dig utility. Consult the BIND 9
27Administrator Reference Manual for details.</para>
28<para><userinput>
[fe3b285]29cat &gt; /etc/rndc.conf &lt;&lt; "EOF" :</userinput>
[f702cfc]30The rndc.conf file contains information for controlling named
[366e29e1]31operations with the rndc utility.</para>
32
33<para><userinput>
[fe3b285]34cat &gt; /etc/resolv.conf &lt;&lt; "EOF" :</userinput>
[366e29e1]35The resolv.conf file will specify the local host(127.0.0.1) as the
36nameserver.</para>
37
38<para><userinput>
[fe3b285]39cat &gt; /etc/rc.d/init.d/bind &lt;&lt; "EOF" :</userinput>
[366e29e1]40Create the boot script for BIND 9, used to start and stop the name
41server daemon, named.</para>
42
43
44
45</sect2>
46
Note: See TracBrowser for help on using the repository browser.