source: server/major/bind.xml@ b62ff55c

11.0 11.1 11.2 11.3 12.0 12.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 b62ff55c was b62ff55c, checked in by Douglas R. Reno <renodr@…>, 3 years ago

Update to pdfbox/fontbox-2.0.23
Update to BIND-9.16.13

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

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