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