source: server/major/bind.xml@ 325ebd7

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 xry111/llvm18 xry111/soup3 xry111/xf86-video-removal
Last change on this file since 325ebd7 was 942236f, checked in by Bruce Dubbs <bdubbs@…>, 2 years ago

Update to bind and bind-utilities-9.18.2.

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