1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
5 | %general-entities;
|
---|
6 |
|
---|
7 | <!ENTITY bind-download-http " ">
|
---|
8 | <!ENTITY bind-download-ftp "ftp://ftp.isc.org/isc/bind9/&bind-version;/bind-&bind-version;.tar.gz">
|
---|
9 | <!ENTITY bind-md5sum "dca7a9967947bffa98547fca6130fc04">
|
---|
10 | <!ENTITY bind-size "8.1 MB">
|
---|
11 | <!ENTITY bind-buildsize "120 MB (additional 47 MB to run the test suite)">
|
---|
12 | <!ENTITY bind-time "0.9 SBU (additional 20 minutes, processor independent, to run the complete test suite)">
|
---|
13 | ]>
|
---|
14 |
|
---|
15 | <sect1 id="bind" xreflabel="BIND-&bind-version;">
|
---|
16 | <?dbhtml filename="bind.html"?>
|
---|
17 |
|
---|
18 | <sect1info>
|
---|
19 | <othername>$LastChangedBy$</othername>
|
---|
20 | <date>$Date$</date>
|
---|
21 | </sect1info>
|
---|
22 |
|
---|
23 | <title>BIND-&bind-version;</title>
|
---|
24 |
|
---|
25 | <indexterm zone="bind">
|
---|
26 | <primary sortas="a-BIND">BIND</primary>
|
---|
27 | </indexterm>
|
---|
28 |
|
---|
29 | <sect2 role="package">
|
---|
30 | <title>Introduction to BIND</title>
|
---|
31 |
|
---|
32 | <para>The <application>BIND</application> package provides a DNS server
|
---|
33 | and client utilities. If you are only interested in the utilities, refer
|
---|
34 | to the <xref linkend="bind-utils"/>.</para>
|
---|
35 |
|
---|
36 | &lfs77_checked;
|
---|
37 |
|
---|
38 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
39 | <itemizedlist spacing="compact">
|
---|
40 | <listitem>
|
---|
41 | <para>Download (HTTP): <ulink url="&bind-download-http;"/></para>
|
---|
42 | </listitem>
|
---|
43 | <listitem>
|
---|
44 | <para>Download (FTP): <ulink url="&bind-download-ftp;"/></para>
|
---|
45 | </listitem>
|
---|
46 | <listitem>
|
---|
47 | <para>Download MD5 sum: &bind-md5sum;</para>
|
---|
48 | </listitem>
|
---|
49 | <listitem>
|
---|
50 | <para>Download size: &bind-size;</para>
|
---|
51 | </listitem>
|
---|
52 | <listitem>
|
---|
53 | <para>Estimated disk space required: &bind-buildsize;</para>
|
---|
54 | </listitem>
|
---|
55 | <listitem>
|
---|
56 | <para>Estimated build time: &bind-time;</para>
|
---|
57 | </listitem>
|
---|
58 | </itemizedlist>
|
---|
59 |
|
---|
60 | <bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
---|
61 | <itemizedlist spacing='compact'>
|
---|
62 | <listitem>
|
---|
63 | <para>Optional patch (if net-tools is not installed):
|
---|
64 | <ulink
|
---|
65 | url="&patch-root;/bind-&bind-version;-use_iproute2-1.patch"/></para>
|
---|
66 | </listitem>
|
---|
67 | </itemizedlist>
|
---|
68 |
|
---|
69 | <bridgehead renderas="sect3">BIND Dependencies</bridgehead>
|
---|
70 |
|
---|
71 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
72 | <para role="optional">
|
---|
73 | <xref linkend="libcap-pam"/>,
|
---|
74 | <xref linkend="libxml2"/>,
|
---|
75 | <xref linkend="mitkrb"/>,
|
---|
76 | <xref linkend="openssl"/>, and
|
---|
77 | <ulink url='https://github.com/cjheath/geoip'>geoip</ulink>
|
---|
78 | </para>
|
---|
79 |
|
---|
80 | <bridgehead renderas="sect4">Optional database backends</bridgehead>
|
---|
81 | <para role="optional">
|
---|
82 | <xref linkend="postgresql"/>,
|
---|
83 | <xref linkend="mariadb"/> or <ulink url="http://www.mysql.com/">MySQL</ulink>,
|
---|
84 | <xref linkend="db"/>,
|
---|
85 | <xref linkend="openldap"/>, and
|
---|
86 | <xref linkend="unixodbc"/>
|
---|
87 | </para>
|
---|
88 |
|
---|
89 | <bridgehead renderas="sect4">Optional (to run the test suite)</bridgehead>
|
---|
90 | <para role="optional">
|
---|
91 | <xref linkend="perl-net-dns"/> and
|
---|
92 | <xref linkend="net-tools"/> (you may omit net-tools by using the optional
|
---|
93 | patch to utilize iproute2, but the IPv6 tests will fail)
|
---|
94 | </para>
|
---|
95 |
|
---|
96 | <bridgehead renderas="sect4">Optional (to rebuild the documentation)</bridgehead>
|
---|
97 | <para role="optional">
|
---|
98 | <xref linkend="doxygen"/>,
|
---|
99 | <xref linkend="texlive"/> (or <xref linkend="tl-installer"/>), and
|
---|
100 | <xref linkend="libxslt"/>
|
---|
101 | </para>
|
---|
102 |
|
---|
103 | <para condition="html" role="usernotes">User Notes:
|
---|
104 | <ulink url="&blfs-wiki;/bind"/></para>
|
---|
105 |
|
---|
106 | </sect2>
|
---|
107 |
|
---|
108 | <sect2 role="installation">
|
---|
109 | <title>Installation of BIND</title>
|
---|
110 |
|
---|
111 | <para>If you have chosen not to install net-tools, apply the iproute2
|
---|
112 | patch with the following command:</para>
|
---|
113 |
|
---|
114 | <screen><userinput>patch -Np1 -i ../bind-&bind-version;-use_iproute2-1.patch</userinput></screen>
|
---|
115 |
|
---|
116 | <para>Install <application>BIND</application> by running the
|
---|
117 | following commands:</para>
|
---|
118 |
|
---|
119 | <screen><userinput>./configure --prefix=/usr \
|
---|
120 | --sysconfdir=/etc \
|
---|
121 | --localstatedir=/var \
|
---|
122 | --mandir=/usr/share/man \
|
---|
123 | --enable-threads \
|
---|
124 | --with-libtool \
|
---|
125 | --disable-static \
|
---|
126 | --with-randomdev=/dev/urandom &&
|
---|
127 | make</userinput></screen>
|
---|
128 |
|
---|
129 | <para>Issue the following commands to run the complete suite of tests.
|
---|
130 | First, as the <systemitem class="username">root</systemitem> user, set up
|
---|
131 | some test interfaces:</para>
|
---|
132 |
|
---|
133 | <note><para>If IPv6 is not enabled in the kernel, there will be several
|
---|
134 | error messages: "RTNETLINK answers: Operation not permitted". These
|
---|
135 | messages do not afffect the tests.</para></note>
|
---|
136 | <!--
|
---|
137 | <screen role="root"><userinput>bin/tests/system/ifconfig.sh up</userinput></screen>
|
---|
138 |
|
---|
139 | <para>As an unprivileged user, remove some tests that fail:</para>
|
---|
140 |
|
---|
141 | <screen><userinput>sed -e 's/ecdsa //' \
|
---|
142 | -e 's/tsiggss //' \
|
---|
143 | -i bin/tests/system/conf.sh</userinput></screen>
|
---|
144 |
|
---|
145 | <para>Now run the test suite as an unprivileged user:</para>-->
|
---|
146 | <para>The test suite may indicate som failures depending on installed
|
---|
147 | optional dependencies and what configuration options are used.
|
---|
148 | To run the tests as an unprivileged user, execute:</para>
|
---|
149 |
|
---|
150 | <screen><userinput>make check</userinput></screen>
|
---|
151 |
|
---|
152 | <para>Again as <systemitem class="username">root</systemitem>, clean up the
|
---|
153 | test interfaces:</para>
|
---|
154 |
|
---|
155 | <screen role="root"><userinput>bin/tests/system/ifconfig.sh down</userinput></screen>
|
---|
156 |
|
---|
157 | <para>Finally, install the package as the <systemitem
|
---|
158 | class="username">root</systemitem> user:</para>
|
---|
159 |
|
---|
160 | <screen role="root"><userinput>make install &&
|
---|
161 | chmod -v 0755 /usr/lib/lib{bind9,dns,isc{,cc,cfg},lwres}.so &&
|
---|
162 |
|
---|
163 | install -v -m755 -d /usr/share/doc/bind-&bind-version;/{arm,misc} &&
|
---|
164 | install -v -m644 doc/arm/*.html \
|
---|
165 | /usr/share/doc/bind-&bind-version;/arm &&
|
---|
166 | install -v -m644 \
|
---|
167 | doc/misc/{dnssec,ipv6,migrat*,options,rfc-compliance,roadmap,sdb} \
|
---|
168 | /usr/share/doc/bind-&bind-version;/misc</userinput></screen>
|
---|
169 | </sect2>
|
---|
170 |
|
---|
171 | <sect2 role="commands">
|
---|
172 | <title>Command Explanations</title>
|
---|
173 |
|
---|
174 | <para><command>sed ... bin/tests/system/conf.sh</command>: This command
|
---|
175 | removes tests that fail (some for unknown reasons).</para>
|
---|
176 |
|
---|
177 | <para><parameter>--sysconfdir=/etc</parameter>: This parameter forces
|
---|
178 | <application>BIND</application> to look for configuration
|
---|
179 | files in <filename class='directory'>/etc</filename> instead of
|
---|
180 | <filename class='directory'>/usr/etc</filename>.</para>
|
---|
181 |
|
---|
182 | <para><parameter>--enable-threads</parameter>: This parameter enables
|
---|
183 | multi-threading capability.</para>
|
---|
184 |
|
---|
185 | <para><parameter>--with-libtool</parameter>: This parameter forces the
|
---|
186 | building of dynamic libraries and links the installed binaries to these
|
---|
187 | libraries.</para>
|
---|
188 |
|
---|
189 | <para><parameter>--with-randomdev=/dev/urandom</parameter>: This parameter
|
---|
190 | specifes a non-blocking random device for use with digital signatures.</para>
|
---|
191 |
|
---|
192 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
193 | href="../../xincludes/static-libraries.xml"/>
|
---|
194 |
|
---|
195 | <para><command>chmod 0755
|
---|
196 | /usr/lib/{lib{bind9,dns,isc{,cc,cfg},lwres}.so</command>:
|
---|
197 | Enable the execute bit to prevent a warning when using
|
---|
198 | <command>ldd</command> to check library dependencies.</para>
|
---|
199 |
|
---|
200 | <para><command>cd doc; install ...</command>: These commands install
|
---|
201 | additional package documentation. Omit any or all of these commands if
|
---|
202 | desired.</para>
|
---|
203 | </sect2>
|
---|
204 |
|
---|
205 | <sect2 role="configuration">
|
---|
206 | <title>Configuring BIND</title>
|
---|
207 |
|
---|
208 | <sect3 id="bind-config">
|
---|
209 | <title>Config files</title>
|
---|
210 |
|
---|
211 | <para><filename>named.conf</filename>,
|
---|
212 | <filename>root.hints</filename>,
|
---|
213 | <filename>127.0.0</filename>,
|
---|
214 | <filename>rndc.conf</filename> and
|
---|
215 | <filename>resolv.conf</filename></para>
|
---|
216 |
|
---|
217 | <indexterm zone="bind bind-config">
|
---|
218 | <primary sortas="e-etc-named.conf">/etc/named.conf</primary>
|
---|
219 | </indexterm>
|
---|
220 |
|
---|
221 | <indexterm zone="bind bind-config">
|
---|
222 | <primary sortas="e-etc-rndc.conf">/etc/rndc.conf</primary>
|
---|
223 | </indexterm>
|
---|
224 |
|
---|
225 | <indexterm zone="bind bind-config">
|
---|
226 | <primary sortas="e-etc-resolv.conf">/etc/resolv.conf</primary>
|
---|
227 | </indexterm>
|
---|
228 |
|
---|
229 | <indexterm zone="bind bind-config">
|
---|
230 | <primary
|
---|
231 | sortas="e-etc-namedb-root.hints">/etc/namedb/root.hints</primary>
|
---|
232 | </indexterm>
|
---|
233 |
|
---|
234 | <indexterm zone="bind bind-config">
|
---|
235 | <primary
|
---|
236 | sortas="e-etc-namedb-pz-127.0.0.0">/etc/namedb/pz/127.0.0.0</primary>
|
---|
237 | </indexterm>
|
---|
238 | </sect3>
|
---|
239 |
|
---|
240 | <sect3>
|
---|
241 | <title>Configuration Information</title>
|
---|
242 |
|
---|
243 | <para><application>BIND</application> will be configured to run in a
|
---|
244 | <command>chroot</command> jail as an unprivileged user (<systemitem
|
---|
245 | class="username">named</systemitem>). This configuration is more secure
|
---|
246 | in that a DNS compromise can only affect a few files in the <systemitem
|
---|
247 | class="username">named</systemitem> user's <envar>HOME</envar>
|
---|
248 | directory.</para>
|
---|
249 |
|
---|
250 | <para>Create the unprivileged user and group <systemitem
|
---|
251 | class="username">named</systemitem>:</para>
|
---|
252 |
|
---|
253 | <screen role="root"><userinput>groupadd -g 20 named &&
|
---|
254 | useradd -c "BIND Owner" -g named -s /bin/false -u 20 named &&
|
---|
255 | install -d -m770 -o named -g named /srv/named</userinput></screen>
|
---|
256 |
|
---|
257 | <para>Set up some files, directories and devices needed by
|
---|
258 | <application>BIND</application>:</para>
|
---|
259 |
|
---|
260 | <screen role="root"><userinput>cd /srv/named &&
|
---|
261 | mkdir -p dev etc/namedb/{slave,pz} usr/lib/engines var/run/named &&
|
---|
262 | mknod /srv/named/dev/null c 1 3 &&
|
---|
263 | mknod /srv/named/dev/urandom c 1 9 &&
|
---|
264 | chmod 666 /srv/named/dev/{null,urandom} &&
|
---|
265 | cp /etc/localtime etc &&
|
---|
266 | touch /srv/named/managed-keys.bind &&
|
---|
267 | cp /usr/lib/engines/libgost.so usr/lib/engines &&
|
---|
268 | [ $(uname -m) = x86_64 ] && ln -sv lib usr/lib64</userinput></screen>
|
---|
269 |
|
---|
270 | <para>The <filename>rndc.conf</filename> file contains information for
|
---|
271 | controlling <command>named</command> operations with the
|
---|
272 | <command>rndc</command> utility. Generate a key for use in the <filename>named.conf</filename> and <filename>rdnc.conf</filename> with the
|
---|
273 | <command>rndc-confgen</command> command:</para>
|
---|
274 |
|
---|
275 | <screen role="root"><userinput>rndc-confgen -r /dev/urandom -b 512 > /etc/rndc.conf &&
|
---|
276 | sed '/conf/d;/^#/!d;s:^# ::' /etc/rndc.conf > /srv/named/etc/named.conf</userinput></screen>
|
---|
277 |
|
---|
278 | <para>Complete the <filename>named.conf</filename> file from which
|
---|
279 | <command>named</command> will read the location of zone files, root
|
---|
280 | name servers and secure DNS keys:</para>
|
---|
281 |
|
---|
282 | <screen role="root"><?dbfo keep-together="auto"?><userinput>cat >> /srv/named/etc/named.conf << "EOF"
|
---|
283 | <literal>options {
|
---|
284 | directory "/etc/namedb";
|
---|
285 | pid-file "/var/run/named.pid";
|
---|
286 | statistics-file "/var/run/named.stats";
|
---|
287 |
|
---|
288 | };
|
---|
289 | zone "." {
|
---|
290 | type hint;
|
---|
291 | file "root.hints";
|
---|
292 | };
|
---|
293 | zone "0.0.127.in-addr.arpa" {
|
---|
294 | type master;
|
---|
295 | file "pz/127.0.0";
|
---|
296 | };
|
---|
297 |
|
---|
298 | // Bind 9 now logs by default through syslog (except debug).
|
---|
299 | // These are the default logging rules.
|
---|
300 |
|
---|
301 | logging {
|
---|
302 | category default { default_syslog; default_debug; };
|
---|
303 | category unmatched { null; };
|
---|
304 |
|
---|
305 | channel default_syslog {
|
---|
306 | syslog daemon; // send to syslog's daemon
|
---|
307 | // facility
|
---|
308 | severity info; // only send priority info
|
---|
309 | // and higher
|
---|
310 | };
|
---|
311 |
|
---|
312 | channel default_debug {
|
---|
313 | file "named.run"; // write to named.run in
|
---|
314 | // the working directory
|
---|
315 | // Note: stderr is used instead
|
---|
316 | // of "named.run"
|
---|
317 | // if the server is started
|
---|
318 | // with the '-f' option.
|
---|
319 | severity dynamic; // log at the server's
|
---|
320 | // current debug level
|
---|
321 | };
|
---|
322 |
|
---|
323 | channel default_stderr {
|
---|
324 | stderr; // writes to stderr
|
---|
325 | severity info; // only send priority info
|
---|
326 | // and higher
|
---|
327 | };
|
---|
328 |
|
---|
329 | channel null {
|
---|
330 | null; // toss anything sent to
|
---|
331 | // this channel
|
---|
332 | };
|
---|
333 | };</literal>
|
---|
334 | EOF</userinput></screen>
|
---|
335 |
|
---|
336 | <para>Create a zone file with the following contents:</para>
|
---|
337 |
|
---|
338 | <screen role="root"><userinput>cat > /srv/named/etc/namedb/pz/127.0.0 << "EOF"
|
---|
339 | <literal>$TTL 3D
|
---|
340 | @ IN SOA ns.local.domain. hostmaster.local.domain. (
|
---|
341 | 1 ; Serial
|
---|
342 | 8H ; Refresh
|
---|
343 | 2H ; Retry
|
---|
344 | 4W ; Expire
|
---|
345 | 1D) ; Minimum TTL
|
---|
346 | NS ns.local.domain.
|
---|
347 | 1 PTR localhost.</literal>
|
---|
348 | EOF</userinput></screen>
|
---|
349 |
|
---|
350 | <para>Create the <filename>root.hints</filename> file with the following
|
---|
351 | commands:</para>
|
---|
352 |
|
---|
353 | <note>
|
---|
354 | <para>Caution must be used to ensure there are no leading spaces in
|
---|
355 | this file.</para>
|
---|
356 | </note>
|
---|
357 |
|
---|
358 | <screen role="root"><userinput>cat > /srv/named/etc/namedb/root.hints << "EOF"
|
---|
359 | <literal>. 6D IN NS A.ROOT-SERVERS.NET.
|
---|
360 | . 6D IN NS B.ROOT-SERVERS.NET.
|
---|
361 | . 6D IN NS C.ROOT-SERVERS.NET.
|
---|
362 | . 6D IN NS D.ROOT-SERVERS.NET.
|
---|
363 | . 6D IN NS E.ROOT-SERVERS.NET.
|
---|
364 | . 6D IN NS F.ROOT-SERVERS.NET.
|
---|
365 | . 6D IN NS G.ROOT-SERVERS.NET.
|
---|
366 | . 6D IN NS H.ROOT-SERVERS.NET.
|
---|
367 | . 6D IN NS I.ROOT-SERVERS.NET.
|
---|
368 | . 6D IN NS J.ROOT-SERVERS.NET.
|
---|
369 | . 6D IN NS K.ROOT-SERVERS.NET.
|
---|
370 | . 6D IN NS L.ROOT-SERVERS.NET.
|
---|
371 | . 6D IN NS M.ROOT-SERVERS.NET.
|
---|
372 | A.ROOT-SERVERS.NET. 6D IN A 198.41.0.4
|
---|
373 | B.ROOT-SERVERS.NET. 6D IN A 192.228.79.201
|
---|
374 | C.ROOT-SERVERS.NET. 6D IN A 192.33.4.12
|
---|
375 | D.ROOT-SERVERS.NET. 6D IN A 199.7.91.13
|
---|
376 | E.ROOT-SERVERS.NET. 6D IN A 192.203.230.10
|
---|
377 | F.ROOT-SERVERS.NET. 6D IN A 192.5.5.241
|
---|
378 | G.ROOT-SERVERS.NET. 6D IN A 192.112.36.4
|
---|
379 | H.ROOT-SERVERS.NET. 6D IN A 128.63.2.53
|
---|
380 | I.ROOT-SERVERS.NET. 6D IN A 192.36.148.17
|
---|
381 | J.ROOT-SERVERS.NET. 6D IN A 192.58.128.30
|
---|
382 | K.ROOT-SERVERS.NET. 6D IN A 193.0.14.129
|
---|
383 | L.ROOT-SERVERS.NET. 6D IN A 199.7.83.42
|
---|
384 | M.ROOT-SERVERS.NET. 6D IN A 202.12.27.33</literal>
|
---|
385 | EOF</userinput></screen>
|
---|
386 |
|
---|
387 | <para>The <filename>root.hints</filename> file is a list of root
|
---|
388 | name servers. This file must be updated periodically with the
|
---|
389 | <command>dig</command> utility. A current copy of root.hints can be
|
---|
390 | obtained from <ulink url="ftp://rs.internic.net/domain/named.root" />.
|
---|
391 | Consult the <ulink url="http://www.bind9.net/Bv9ARM.html">BIND 9
|
---|
392 | Administrator Reference Manual</ulink> for details.</para>
|
---|
393 |
|
---|
394 | <para>Create or modify <filename>resolv.conf</filename> to use the new
|
---|
395 | name server with the following commands:</para>
|
---|
396 |
|
---|
397 | <note>
|
---|
398 | <para>Replace <replaceable><yourdomain.com></replaceable> with
|
---|
399 | your own valid domain name.</para>
|
---|
400 | </note>
|
---|
401 |
|
---|
402 | <screen role="root"><userinput>cp /etc/resolv.conf /etc/resolv.conf.bak &&
|
---|
403 | cat > /etc/resolv.conf << "EOF"
|
---|
404 | <literal>search <replaceable><yourdomain.com></replaceable>
|
---|
405 | nameserver 127.0.0.1</literal>
|
---|
406 | EOF</userinput></screen>
|
---|
407 |
|
---|
408 | <para>Set permissions on the <command>chroot</command> jail with the
|
---|
409 | following command:</para>
|
---|
410 |
|
---|
411 | <screen role="root"><userinput>chown -R named:named /srv/named</userinput></screen>
|
---|
412 |
|
---|
413 | </sect3>
|
---|
414 |
|
---|
415 | <sect3 id="bind-init">
|
---|
416 | <title>Boot Script</title>
|
---|
417 |
|
---|
418 | <para>To start the DNS server at boot, install the
|
---|
419 | <filename>/etc/rc.d/init.d/bind</filename> init script included
|
---|
420 | in the <xref linkend="bootscripts"/> package.</para>
|
---|
421 |
|
---|
422 | <indexterm zone="bind bind-init">
|
---|
423 | <primary sortas="f-bind">bind</primary>
|
---|
424 | </indexterm>
|
---|
425 |
|
---|
426 | <screen role="root"><userinput>make install-bind</userinput></screen>
|
---|
427 |
|
---|
428 | <para>Now start <application>BIND</application> with
|
---|
429 | the new boot script:</para>
|
---|
430 |
|
---|
431 | <screen role="root"><userinput>/etc/rc.d/init.d/bind start</userinput></screen>
|
---|
432 |
|
---|
433 | </sect3>
|
---|
434 |
|
---|
435 | <sect3>
|
---|
436 | <title>Testing BIND</title>
|
---|
437 |
|
---|
438 | <para>Test out the new <application>BIND</application> 9 installation.
|
---|
439 | First query the local host address with <command>dig</command>:</para>
|
---|
440 |
|
---|
441 | <screen><userinput>dig -x 127.0.0.1</userinput></screen>
|
---|
442 |
|
---|
443 | <para>Now try an external name lookup, taking note of the speed
|
---|
444 | difference in repeated lookups due to the caching. Run the
|
---|
445 | <command>dig</command> command twice on the same address:</para>
|
---|
446 |
|
---|
447 | <screen><userinput>dig www.&lfs-domainname; &&
|
---|
448 | dig www.&lfs-domainname;</userinput></screen>
|
---|
449 |
|
---|
450 | <para>You can see almost instantaneous results with the named caching
|
---|
451 | lookups. Consult the <application>BIND</application> Administrator
|
---|
452 | Reference Manual located at <filename>doc/arm/Bv9ARM.html</filename>
|
---|
453 | in the package source tree, for further configuration options.</para>
|
---|
454 |
|
---|
455 | </sect3>
|
---|
456 |
|
---|
457 | </sect2>
|
---|
458 |
|
---|
459 | <sect2 role="content">
|
---|
460 | <title>Contents</title>
|
---|
461 |
|
---|
462 | <segmentedlist>
|
---|
463 | <segtitle>Installed Programs</segtitle>
|
---|
464 | <segtitle>Installed Libraries</segtitle>
|
---|
465 | <segtitle>Installed Directories</segtitle>
|
---|
466 |
|
---|
467 | <seglistitem>
|
---|
468 |
|
---|
469 | <seg>arpaname, bind9-config hardlinked to isc-config.sh, ddns-confgen,
|
---|
470 | delv, dig, dnssec-checkds, dnssec-coverage, dnssec-dsfromkey,
|
---|
471 | dnssec-importkey, dnssec-keyfromlabel, dnssec-keygen, dnssec-revoke,
|
---|
472 | dnssec-settime, dnssec-signzone, dnssec-verify, genrandom, host,
|
---|
473 | isc-hmac-fixup, lwresd hardlinked to named, named-checkconf,
|
---|
474 | named-checkzone, named-compilezone (symlink), named-journalprint,
|
---|
475 | named-rrchecker, nsec3hash, nslookup, nsupdate, rndc, rndc-confgen,
|
---|
476 | and tsig-keygen (symlink)</seg>
|
---|
477 |
|
---|
478 | <seg>libbind9.so, libdns.so, libirs.so, libisc.so, libisccc.so,
|
---|
479 | libisccfg.so, and liblwres.so</seg>
|
---|
480 |
|
---|
481 | <seg>/usr/include/{bind9,dns,dst,irs,isc,isccc,isccfg,lwres,pk11,pkcs11},
|
---|
482 | /usr/share/doc/bind-&bind-version; and /srv/named</seg>
|
---|
483 | </seglistitem>
|
---|
484 | </segmentedlist>
|
---|
485 |
|
---|
486 | <variablelist>
|
---|
487 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
488 | <?dbfo list-presentation="list"?>
|
---|
489 | <?dbhtml list-presentation="table"?>
|
---|
490 |
|
---|
491 | <varlistentry id="dig">
|
---|
492 | <term><command>dig</command></term>
|
---|
493 | <listitem>
|
---|
494 | <para>interrogates DNS servers.</para>
|
---|
495 | <indexterm zone="bind dig">
|
---|
496 | <primary sortas="b-dig">dig</primary>
|
---|
497 | </indexterm>
|
---|
498 | </listitem>
|
---|
499 | </varlistentry>
|
---|
500 |
|
---|
501 | <varlistentry id="dnssec-keygen">
|
---|
502 | <term><command>dnssec-keygen</command></term>
|
---|
503 | <listitem>
|
---|
504 | <para>is a key generator for secure DNS.</para>
|
---|
505 | <indexterm zone="bind dnssec-keygen">
|
---|
506 | <primary sortas="b-dnssec-keygen">dnssec-keygen</primary>
|
---|
507 | </indexterm>
|
---|
508 | </listitem>
|
---|
509 | </varlistentry>
|
---|
510 |
|
---|
511 | <varlistentry id="dnssec-signzone">
|
---|
512 | <term><command>dnssec-signzone</command></term>
|
---|
513 | <listitem>
|
---|
514 | <para>generates signed versions of zone files.</para>
|
---|
515 | <indexterm zone="bind dnssec-signzone">
|
---|
516 | <primary sortas="b-dnssec-signzone">dnssec-signzone</primary>
|
---|
517 | </indexterm>
|
---|
518 | </listitem>
|
---|
519 | </varlistentry>
|
---|
520 |
|
---|
521 | <varlistentry id="host">
|
---|
522 | <term><command>host</command></term>
|
---|
523 | <listitem>
|
---|
524 | <para>is a utility for DNS lookups.</para>
|
---|
525 | <indexterm zone="bind host">
|
---|
526 | <primary sortas="b-host">host</primary>
|
---|
527 | </indexterm>
|
---|
528 | </listitem>
|
---|
529 | </varlistentry>
|
---|
530 |
|
---|
531 | <varlistentry id="lwresd">
|
---|
532 | <term><command>lwresd</command></term>
|
---|
533 | <listitem>
|
---|
534 | <para>is a caching-only name server for local process use.</para>
|
---|
535 | <indexterm zone="bind lwresd">
|
---|
536 | <primary sortas="b-lwresd">lwresd</primary>
|
---|
537 | </indexterm>
|
---|
538 | </listitem>
|
---|
539 | </varlistentry>
|
---|
540 |
|
---|
541 | <varlistentry id="named">
|
---|
542 | <term><command>named</command></term>
|
---|
543 | <listitem>
|
---|
544 | <para>is the name server daemon.</para>
|
---|
545 | <indexterm zone="bind named">
|
---|
546 | <primary sortas="b-named">named</primary>
|
---|
547 | </indexterm>
|
---|
548 | </listitem>
|
---|
549 | </varlistentry>
|
---|
550 |
|
---|
551 | <varlistentry id="named-checkconf">
|
---|
552 | <term><command>named-checkconf</command></term>
|
---|
553 | <listitem>
|
---|
554 | <para>checks the syntax of <filename>named.conf</filename>
|
---|
555 | files.</para>
|
---|
556 | <indexterm zone="bind named-checkconf">
|
---|
557 | <primary sortas="b-named-checkconf">named-checkconf</primary>
|
---|
558 | </indexterm>
|
---|
559 | </listitem>
|
---|
560 | </varlistentry>
|
---|
561 |
|
---|
562 | <varlistentry id="named-checkzone">
|
---|
563 | <term><command>named-checkzone</command></term>
|
---|
564 | <listitem>
|
---|
565 | <para>checks zone file validity.</para>
|
---|
566 | <indexterm zone="bind named-checkzone">
|
---|
567 | <primary sortas="b-named-checkzone">named-checkzone</primary>
|
---|
568 | </indexterm>
|
---|
569 | </listitem>
|
---|
570 | </varlistentry>
|
---|
571 |
|
---|
572 | <varlistentry id="nslookup">
|
---|
573 | <term><command>nslookup</command></term>
|
---|
574 | <listitem>
|
---|
575 | <para>is a program used to query Internet domain nameservers.</para>
|
---|
576 | <indexterm zone="bind nslookup">
|
---|
577 | <primary sortas="b-nslookup">nslookup</primary>
|
---|
578 | </indexterm>
|
---|
579 | </listitem>
|
---|
580 | </varlistentry>
|
---|
581 |
|
---|
582 | <varlistentry id="nsupdate">
|
---|
583 | <term><command>nsupdate</command></term>
|
---|
584 | <listitem>
|
---|
585 | <para>is used to submit DNS update requests.</para>
|
---|
586 | <indexterm zone="bind nsupdate">
|
---|
587 | <primary sortas="b-nsupdate">nsupdate</primary>
|
---|
588 | </indexterm>
|
---|
589 | </listitem>
|
---|
590 | </varlistentry>
|
---|
591 |
|
---|
592 | <varlistentry id="rndc">
|
---|
593 | <term><command>rndc</command></term>
|
---|
594 | <listitem>
|
---|
595 | <para>controls the operation of <application>BIND</application>.</para>
|
---|
596 | <indexterm zone="bind rndc">
|
---|
597 | <primary sortas="b-rndc">rndc</primary>
|
---|
598 | </indexterm>
|
---|
599 | </listitem>
|
---|
600 | </varlistentry>
|
---|
601 |
|
---|
602 | <varlistentry id="rndc-confgen">
|
---|
603 | <term><command>rndc-confgen</command></term>
|
---|
604 | <listitem>
|
---|
605 | <para>generates <filename>rndc.conf</filename> files.</para>
|
---|
606 | <indexterm zone="bind rndc-confgen">
|
---|
607 | <primary sortas="b-rndc-confgen">rndc-confgen</primary>
|
---|
608 | </indexterm>
|
---|
609 | </listitem>
|
---|
610 | </varlistentry>
|
---|
611 |
|
---|
612 | </variablelist>
|
---|
613 |
|
---|
614 | </sect2>
|
---|
615 |
|
---|
616 | </sect1>
|
---|