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