Compiling BIND 9


BIND 9 is both harder and easier to compile than BIND 8. It's harder because it requires an ANSI C compiler (and not all UNIX versions come with one). BIND 9 also uses threads, as implemented with pthreads, and supports IPv6. The quality of the OS thread libraries can vary, and I would expect a shakedown phase both in BIND 9 and the OSs concerned. On the other hand BIND 9 is easier to compile because it is GNU-autoconfigurable. Therefore, if it has already been ported and tested on your OS, everything should be as easy to get working as GNU software usually is. BIND 9.0.0tr5 is reported to build on a number of platforms, as found in the README file:

  • AIX 4.3

  • COMPAQ Tru64 UNIX 4.0D

  • COMPAQ Tru64 UNIX 5 (with IPv6 EAK)

  • FreeBSD 3.4-STABLE

  • HP-UX 11

  • IRIX64 6.5

  • NetBSD-current (with unproven-pthreads-0.17)

  • Red Hat Linux 6.0, 6.1, 6.2

  • Solaris 2.6, 7, 8 (beta)

The README file also contains the compilation instructions. In most cases, it will be this familiar sequence:

 $ ./configure $ make $ make install 

It accepts the usual GNU autoconf options and variables, of course, and some BIND 9 specific options. See ./configure --help and in the README file for more information about that.

If you have one of the platforms previously listed, you are now quite likely to have BIND 9 installed. It is started, stopped, and configured identically to BIND 8. But ndc has been replaced with rndc, which requires configuration. I will return to that later in this chapter. You might want to take a look at the CHANGES file, where you will find the added and changed functionality, as well as fixed bugs.



The Concise Guide to DNS and BIND
The Concise Guide to DNS and BIND
ISBN: 0789722739
EAN: 2147483647
Year: 1999
Pages: 183

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net