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