source: server/major/bind.xml@ 5b15225

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 9.0 9.1 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 5b15225 was 5b15225, checked in by Bruce Dubbs <bdubbs@…>, 5 years ago

Finish tagging X Software

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

  • Property mode set to 100644
File size: 33.0 KB
RevLine 
[0931098]1<?xml version="1.0" encoding="ISO-8859-1"?>
[6732c094]2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
[0931098]4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
[80c8e88]6
[064df5c4]7 <!ENTITY bind-download-http " ">
[50287538]8 <!ENTITY bind-download-ftp "ftp://ftp.isc.org/isc/bind9/&bind-version;/bind-&bind-version;.tar.gz">
[03790ef]9 <!ENTITY bind-md5sum "3b39246f972ac66a6b7d05e9a4076248">
[f244177d]10 <!ENTITY bind-size "6.0 MB">
[2b1bdc03]11 <!ENTITY bind-buildsize "123 MB (24 MB installed; add 7 MB for tests)">
[1de2a27]12 <!ENTITY bind-time "1.0 SBU (with parallelism=4; add 30+ minutes, processor independent, to run the complete test suite)">
[0931098]13]>
14
[c951082]15<sect1 id="bind" xreflabel="BIND-&bind-version;">
[53217a6]16 <?dbhtml filename="bind.html"?>
17
18 <sect1info>
19 <othername>$LastChangedBy$</othername>
20 <date>$Date$</date>
21 </sect1info>
22
[c951082]23 <title>BIND-&bind-version;</title>
[53217a6]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
[5b15225]36 &lfs90_checked;
[40399b1]37
[53217a6]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>
[269f619]59<!--
[9288855]60 <bridgehead renderas="sect3">Additional Downloads</bridgehead>
61 <itemizedlist spacing='compact'>
62 <listitem>
[bae16652]63 <para>Optional patch (if net-tools is not installed):
[634cf991]64 <ulink
65 url="&patch-root;/bind-&bind-version;-use_iproute2-1.patch"/></para>
[9288855]66 </listitem>
67 </itemizedlist>
[269f619]68-->
[53217a6]69 <bridgehead renderas="sect3">BIND Dependencies</bridgehead>
70
[ec9db95]71 <bridgehead renderas="sect4">Recommended</bridgehead>
72 <para role="optional">
73 <xref linkend="libcap-pam"/>
74 </para>
75
[53217a6]76 <bridgehead renderas="sect4">Optional</bridgehead>
[a87a374]77 <para role="optional">
[ec9db95]78 <xref linkend="libidn2"/>,
[7ba60b6e]79 <xref linkend="libxml2"/>,
[94b42903]80 <xref linkend="mitkrb"/>, and
[2c95b08]81 <ulink url='https://github.com/cjheath/geoip'>geoip</ulink>
[0f6476c]82 </para>
[160e58a4]83
84 <bridgehead renderas="sect4">Optional database backends</bridgehead>
85 <para role="optional">
86 <xref linkend="db"/>,
[bf6aefc]87 <xref linkend="mariadb"/> or <ulink url="http://www.mysql.com/">MySQL</ulink>,
88 <xref linkend="openldap"/>,
89 <xref linkend="postgresql"/>, and
[160e58a4]90 <xref linkend="unixodbc"/>
[a87a374]91 </para>
[53217a6]92
[9288855]93 <bridgehead renderas="sect4">Optional (to run the test suite)</bridgehead>
[a87a374]94 <para role="optional">
[4392a40]95 <xref linkend="perl-net-dns"/>
[269f619]96<!-- and
[a87a374]97 <xref linkend="net-tools"/> (you may omit net-tools by using the optional
98 patch to utilize iproute2, but the IPv6 tests will fail)
[269f619]99-->
[a87a374]100 </para>
101
102 <bridgehead renderas="sect4">Optional (to rebuild the documentation)</bridgehead>
103 <para role="optional">
104 <xref linkend="doxygen"/>,
[bf6aefc]105 <xref linkend="libxslt"/>, and
106 <xref linkend="texlive"/> (or <xref linkend="tl-installer"/>)
[a87a374]107 </para>
[53217a6]108
[3cb0c57]109 <para condition="html" role="usernotes">User Notes:
110 <ulink url="&blfs-wiki;/bind"/></para>
111
[53217a6]112 </sect2>
113
114 <sect2 role="installation">
115 <title>Installation of BIND</title>
[269f619]116<!--
[bae16652]117 <para>If you have chosen not to install net-tools, apply the iproute2
118 patch with the following command:</para>
119
120<screen><userinput>patch -Np1 -i ../bind-&bind-version;-use_iproute2-1.patch</userinput></screen>
[269f619]121-->
[5cd7055]122
123 <para>To ensure <application>BIND</application> will build dnssec-keymgr,
124 install a python module as the <systemitem
125 class="username">root</systemitem> user:</para>
126
[1bc043ab]127<screen role="root"><userinput>pip3 install ply</userinput></screen>
[5cd7055]128
[15e49d1]129 <para>Install <application>BIND</application> by running the
130 following commands:</para>
[a3e2a06d]131
[15e49d1]132<screen><userinput>./configure --prefix=/usr \
[a87a374]133 --sysconfdir=/etc \
134 --localstatedir=/var \
[d4a47c5a]135 --mandir=/usr/share/man \
[7ba60b6e]136 --with-libtool \
[ec9db95]137 --disable-static &amp;&amp;
[53217a6]138make</userinput></screen>
[a2fe8d47]139
[ade9c75]140 <para>Issue the following commands to run the complete suite of tests.
[d4a47c5a]141 First, as the <systemitem class="username">root</systemitem> user, set up
142 some test interfaces:</para>
[ade9c75]143
[a3e2a06d]144 <note><para>If IPv6 is not enabled in the kernel, there will be several
145 error messages: "RTNETLINK answers: Operation not permitted". These
[73437f9]146 messages do not affect the tests.</para></note>
[bf6aefc]147
[06908bf6]148<screen role="root"
149 remap="test"><userinput>bin/tests/system/ifconfig.sh up</userinput></screen>
[ade9c75]150
[ec898c7]151 <para>The test suite may indicate some skipped tests depending on
152 what configuration options are used. Some tests are marked <quote>UNTESTED
[4392a40]153 </quote> if <xref linkend="perl-net-dns"/> is not installed.
[bf6aefc]154 To run the tests, as an unprivileged user, execute:</para>
[4c288b0]155
[2f3e3de9]156<screen remap="test"><userinput>make -k check</userinput></screen>
[ade9c75]157
158 <para>Again as <systemitem class="username">root</systemitem>, clean up the
159 test interfaces:</para>
160
[06908bf6]161<screen role="root"
162 remap="test"><userinput>bin/tests/system/ifconfig.sh down</userinput></screen>
[ade9c75]163
164 <para>Finally, install the package as the <systemitem
165 class="username">root</systemitem> user:</para>
[a2fe8d47]166
[53217a6]167<screen role="root"><userinput>make install &amp;&amp;
[d4a47c5a]168
[f244177d]169install -v -m755 -d /usr/share/doc/bind-&bind-version;/arm &amp;&amp;
[8bcd51bd]170install -v -m644 doc/arm/*.html \
[f244177d]171 /usr/share/doc/bind-&bind-version;/arm</userinput></screen>
172 </sect2>
173
174<!-- Documentation is an issue - make doc fails - some docbook problem
[b873579]175install -v -m644 doc/misc/{dnssec,ipv6,migrat*,options,rfc-compliance,roadmap,sdb} \
176 /usr/share/doc/bind-&bind-version;/misc</userinput></screen>
[f244177d]177-->
[53217a6]178
179 <sect2 role="commands">
180 <title>Command Explanations</title>
[efe9371]181
[53217a6]182 <para><parameter>--sysconfdir=/etc</parameter>: This parameter forces
183 <application>BIND</application> to look for configuration
184 files in <filename class='directory'>/etc</filename> instead of
185 <filename class='directory'>/usr/etc</filename>.</para>
186
[92897c03]187 <!-- No longer available as of 9.14.2
188 <para><parameter>- -enable-threads</parameter>: This parameter enables
[53217a6]189 multi-threading capability.</para>
[92897c03]190 -->
[53217a6]191
192 <para><parameter>--with-libtool</parameter>: This parameter forces the
193 building of dynamic libraries and links the installed binaries to these
194 libraries.</para>
[ec9db95]195
196 <para><parameter>--with-libidn2</parameter>: This parameter enables
197 the IDNA2008 (Internationalized Domain Names in Applications)
198 support.</para>
[fd7e0ed6]199
[ec9db95]200<!-- no longer available
201 <para><parameter>- -with-randomdev=/dev/urandom</parameter>: This parameter
[d1ce445]202 specifes a non-blocking random device for use with digital signatures.</para>
[ec9db95]203-->
[ec898c7]204 <para><option>--enable-fetchlimit</option>: Use this option if you want
[a08727f]205 to be able to limit the rate of recursive client queries. This may be
[ec898c7]206 useful on servers which receive a large number of queries.</para>
207
[92897c03]208 <para><option>--disable-linux-caps</option>: BIND can also be built without
[ec9db95]209 capability support by using this option, at the cost of some loss of
210 security.</para>
211
212 <para><option>--with-dlz-{mysql,bdb,filesystem,ldap,odbc,stub}</option>: Use
213 one (or more) of those options to add Dynamically Loadable Zones support.
214 For more information refer to
215 <ulink url="http://bind-dlz.sourceforge.net/">bind-dlz.sourceforge.net</ulink>.
216 </para>
217
[7ba60b6e]218 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
219 href="../../xincludes/static-libraries.xml"/>
220
[d4a47c5a]221 <para><command>cd doc; install ...</command>: These commands install
222 additional package documentation. Omit any or all of these commands if
223 desired.</para>
[53217a6]224 </sect2>
225
226 <sect2 role="configuration">
227 <title>Configuring BIND</title>
228
229 <sect3 id="bind-config">
230 <title>Config files</title>
231
232 <para><filename>named.conf</filename>,
233 <filename>root.hints</filename>,
234 <filename>127.0.0</filename>,
235 <filename>rndc.conf</filename> and
236 <filename>resolv.conf</filename></para>
237
238 <indexterm zone="bind bind-config">
239 <primary sortas="e-etc-named.conf">/etc/named.conf</primary>
240 </indexterm>
241
242 <indexterm zone="bind bind-config">
243 <primary sortas="e-etc-rndc.conf">/etc/rndc.conf</primary>
244 </indexterm>
245
246 <indexterm zone="bind bind-config">
247 <primary sortas="e-etc-resolv.conf">/etc/resolv.conf</primary>
248 </indexterm>
249
250 <indexterm zone="bind bind-config">
[634cf991]251 <primary
252 sortas="e-etc-namedb-root.hints">/etc/namedb/root.hints</primary>
[53217a6]253 </indexterm>
254
255 <indexterm zone="bind bind-config">
[634cf991]256 <primary
257 sortas="e-etc-namedb-pz-127.0.0.0">/etc/namedb/pz/127.0.0.0</primary>
[53217a6]258 </indexterm>
259 </sect3>
260
261 <sect3>
262 <title>Configuration Information</title>
263
264 <para><application>BIND</application> will be configured to run in a
265 <command>chroot</command> jail as an unprivileged user (<systemitem
266 class="username">named</systemitem>). This configuration is more secure
267 in that a DNS compromise can only affect a few files in the <systemitem
268 class="username">named</systemitem> user's <envar>HOME</envar>
269 directory.</para>
270
271 <para>Create the unprivileged user and group <systemitem
272 class="username">named</systemitem>:</para>
273
[b785ab29]274<screen role="root"><userinput>groupadd -g 20 named &amp;&amp;
[9288855]275useradd -c "BIND Owner" -g named -s /bin/false -u 20 named &amp;&amp;
[068bb16]276install -d -m770 -o named -g named /srv/named</userinput></screen>
[53217a6]277
278 <para>Set up some files, directories and devices needed by
279 <application>BIND</application>:</para>
280
[443b085]281<screen role="root"><userinput>mkdir -p /srv/named &amp;&amp;
282cd /srv/named &amp;&amp;
[634cf991]283mkdir -p dev etc/namedb/{slave,pz} usr/lib/engines var/run/named &amp;&amp;
[068bb16]284mknod /srv/named/dev/null c 1 3 &amp;&amp;
[e14ac42]285mknod /srv/named/dev/urandom c 1 9 &amp;&amp;
[d8805ba2]286chmod 666 /srv/named/dev/{null,urandom} &amp;&amp;
[634cf991]287cp /etc/localtime etc &amp;&amp;
[a4f37269]288touch /srv/named/managed-keys.bind</userinput></screen>
[0931098]289
[634cf991]290 <para>The <filename>rndc.conf</filename> file contains information for
291 controlling <command>named</command> operations with the
292 <command>rndc</command> utility. Generate a key for use in the <filename>named.conf</filename> and <filename>rdnc.conf</filename> with the
[53217a6]293 <command>rndc-confgen</command> command:</para>
[b8214dc6]294
[634cf991]295<screen role="root"><userinput>rndc-confgen -r /dev/urandom -b 512 > /etc/rndc.conf &amp;&amp;
296sed '/conf/d;/^#/!d;s:^# ::' /etc/rndc.conf > /srv/named/etc/named.conf</userinput></screen>
[b8214dc6]297
[634cf991]298 <para>Complete the <filename>named.conf</filename> file from which
[53217a6]299 <command>named</command> will read the location of zone files, root
300 name servers and secure DNS keys:</para>
[0931098]301
[634cf991]302<screen role="root"><?dbfo keep-together="auto"?><userinput>cat &gt;&gt; /srv/named/etc/named.conf &lt;&lt; "EOF"
303<literal>options {
[73ded0c]304 directory "/etc/namedb";
[0931098]305 pid-file "/var/run/named.pid";
306 statistics-file "/var/run/named.stats";
[53217a6]307
[634cf991]308};
309zone "." {
310 type hint;
311 file "root.hints";
312};
313zone "0.0.127.in-addr.arpa" {
314 type master;
315 file "pz/127.0.0";
316};
[1c2cfae1]317
318// Bind 9 now logs by default through syslog (except debug).
319// These are the default logging rules.
320
321logging {
[634cf991]322 category default { default_syslog; default_debug; };
323 category unmatched { null; };
[1c2cfae1]324
325 channel default_syslog {
326 syslog daemon; // send to syslog's daemon
327 // facility
328 severity info; // only send priority info
329 // and higher
330 };
331
332 channel default_debug {
333 file "named.run"; // write to named.run in
334 // the working directory
335 // Note: stderr is used instead
336 // of "named.run"
337 // if the server is started
338 // with the '-f' option.
339 severity dynamic; // log at the server's
340 // current debug level
341 };
342
343 channel default_stderr {
344 stderr; // writes to stderr
345 severity info; // only send priority info
346 // and higher
347 };
348
349 channel null {
[634cf991]350 null; // toss anything sent to
[1c2cfae1]351 // this channel
352 };
[53217a6]353};</literal>
354EOF</userinput></screen>
[16473a92]355
[53217a6]356 <para>Create a zone file with the following contents:</para>
[0931098]357
[068bb16]358<screen role="root"><userinput>cat &gt; /srv/named/etc/namedb/pz/127.0.0 &lt;&lt; "EOF"
[53217a6]359<literal>$TTL 3D
[0931098]360@ IN SOA ns.local.domain. hostmaster.local.domain. (
361 1 ; Serial
362 8H ; Refresh
363 2H ; Retry
364 4W ; Expire
365 1D) ; Minimum TTL
366 NS ns.local.domain.
[53217a6]3671 PTR localhost.</literal>
368EOF</userinput></screen>
[0931098]369
[53217a6]370 <para>Create the <filename>root.hints</filename> file with the following
371 commands:</para>
[0931098]372
[53217a6]373 <note>
374 <para>Caution must be used to ensure there are no leading spaces in
375 this file.</para>
376 </note>
[0931098]377
[068bb16]378<screen role="root"><userinput>cat &gt; /srv/named/etc/namedb/root.hints &lt;&lt; "EOF"
[53217a6]379<literal>. 6D IN NS A.ROOT-SERVERS.NET.
[0931098]380. 6D IN NS B.ROOT-SERVERS.NET.
381. 6D IN NS C.ROOT-SERVERS.NET.
382. 6D IN NS D.ROOT-SERVERS.NET.
383. 6D IN NS E.ROOT-SERVERS.NET.
384. 6D IN NS F.ROOT-SERVERS.NET.
385. 6D IN NS G.ROOT-SERVERS.NET.
386. 6D IN NS H.ROOT-SERVERS.NET.
387. 6D IN NS I.ROOT-SERVERS.NET.
388. 6D IN NS J.ROOT-SERVERS.NET.
389. 6D IN NS K.ROOT-SERVERS.NET.
390. 6D IN NS L.ROOT-SERVERS.NET.
391. 6D IN NS M.ROOT-SERVERS.NET.
392A.ROOT-SERVERS.NET. 6D IN A 198.41.0.4
[da3e8de]393A.ROOT-SERVERS.NET. 6D IN AAAA 2001:503:ba3e::2:30
[1c2cfae1]394B.ROOT-SERVERS.NET. 6D IN A 192.228.79.201
[9c829d1]395B.ROOT-SERVERS.NET. 6D IN AAAA 2001:500:200::b
[0931098]396C.ROOT-SERVERS.NET. 6D IN A 192.33.4.12
[da3e8de]397C.ROOT-SERVERS.NET. 6D IN AAAA 2001:500:2::c
[7ba60b6e]398D.ROOT-SERVERS.NET. 6D IN A 199.7.91.13
[da3e8de]399D.ROOT-SERVERS.NET. 6D IN AAAA 2001:500:2d::d
[0931098]400E.ROOT-SERVERS.NET. 6D IN A 192.203.230.10
[da3e8de]401E.ROOT-SERVERS.NET. 6D IN AAAA 2001:500:a8::e
[0931098]402F.ROOT-SERVERS.NET. 6D IN A 192.5.5.241
[da3e8de]403F.ROOT-SERVERS.NET. 6D IN AAAA 2001:500:2f::f
[0931098]404G.ROOT-SERVERS.NET. 6D IN A 192.112.36.4
[9c829d1]405G.ROOT-SERVERS.NET. 6D IN AAAA 2001:500:12::d0d
[da3e8de]406H.ROOT-SERVERS.NET. 6D IN A 198.97.190.53
407H.ROOT-SERVERS.NET. 6D IN AAAA 2001:500:1::53
[0931098]408I.ROOT-SERVERS.NET. 6D IN A 192.36.148.17
[da3e8de]409I.ROOT-SERVERS.NET. 6D IN AAAA 2001:7fe::53
[0931098]410J.ROOT-SERVERS.NET. 6D IN A 192.58.128.30
[da3e8de]411J.ROOT-SERVERS.NET. 6D IN AAAA 2001:503:c27::2:30
[0931098]412K.ROOT-SERVERS.NET. 6D IN A 193.0.14.129
[da3e8de]413K.ROOT-SERVERS.NET. 6D IN AAAA 2001:7fd::1
[9288855]414L.ROOT-SERVERS.NET. 6D IN A 199.7.83.42
[da3e8de]415L.ROOT-SERVERS.NET. 6D IN AAAA 2001:500:9f::42
416M.ROOT-SERVERS.NET. 6D IN A 202.12.27.33
417M.ROOT-SERVERS.NET. 6D IN AAAA 2001:dc3::35</literal>
[53217a6]418EOF</userinput></screen>
[f45b1953]419
[2dcd27e]420 <para>The <filename>root.hints</filename> file is a list of root name
421 servers. This file must be updated periodically with the
[53217a6]422 <command>dig</command> utility. A current copy of root.hints can be
423 obtained from <ulink url="ftp://rs.internic.net/domain/named.root" />.
[2dcd27e]424 For details, consult the "BIND 9 Administrator Reference Manual", included
425 in every source archive of BIND 9 distributed by ISC, in HTML and PDF
426 formats, also available at
427 <ulink url="ftp://ftp.isc.org/isc/bind9/cur/&bind-minor-version;/doc/arm/Bv9ARM.html">
428 BIND 9 Administrator Reference Manual</ulink>.</para>
[53217a6]429
430 <para>Create or modify <filename>resolv.conf</filename> to use the new
431 name server with the following commands:</para>
[f45b1953]432
[53217a6]433 <note>
[3cb0c57]434 <para>Replace <replaceable>&lt;yourdomain.com&gt;</replaceable> with
[53217a6]435 your own valid domain name.</para>
436 </note>
437
438<screen role="root"><userinput>cp /etc/resolv.conf /etc/resolv.conf.bak &amp;&amp;
439cat &gt; /etc/resolv.conf &lt;&lt; "EOF"
[3cb0c57]440<literal>search <replaceable>&lt;yourdomain.com&gt;</replaceable>
[53217a6]441nameserver 127.0.0.1</literal>
442EOF</userinput></screen>
443
444 <para>Set permissions on the <command>chroot</command> jail with the
445 following command:</para>
446
[634cf991]447<screen role="root"><userinput>chown -R named:named /srv/named</userinput></screen>
[53217a6]448
449 </sect3>
450
451 <sect3 id="bind-init">
[1258125]452 <title><phrase revision="sysv">Boot Script</phrase>
453 <phrase revision="systemd">Systemd Unit</phrase></title>
[53217a6]454
455 <para>To start the DNS server at boot, install the
[1258125]456 <phrase revision="sysv"><filename>/etc/rc.d/init.d/bind</filename> init
457 script</phrase>
458 <phrase revision="systemd"><filename>named.service</filename>
459 unit</phrase> included in the
460 <xref linkend="bootscripts" revision="sysv"/>
[3c7bd00]461 <xref linkend="systemd-units" revision="systemd"/> package.</para>
[53217a6]462
463 <indexterm zone="bind bind-init">
464 <primary sortas="f-bind">bind</primary>
465 </indexterm>
466
[6111a63]467<screen role="root" revision="sysv"><userinput>make install-bind</userinput></screen>
468<screen role="root" revision="systemd"><userinput>make install-named</userinput></screen>
[53217a6]469
470 <para>Now start <application>BIND</application> with
[1258125]471 the following command:</para>
[53217a6]472
[1258125]473<screen role="root" revision="sysv"><userinput>/etc/rc.d/init.d/bind start</userinput></screen>
474<screen role="root" revision="systemd"><userinput>systemctl start named</userinput></screen>
[53217a6]475
476 </sect3>
477
478 <sect3>
479 <title>Testing BIND</title>
480
481 <para>Test out the new <application>BIND</application> 9 installation.
482 First query the local host address with <command>dig</command>:</para>
483
484<screen><userinput>dig -x 127.0.0.1</userinput></screen>
485
486 <para>Now try an external name lookup, taking note of the speed
487 difference in repeated lookups due to the caching. Run the
488 <command>dig</command> command twice on the same address:</para>
489
[4e88613]490<screen><userinput>dig www.&lfs-domainname; &amp;&amp;
491dig www.&lfs-domainname;</userinput></screen>
[53217a6]492
493 <para>You can see almost instantaneous results with the named caching
494 lookups. Consult the <application>BIND</application> Administrator
495 Reference Manual located at <filename>doc/arm/Bv9ARM.html</filename>
496 in the package source tree, for further configuration options.</para>
497
498 </sect3>
499
500 </sect2>
501
502 <sect2 role="content">
503 <title>Contents</title>
504
505 <segmentedlist>
506 <segtitle>Installed Programs</segtitle>
507 <segtitle>Installed Libraries</segtitle>
508 <segtitle>Installed Directories</segtitle>
509
510 <seglistitem>
[efe9371]511
[1dab11a6]512 <seg>arpaname, bind9-config hardlinked to isc-config.sh, ddns-confgen,
[a08727f]513 delv, dig, dnssec-dsfromkey,
[1dab11a6]514 dnssec-importkey, dnssec-keyfromlabel, dnssec-keygen, dnssec-revoke,
515 dnssec-settime, dnssec-signzone, dnssec-verify, genrandom, host,
516 isc-hmac-fixup, lwresd hardlinked to named, named-checkconf,
517 named-checkzone, named-compilezone (symlink), named-journalprint,
518 named-rrchecker, nsec3hash, nslookup, nsupdate, rndc, rndc-confgen,
519 and tsig-keygen (symlink)</seg>
[74fe55c]520
521 <seg>libbind9.so, libdns.so, libirs.so, libisc.so, libisccc.so,
[efe9371]522 libisccfg.so, and liblwres.so</seg>
523
[af176a5f]524 <seg>/usr/include/{bind9,dns,dst,irs,isc,isccc,isccfg,lwres,pk11,pkcs11},
525 /usr/share/doc/bind-&bind-version; and /srv/named</seg>
[53217a6]526 </seglistitem>
527 </segmentedlist>
528
529 <variablelist>
530 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
531 <?dbfo list-presentation="list"?>
532 <?dbhtml list-presentation="table"?>
533
[298fee30]534 <varlistentry id="arpaname">
535 <term><command>arpaname</command></term>
536 <listitem>
537 <para>
[bf32a132]538 translates IP addresses to the corresponding ARPA names.
[298fee30]539 </para>
540 <indexterm zone="bind arpaname">
541 <primary sortas="b-arpaname">arpaname</primary>
542 </indexterm>
543 </listitem>
544 </varlistentry>
545
546 <varlistentry id="bind9-config">
547 <term><command>bind9-config</command></term>
548 <listitem>
549 <para>
[bf32a132]550 is hardlinked to <command>isc-config.sh</command>.
[298fee30]551 </para>
552 <indexterm zone="bind bind9-config">
553 <primary sortas="b-bind9-config">bind9-config</primary>
554 </indexterm>
555 </listitem>
556 </varlistentry>
557
558 <varlistentry id="ddns-confgen">
559 <term><command>ddns-confgen</command></term>
560 <listitem>
561 <para>
562 generates a key for use by nsupdate and named.
563 </para>
564 <indexterm zone="bind ddns-confgen">
565 <primary sortas="b-ddns-confgen">ddns-confgen</primary>
566 </indexterm>
567 </listitem>
568 </varlistentry>
569
570 <varlistentry id="delv">
571 <term><command>delv</command></term>
572 <listitem>
573 <para>
[c18b8f23]574 is a new debugging tool that is a successor to
[298fee30]575 <command>dig</command>.
576 </para>
577 <indexterm zone="bind delv">
578 <primary sortas="b-delv">delv</primary>
579 </indexterm>
580 </listitem>
581 </varlistentry>
582
[53217a6]583 <varlistentry id="dig">
584 <term><command>dig</command></term>
585 <listitem>
586 <para>interrogates DNS servers.</para>
587 <indexterm zone="bind dig">
588 <primary sortas="b-dig">dig</primary>
589 </indexterm>
590 </listitem>
591 </varlistentry>
[a08727f]592<!--
[298fee30]593 <varlistentry id="dnssec-checkds">
594 <term><command>dnssec-checkds</command></term>
595 <listitem>
596 <para>
597 is a DNSSEC delegation consistency checking tool.
598 </para>
599 <indexterm zone="bind dnssec-checkds">
600 <primary sortas="b-dnssec-checkds">dnssec-checkds</primary>
601 </indexterm>
602 </listitem>
603 </varlistentry>
604
605 <varlistentry id="dnssec-coverage">
606 <term><command>dnssec-coverage</command></term>
607 <listitem>
608 <para>
[c18b8f23]609 verifies that the DNSSEC keys for a given zone or a set of zones
[298fee30]610 have timing metadata set properly to ensure no future lapses
611 in DNSSEC coverage.
612 </para>
613 <indexterm zone="bind dnssec-coverage">
614 <primary sortas="b-dnssec-coverage">dnssec-coverage</primary>
615 </indexterm>
616 </listitem>
[a08727f]617 </varlistentry>-->
[c18b8f23]618
[298fee30]619 <varlistentry id="dnssec-dsfromkey">
620 <term><command>dnssec-dsfromkey</command></term>
621 <listitem>
622 <para>
623 outputs the Delegation Signer (DS) resource record (RR).
624 </para>
625 <indexterm zone="bind dnssec-dsfromkey">
626 <primary sortas="b-dnssec-dsfromkey">dnssec-dsfromkey</primary>
627 </indexterm>
628 </listitem>
629 </varlistentry>
630
631 <varlistentry id="dnssec-importkey">
632 <term><command>dnssec-importkey</command></term>
633 <listitem>
634 <para>
[c18b8f23]635 reads a public DNSKEY record and generates a pair of
[298fee30]636 .key/.private files.
637 </para>
638 <indexterm zone="bind dnssec-importkey">
639 <primary sortas="b-dnssec-importkey">dnssec-importkey</primary>
640 </indexterm>
641 </listitem>
642 </varlistentry>
643
644 <varlistentry id="dnssec-keyfromlabel">
645 <term><command>dnssec-keyfromlabel</command></term>
646 <listitem>
647 <para>
[c18b8f23]648 gets keys with the given label from a crypto hardware and builds
[298fee30]649 key files for DNSSEC.
650 </para>
651 <indexterm zone="bind dnssec-keyfromlabel">
652 <primary sortas="b-dnssec-keyfromlabel">dnssec-keyfromlabel</primary>
653 </indexterm>
654 </listitem>
655 </varlistentry>
656
[53217a6]657 <varlistentry id="dnssec-keygen">
658 <term><command>dnssec-keygen</command></term>
659 <listitem>
660 <para>is a key generator for secure DNS.</para>
661 <indexterm zone="bind dnssec-keygen">
662 <primary sortas="b-dnssec-keygen">dnssec-keygen</primary>
663 </indexterm>
664 </listitem>
665 </varlistentry>
666
[298fee30]667 <varlistentry id="dnssec-revoke">
668 <term><command>dnssec-revoke</command></term>
669 <listitem>
670 <para>
[bf32a132]671 sets the REVOKED bit on a DNSSEC key.
[298fee30]672 </para>
673 <indexterm zone="bind dnssec-revoke">
674 <primary sortas="b-dnssec-revoke">dnssec-revoke</primary>
675 </indexterm>
676 </listitem>
677 </varlistentry>
678
679 <varlistentry id="dnssec-settime">
680 <term><command>dnssec-settime</command></term>
681 <listitem>
682 <para>
[bf32a132]683 sets the key timing metadata for a DNSSEC key.
[298fee30]684 </para>
685 <indexterm zone="bind dnssec-settime">
686 <primary sortas="b-dnssec-settime">dnssec-settime</primary>
687 </indexterm>
688 </listitem>
689 </varlistentry>
690
[53217a6]691 <varlistentry id="dnssec-signzone">
692 <term><command>dnssec-signzone</command></term>
693 <listitem>
694 <para>generates signed versions of zone files.</para>
695 <indexterm zone="bind dnssec-signzone">
696 <primary sortas="b-dnssec-signzone">dnssec-signzone</primary>
697 </indexterm>
698 </listitem>
699 </varlistentry>
700
[298fee30]701 <varlistentry id="dnssec-verify">
702 <term><command>dnssec-verify</command></term>
703 <listitem>
704 <para>
[c18b8f23]705 verifies that a zone is fully signed for each algorithm found
706 in the DNSKEY RRset for the zone, and that the NSEC / NSEC3
[298fee30]707 chains are complete.
708 </para>
709 <indexterm zone="bind dnssec-verify">
710 <primary sortas="b-dnssec-verify">dnssec-verify</primary>
711 </indexterm>
712 </listitem>
713 </varlistentry>
714
715 <varlistentry id="genrandom">
716 <term><command>genrandom</command></term>
717 <listitem>
718 <para>
[bf32a132]719 generates a file containing random data.
[298fee30]720 </para>
721 <indexterm zone="bind genrandom">
722 <primary sortas="b-genrandom">genrandom</primary>
723 </indexterm>
724 </listitem>
725 </varlistentry>
726
[53217a6]727 <varlistentry id="host">
728 <term><command>host</command></term>
729 <listitem>
730 <para>is a utility for DNS lookups.</para>
731 <indexterm zone="bind host">
732 <primary sortas="b-host">host</primary>
733 </indexterm>
734 </listitem>
735 </varlistentry>
736
[298fee30]737 <varlistentry id="isc-config.sh">
738 <term><command>isc-config.sh</command></term>
739 <listitem>
740 <para>
741 prints information related to the installed version of ISC BIND.
742 </para>
743 <indexterm zone="bind isc-config.sh">
744 <primary sortas="b-isc-config.sh">isc-config.sh</primary>
745 </indexterm>
746 </listitem>
747 </varlistentry>
748
749 <varlistentry id="isc-hmac-fixup">
750 <term><command>isc-hmac-fixup</command></term>
751 <listitem>
752 <para>
753 fixes HMAC keys generated by older versions of BIND.
754 </para>
755 <indexterm zone="bind isc-hmac-fixup">
756 <primary sortas="b-isc-hmac-fixup">isc-hmac-fixup</primary>
757 </indexterm>
758 </listitem>
759 </varlistentry>
760
[53217a6]761 <varlistentry id="lwresd">
762 <term><command>lwresd</command></term>
763 <listitem>
764 <para>is a caching-only name server for local process use.</para>
765 <indexterm zone="bind lwresd">
766 <primary sortas="b-lwresd">lwresd</primary>
767 </indexterm>
768 </listitem>
769 </varlistentry>
770
771 <varlistentry id="named">
772 <term><command>named</command></term>
773 <listitem>
774 <para>is the name server daemon.</para>
775 <indexterm zone="bind named">
776 <primary sortas="b-named">named</primary>
777 </indexterm>
778 </listitem>
779 </varlistentry>
780
781 <varlistentry id="named-checkconf">
782 <term><command>named-checkconf</command></term>
783 <listitem>
784 <para>checks the syntax of <filename>named.conf</filename>
785 files.</para>
786 <indexterm zone="bind named-checkconf">
787 <primary sortas="b-named-checkconf">named-checkconf</primary>
788 </indexterm>
789 </listitem>
790 </varlistentry>
791
792 <varlistentry id="named-checkzone">
793 <term><command>named-checkzone</command></term>
794 <listitem>
795 <para>checks zone file validity.</para>
796 <indexterm zone="bind named-checkzone">
797 <primary sortas="b-named-checkzone">named-checkzone</primary>
798 </indexterm>
799 </listitem>
800 </varlistentry>
801
[298fee30]802 <varlistentry id="named-compilezone">
803 <term><command>named-compilezone</command></term>
804 <listitem>
805 <para>
[c18b8f23]806 is similar to <command>named-checkzone</command>, but it always
[298fee30]807 dumps the zone contents to a specified file in a specified format.
808 </para>
809 <indexterm zone="bind named-compilezone">
810 <primary sortas="b-named-compilezone">named-compilezone</primary>
811 </indexterm>
812 </listitem>
813 </varlistentry>
814
815 <varlistentry id="named-journalprint">
816 <term><command>named-journalprint</command></term>
817 <listitem>
818 <para>
[bf32a132]819 prints the zone journal in human-readable form.
[298fee30]820 </para>
821 <indexterm zone="bind named-journalprint">
822 <primary sortas="b-named-journalprint">named-journalprint</primary>
823 </indexterm>
824 </listitem>
825 </varlistentry>
826
827 <varlistentry id="named-rrchecker">
828 <term><command>named-rrchecker</command></term>
829 <listitem>
830 <para>
[bf32a132]831 reads an individual DNS resource record from standard input and
[298fee30]832 checks if it is syntactically correct.
833 </para>
834 <indexterm zone="bind named-rrchecker">
835 <primary sortas="b-named-rrchecker">named-rrchecker</primary>
836 </indexterm>
837 </listitem>
838 </varlistentry>
839
840 <varlistentry id="nsec3hash">
841 <term><command>nsec3hash</command></term>
842 <listitem>
843 <para>
844 generates an NSEC3 hash based on a set of NSEC3 parameters.
845 </para>
846 <indexterm zone="bind nsec3hash">
847 <primary sortas="b-nsec3hash">nsec3hash</primary>
848 </indexterm>
849 </listitem>
850 </varlistentry>
851
[53217a6]852 <varlistentry id="nslookup">
853 <term><command>nslookup</command></term>
854 <listitem>
855 <para>is a program used to query Internet domain nameservers.</para>
856 <indexterm zone="bind nslookup">
857 <primary sortas="b-nslookup">nslookup</primary>
858 </indexterm>
859 </listitem>
860 </varlistentry>
861
862 <varlistentry id="nsupdate">
863 <term><command>nsupdate</command></term>
864 <listitem>
865 <para>is used to submit DNS update requests.</para>
866 <indexterm zone="bind nsupdate">
867 <primary sortas="b-nsupdate">nsupdate</primary>
868 </indexterm>
869 </listitem>
870 </varlistentry>
871
872 <varlistentry id="rndc">
873 <term><command>rndc</command></term>
874 <listitem>
875 <para>controls the operation of <application>BIND</application>.</para>
876 <indexterm zone="bind rndc">
877 <primary sortas="b-rndc">rndc</primary>
878 </indexterm>
879 </listitem>
880 </varlistentry>
881
882 <varlistentry id="rndc-confgen">
883 <term><command>rndc-confgen</command></term>
884 <listitem>
885 <para>generates <filename>rndc.conf</filename> files.</para>
886 <indexterm zone="bind rndc-confgen">
887 <primary sortas="b-rndc-confgen">rndc-confgen</primary>
888 </indexterm>
889 </listitem>
890 </varlistentry>
891
[298fee30]892 <varlistentry id="tsig-keygen">
893 <term><command>tsig-keygen</command></term>
894 <listitem>
895 <para>
[c18b8f23]896 is a symlink to <command>ddns-confgen</command>.
[298fee30]897 </para>
898 <indexterm zone="bind tsig-keygen">
899 <primary sortas="b-tsig-keygen">tsig-keygen</primary>
900 </indexterm>
901 </listitem>
902 </varlistentry>
903
[53217a6]904 </variablelist>
905
906 </sect2>
907
908</sect1>
Note: See TracBrowser for help on using the repository browser.