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