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