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