source: server/major/bind.xml@ 73fb07ad

10.1 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 73fb07ad was 73fb07ad, checked in by Douglas R. Reno <renodr@…>, 3 years ago

Update to scons-4.1.0
Update to bind (and bind-utils) 9.16.11
Update to pipewire-0.3.20
Update to mc-4.8.26
Update to pango-1.48.1
Update to libmbim-1.24.6
Update to pinentry-1.1.1
Update to icewm-2.1.1

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

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