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