README revision 557ab3bef6dbb33623f6ff26e9bbb0566b27d9bf
16803617e47c83272013e45ba8eb83a3b11983edAndreas Gustafsson BIND version 9 is a major rewrite of nearly all aspects of the
16803617e47c83272013e45ba8eb83a3b11983edAndreas Gustafsson underlying BIND architecture. Some of the important features of
16803617e47c83272013e45ba8eb83a3b11983edAndreas Gustafsson - DNS Security
16803617e47c83272013e45ba8eb83a3b11983edAndreas Gustafsson DNSSEC (signed zones)
16803617e47c83272013e45ba8eb83a3b11983edAndreas Gustafsson TSIG (signed DNS requests)
16803617e47c83272013e45ba8eb83a3b11983edAndreas Gustafsson - IP version 6
16803617e47c83272013e45ba8eb83a3b11983edAndreas Gustafsson Answers DNS queries on IPv6 sockets
16803617e47c83272013e45ba8eb83a3b11983edAndreas Gustafsson IPv6 resource records (A6, DNAME, etc.)
16803617e47c83272013e45ba8eb83a3b11983edAndreas Gustafsson Bitstring Labels
16803617e47c83272013e45ba8eb83a3b11983edAndreas Gustafsson Experimental IPv6 Resolver Library
16803617e47c83272013e45ba8eb83a3b11983edAndreas Gustafsson - DNS Protocol Enhancements
16803617e47c83272013e45ba8eb83a3b11983edAndreas Gustafsson IXFR, DDNS, Notify, EDNS0
16803617e47c83272013e45ba8eb83a3b11983edAndreas Gustafsson Improved standards conformance
16803617e47c83272013e45ba8eb83a3b11983edAndreas Gustafsson One server process can provide multiple "views" of
16803617e47c83272013e45ba8eb83a3b11983edAndreas Gustafsson the DNS namespace, e.g. an "inside" view to certain
16803617e47c83272013e45ba8eb83a3b11983edAndreas Gustafsson clients, and an "outside" view to others.
16803617e47c83272013e45ba8eb83a3b11983edAndreas Gustafsson - Multiprocessor Support
16803617e47c83272013e45ba8eb83a3b11983edAndreas Gustafsson - Improved Portability Architecture
b90dd6c0a9df584619d3c47be7c9417f55d5ccf6Bob Halley BIND version 9 development has been underwritten by the following
b90dd6c0a9df584619d3c47be7c9417f55d5ccf6Bob Halley organizations:
16803617e47c83272013e45ba8eb83a3b11983edAndreas Gustafsson Sun Microsystems, Inc.
16803617e47c83272013e45ba8eb83a3b11983edAndreas Gustafsson Hewlett Packard
16803617e47c83272013e45ba8eb83a3b11983edAndreas Gustafsson Compaq Computer Corporation
16803617e47c83272013e45ba8eb83a3b11983edAndreas Gustafsson Process Software Corporation
16803617e47c83272013e45ba8eb83a3b11983edAndreas Gustafsson Silicon Graphics, Inc.
16803617e47c83272013e45ba8eb83a3b11983edAndreas Gustafsson Network Associates, Inc.
70680fa51b0147c726b939b72b2420249429756aBob Halley U.S. Defense Information Systems Agency
70680fa51b0147c726b939b72b2420249429756aBob Halley USENIX Association
276a77c22af98c78403883b16a82646a0d5b29abPaul Vixie Stichting NLnet - NLnet Foundation
1c9afb96b58f450f8861007e5135dee1447e680fAndreas Gustafsson This is a snapshot of the development source tree that
1c9afb96b58f450f8861007e5135dee1447e680fAndreas Gustafsson will become BIND 9.2. Bind 9.2 will have a number of
4d5f44e7933f4cb691e8f4cf3b4b5f61c27e2b1cAndreas Gustafsson new features over 9.1, including:
8c4f1fa179f8f2fc56a9fa9294682a080e8756eeAndreas Gustafsson - The ability to automatically convert RFC1886-style
8c4f1fa179f8f2fc56a9fa9294682a080e8756eeAndreas Gustafsson recursive lookup requests into RFC2874-style lookups,
8c4f1fa179f8f2fc56a9fa9294682a080e8756eeAndreas Gustafsson enabled using the new option "allow-v6-synthesis".
4d5f44e7933f4cb691e8f4cf3b4b5f61c27e2b1cAndreas Gustafsson This allows stub resolvers that support AAAA records
8c4f1fa179f8f2fc56a9fa9294682a080e8756eeAndreas Gustafsson but not A6 record chains or binary labels to perform
4d5f44e7933f4cb691e8f4cf3b4b5f61c27e2b1cAndreas Gustafsson lookups in domains that make use of these IPv6 DNS
4d5f44e7933f4cb691e8f4cf3b4b5f61c27e2b1cAndreas Gustafsson An IPv6 capable stub resolver based on the BIND 8 resolver
4d5f44e7933f4cb691e8f4cf3b4b5f61c27e2b1cAndreas Gustafsson code base and fully backwards compatible with existing BIND 8
8c4f1fa179f8f2fc56a9fa9294682a080e8756eeAndreas Gustafsson based resolvers is being developed and will be integrated into
8c4f1fa179f8f2fc56a9fa9294682a080e8756eeAndreas Gustafsson the BIND 9 distribution when completed.
8c4f1fa179f8f2fc56a9fa9294682a080e8756eeAndreas Gustafsson This distribution already includes a new lightweight stub
8c4f1fa179f8f2fc56a9fa9294682a080e8756eeAndreas Gustafsson resolver library and associated resolver daemon that fully
672a41b5fef7722803645c1f0ca132972f0f940aAndreas Gustafsson support forward and reverse lookups of both IPv4 and IPv6
8a01f10278e0c794fe1d488bab2f97185f272e26Andreas Gustafsson addresses. This library is still considered experimental and
8a01f10278e0c794fe1d488bab2f97185f272e26Andreas Gustafsson is not a complete replacement for the BIND 8 resolver library.
8a01f10278e0c794fe1d488bab2f97185f272e26Andreas Gustafsson Applications that use the BIND 8 res_* functions to perform
8a01f10278e0c794fe1d488bab2f97185f272e26Andreas Gustafsson DNS lookups or dynamic updates still need to be linked against
8a01f10278e0c794fe1d488bab2f97185f272e26Andreas Gustafsson the BIND 8 libraries. For DNS lookups, they can also use the
18b393da86f452303036b5fe6feb6c1e5f6b2c02Andreas Gustafsson new "getrrsetbyname()" API.
81fb2f5544552e67d7be673e353e399789e203e7Brian Wellington BIND 9.2 is capable of acting as an authoritative server
81fb2f5544552e67d7be673e353e399789e203e7Brian Wellington for DNSSEC secured zones. This functionality is believed to
00205e27e84603f75eed46268a5100e86883f06bAndreas Gustafsson be stable and complete except for lacking support for wildcard
00205e27e84603f75eed46268a5100e86883f06bAndreas Gustafsson records in secure zones.
317ebe84d581e59f5cb63bc6c1556a479bbb179aAndreas Gustafsson When acting as a caching server, BIND 9.2 can be configured
317ebe84d581e59f5cb63bc6c1556a479bbb179aAndreas Gustafsson to perform DNSSEC secure resolution on behalf of its clients.
317ebe84d581e59f5cb63bc6c1556a479bbb179aAndreas Gustafsson This part of the DNSSEC implementation is still considered
317ebe84d581e59f5cb63bc6c1556a479bbb179aAndreas Gustafsson experimental. For detailed information about the state of the
317ebe84d581e59f5cb63bc6c1556a479bbb179aAndreas Gustafsson DNSSEC implementation, see the file doc/misc/dnssec.
5f25ebaaa087893f8f57cc558c4b36eab6c26988Andreas Gustafsson There are a few known bugs:
cca68b1ff68cd4342705b71015f603c7389d040cAndreas Gustafsson On some systems, IPv6 and IPv4 sockets interact in
5f25ebaaa087893f8f57cc558c4b36eab6c26988Andreas Gustafsson unexpected ways. For details, see doc/misc/ipv6.
ecbfd32d3710d539f19a9323f16cf43a095580bdAndreas Gustafsson To reduce the impact of these problems, the server
4d5f44e7933f4cb691e8f4cf3b4b5f61c27e2b1cAndreas Gustafsson no longer listens for requests on IPv6 addresses
4d5f44e7933f4cb691e8f4cf3b4b5f61c27e2b1cAndreas Gustafsson by default. If you need to accept DNS queries over
ecbfd32d3710d539f19a9323f16cf43a095580bdAndreas Gustafsson IPv6, you must specify "listen-on-v6 { any; };"
4d5f44e7933f4cb691e8f4cf3b4b5f61c27e2b1cAndreas Gustafsson in the named.conf options statement.
4d5f44e7933f4cb691e8f4cf3b4b5f61c27e2b1cAndreas Gustafsson There are known problems with thread signal handling
4d5f44e7933f4cb691e8f4cf3b4b5f61c27e2b1cAndreas Gustafsson under Solaris 2.6.
4d5f44e7933f4cb691e8f4cf3b4b5f61c27e2b1cAndreas Gustafsson FreeBSD prior to 4.2 and OpenBSD prior to 2.8 log
4d5f44e7933f4cb691e8f4cf3b4b5f61c27e2b1cAndreas Gustafsson messages like "fcntl(8, F_SETFL, 4): Inappropriate
3b8932de20e12b07f9d874d5538d30e1fac9a9f4Andreas Gustafsson ioctl for device". This is due to a bug in
3b8932de20e12b07f9d874d5538d30e1fac9a9f4Andreas Gustafsson "/dev/random" and impacts the server's DNSSEC
4d5f44e7933f4cb691e8f4cf3b4b5f61c27e2b1cAndreas Gustafsson --with-libtool does not work on AIX.
3b8932de20e12b07f9d874d5538d30e1fac9a9f4Andreas Gustafsson For a detailed list of user-visible changes from
3b8932de20e12b07f9d874d5538d30e1fac9a9f4Andreas Gustafsson previous releases, see the CHANGES file.
3b8932de20e12b07f9d874d5538d30e1fac9a9f4Andreas Gustafsson BIND 9 currently requires a UNIX system with an ANSI C compiler,
3b8932de20e12b07f9d874d5538d30e1fac9a9f4Andreas Gustafsson basic POSIX support, and a 64 bit integer type.
3b8932de20e12b07f9d874d5538d30e1fac9a9f4Andreas Gustafsson We've had successful builds and tests on the following systems:
3b8932de20e12b07f9d874d5538d30e1fac9a9f4Andreas Gustafsson COMPAQ Tru64 UNIX 4.0D
3b8932de20e12b07f9d874d5538d30e1fac9a9f4Andreas Gustafsson COMPAQ Tru64 UNIX 5 (with IPv6 EAK)
73edea95c744a2a9052852d0a63b449599062b30Brian Wellington FreeBSD 3.4-STABLE, 3.5, 4.0, 4.1
73edea95c744a2a9052852d0a63b449599062b30Brian Wellington NetBSD 1.5 (with unproven-pthreads-0.17)
73edea95c744a2a9052852d0a63b449599062b30Brian Wellington Red Hat Linux 6.0, 6.1, 6.2, 7.0
7c956aeeeb8da3fd3912b1fb8024ff274e3b07ebAndreas Gustafsson Solaris 2.6, 7, 8
40d01ce8f3a1889f5799d9b22b26d5398fa75a1bBob Halley Additionally, we have unverified reports of success building
0ec9b06f0bd6cc3ce327a3c70db53672957fa372Andreas Gustafsson previous versions of BIND 9 from users of the following systems:
0ec9b06f0bd6cc3ce327a3c70db53672957fa372Andreas Gustafsson Slackware Linux 7.0 with 2.4.0-test6 kernel and glibc 2.1.3
0ec9b06f0bd6cc3ce327a3c70db53672957fa372Andreas Gustafsson Slackware Linux 7.0.1 with glibc 2.1.3
e5256e34b4a26a26088b2dc5ca621b42c0750256Andreas Gustafsson OpenBSD 2.6, 2.8, -current
40f53fa8d9c6a4fc38c0014495e7a42b08f52481David Lawrence UnixWare 7.1.1
276a77c22af98c78403883b16a82646a0d5b29abPaul Vixie To build, just
8db66dc4eb654a2e295eaeab3aaf96e24c9ae7b7Bob Halley Several environment variables that can be set before running
501da430e2f16f496f8e8d1b57ab77f78428c682David Lawrence configure will affect compilation:
36983956d7c3d9e294903eeda29548f67ac17daeBob Halley The C compiler to use. configure tries to figure
3b8932de20e12b07f9d874d5538d30e1fac9a9f4Andreas Gustafsson out the right one for supported systems.
36983956d7c3d9e294903eeda29548f67ac17daeBob Halley C compiler flags. Defaults to include -g and/or -O2
8c4f1fa179f8f2fc56a9fa9294682a080e8756eeAndreas Gustafsson as supported by the compiler.
faf2b80fe31d8dc9e10bf2cf697ccceef2ffa353Andreas Gustafsson System header file directories. Can be used to specify
d80ccd47ad4b526f82590b6c182b4dd80006712eAndreas Gustafsson where add-on thread or IPv6 support is, for example.
3b8932de20e12b07f9d874d5538d30e1fac9a9f4Andreas Gustafsson Defaults to empty string.
40aa8b407a7e51e13954a211260eda1c72674e1cAndreas Gustafsson Any additional preprocessor symbols you want defined.
a9bd2eab109801125605b1db8a69f625c3610aebDavid Lawrence Defaults to empty string.
97c5be1daa4257ff54ea05ddb683867cadd5823fAndreas Gustafsson To build shared libraries, specify "--with-libtool" on the
5d7c50da51174c01291712e4c2a08fce7e6e8883Andreas Gustafsson configure command line.
e544b507b8019a62c5d2716281f6832519a8791dDavid Lawrence To build without multithreading, specify "--disable-threads"
6905fe248b89a0fd5b892ab8569e50cffe763ed0Andreas Gustafsson on the configure command line.
a0cad57966364095e4367f568389a8bd84afb2afAndreas Gustafsson If your operating system has integrated support for IPv6, it
36983956d7c3d9e294903eeda29548f67ac17daeBob Halley will be used automatically. If you have installed KAME IPv6
36983956d7c3d9e294903eeda29548f67ac17daeBob Halley separately, use "--with-kame[=PATH]" to specify its location.
36983956d7c3d9e294903eeda29548f67ac17daeBob Halley To see additional configure options, run "configure --help".
8eb5937a7e4cb8b5d7fcc1be17d34fdd014bbbb1Andreas Gustafsson "make install" will install "named" and the various BIND 9 libraries.
8eb5937a7e4cb8b5d7fcc1be17d34fdd014bbbb1Andreas Gustafsson By default, installation is into /usr/local, but this can be changed
3b8932de20e12b07f9d874d5538d30e1fac9a9f4Andreas Gustafsson with the "--prefix" option when running "configure".
b70fc17acec2c036bb35a937ba00fbcf10848859David Lawrence If you're planning on making changes to the BIND 9 source, you
3b8932de20e12b07f9d874d5538d30e1fac9a9f4Andreas Gustafsson should also "make depend". If you're using Emacs, you might find
3b8932de20e12b07f9d874d5538d30e1fac9a9f4Andreas Gustafsson "make tags" helpful.
b70fc17acec2c036bb35a937ba00fbcf10848859David Lawrence Building with gcc is not supported, unless gcc is the vendor's usual
3b8932de20e12b07f9d874d5538d30e1fac9a9f4Andreas Gustafsson compiler (e.g. the various BSD systems, Linux).
3b8932de20e12b07f9d874d5538d30e1fac9a9f4Andreas Gustafsson A limited test suite can be run with "make test". Many of
b70fc17acec2c036bb35a937ba00fbcf10848859David Lawrence the tests require you to configure a set of virtual IP addresses
3b8932de20e12b07f9d874d5538d30e1fac9a9f4Andreas Gustafsson on your system, and some require Perl; see bin/tests/system/README
3b8932de20e12b07f9d874d5538d30e1fac9a9f4Andreas Gustafsson Linux systems do not provide useful core dumps for multithreaded
b70fc17acec2c036bb35a937ba00fbcf10848859David Lawrence programs unless the kernel patch in contrib/linux/coredump-patch
3b8932de20e12b07f9d874d5538d30e1fac9a9f4Andreas Gustafsson has been applied. We recommend all Linux users to install this
3b8932de20e12b07f9d874d5538d30e1fac9a9f4Andreas Gustafsson patch so that any server crashes can be properly diagnosed.
ee80f4506479e189ca1320eb87ac89188c5a7848Mark Andrews The BIND 9 Administrator Reference Manual is included with the
ee80f4506479e189ca1320eb87ac89188c5a7848Mark Andrews source distribution in DocBook XML and HTML format, in the
69930116e30137705d3b87d05cbfbc5712386fdeAndreas Gustafsson Some of the programs in the BIND 9 distribution have man pages
69930116e30137705d3b87d05cbfbc5712386fdeAndreas Gustafsson under the doc/man directory. In particular, the command line
29c9e88c6ce6c88d9a3e3a9629dbb0df29168ebfAndreas Gustafsson options of "named" are documented in doc/man/bind/named.8.
29c9e88c6ce6c88d9a3e3a9629dbb0df29168ebfAndreas Gustafsson There is now also a set of man pages for the lwres library.
f72a461c766a4cedc705e1ed0d6d2bb999a393f1Andreas Gustafsson The man pages are currently not installed automatically by
f72a461c766a4cedc705e1ed0d6d2bb999a393f1Andreas Gustafsson "make install".
f72a461c766a4cedc705e1ed0d6d2bb999a393f1Andreas Gustafsson If you are upgrading from BIND 8, please read the migration
8c4f1fa179f8f2fc56a9fa9294682a080e8756eeAndreas GustafssonBug Reports and Mailing Lists
8c4f1fa179f8f2fc56a9fa9294682a080e8756eeAndreas Gustafsson Bugs reports should be sent to
8c4f1fa179f8f2fc56a9fa9294682a080e8756eeAndreas Gustafsson bind9-bugs@isc.org
8c4f1fa179f8f2fc56a9fa9294682a080e8756eeAndreas Gustafsson To join the BIND 9 Users mailing list, send mail to
e21262ae8af5d12f64a2242e26338f36901ba4ccAndreas Gustafsson bind9-users-request@isc.org
e21262ae8af5d12f64a2242e26338f36901ba4ccAndreas Gustafsson If you're planning on making changes to the BIND 9 source
40f53fa8d9c6a4fc38c0014495e7a42b08f52481David Lawrence code, you might want to join the BIND 9 Workers mailing list.
36983956d7c3d9e294903eeda29548f67ac17daeBob Halley Send mail to
36983956d7c3d9e294903eeda29548f67ac17daeBob Halley bind9-workers-request@isc.org