source: server/other/bind/bind-config-exp.xml@ 14951df

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 14951df was 14951df, checked in by Larry Lawrence <larry@…>, 22 years ago

format edited some exp and desc sections

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

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