1997-06-27 07:25:32 +00:00
|
|
|
$Id: INSTALL,v 8.8 1997/06/01 20:34:25 vixie Exp vixie $
|
1996-08-29 19:20:22 +00:00
|
|
|
|
|
|
|
THE FILES:
|
|
|
|
----------
|
|
|
|
INSTALL -- This file
|
|
|
|
README -- Release announcements, tips and traps (some out of date)
|
|
|
|
OPTIONS -- The options that can be turned on and off
|
|
|
|
RUNSON -- What machines/compilers is BIND known to build on
|
|
|
|
TODO -- Have spare time? Consider contributing to the project!
|
1996-12-31 19:51:17 +00:00
|
|
|
BSD/* -- How to integrate BIND into a 4.4BSD or 4.4BSD-Lite
|
|
|
|
contrib/* -- Useful BIND-related contributions
|
1996-08-29 19:20:22 +00:00
|
|
|
doc/info/* -- Platform-dependent build hints
|
1996-12-31 19:51:17 +00:00
|
|
|
doc/* -- other RFCs, drafts, papers and
|
1996-08-29 19:20:22 +00:00
|
|
|
|
1996-12-31 19:51:17 +00:00
|
|
|
INTRODUCTION:
|
1996-08-29 19:20:22 +00:00
|
|
|
-------------
|
1996-12-31 19:51:17 +00:00
|
|
|
BIND used to be extremely difficult to build. That changed around
|
|
|
|
version 4.9.3. These are the instructions on how to compile the
|
|
|
|
software. For information on how to create your configuration files
|
|
|
|
(resolv.conf, named.boot, and zone files) see the doc/bog directory for
|
|
|
|
the complete "BIND Operations Guide". You might also consider getting
|
|
|
|
"DNS and BIND" by C. Liu and P. Albitz from O'Reilly & Associates,
|
|
|
|
Sebastopol, CA, ISBN 0-937175-82-X 1992
|
1996-08-29 19:20:22 +00:00
|
|
|
|
|
|
|
Note: If you maintain a BSD or are otherwise running a 4.4BSD-based system
|
|
|
|
and want to integrate BIND into it, check out BSD/README.
|
|
|
|
|
1996-12-31 19:51:17 +00:00
|
|
|
BUILDING & INSTALLING:
|
|
|
|
----------------------
|
1996-08-29 19:20:22 +00:00
|
|
|
1. (optional) If you are going to compile for multiple platforms, you
|
|
|
|
can make a symbolic link tree for each platform to save disk space. To
|
|
|
|
create a directory called "sun4.dir", do:
|
|
|
|
make DST=sun4.dir links
|
|
|
|
Now "cd sun4.dir" and you can do everything as if you had a complete
|
|
|
|
copy of the source. Just be careful if you are modifying a file, make
|
|
|
|
sure you turn any links into files:
|
|
|
|
mv file file.tmp ; cp file.tmp file ; rm file.tmp
|
|
|
|
|
1996-12-31 19:51:17 +00:00
|
|
|
2. (optional) If you have a typical site, you should find yourself only
|
|
|
|
editing Makefile and conf/options.h. Make backups of them now:
|
|
|
|
|
1997-06-27 07:25:32 +00:00
|
|
|
mv conf/options.h conf/options.h.dist
|
|
|
|
cp conf/options.h.dist conf/options.h
|
1996-12-31 19:51:17 +00:00
|
|
|
chmod u+w conf/options.h
|
|
|
|
|
1997-06-27 07:25:32 +00:00
|
|
|
mv Makefile Makefile.dist
|
|
|
|
cp Makefile.dist Makefile
|
|
|
|
chmod u+w Makefile
|
|
|
|
|
1996-12-31 19:51:17 +00:00
|
|
|
3. Edit "conf/options.h" and turn on any options that you want. The
|
1996-08-29 19:20:22 +00:00
|
|
|
defaults are pretty reasonable for most installations.
|
|
|
|
|
1996-12-31 19:51:17 +00:00
|
|
|
4. Edit "Makefile". The default build parameters are given for 4.4 BSD.
|
|
|
|
They should be overridden (not edited!). Do this by going to the
|
|
|
|
section that describes your operating system and uncoment the
|
|
|
|
appropriate lines. Add any other variables (for example, some people
|
|
|
|
add "DISTHELP=/usr/local/lib".) If in doubt, use the default! Read
|
|
|
|
the comments carefully!
|
1996-08-29 19:20:22 +00:00
|
|
|
|
1996-12-31 19:51:17 +00:00
|
|
|
5. "make" should build everything. Consider putting "./bin" in your
|
1996-08-29 19:20:22 +00:00
|
|
|
path if "make depend" fails and you think bin/mkdep will help you out.
|
|
|
|
|
|
|
|
*** NOTE NOTE NOTE NOTE NOTE NOTE NOTE NOTE NOTE NOTE NOTE ***
|
|
|
|
|
1997-06-27 07:25:32 +00:00
|
|
|
The next step (#6) will burn down files which were supplied with
|
1996-08-29 19:20:22 +00:00
|
|
|
your operating system. You should run the suggested "-n" first
|
|
|
|
and make sure you have saved any files you want to save.
|
|
|
|
|
|
|
|
*** NOTE NOTE NOTE NOTE NOTE NOTE NOTE NOTE NOTE NOTE NOTE ***
|
|
|
|
|
1996-12-31 19:51:17 +00:00
|
|
|
6. "make install" will install everything. You might first do
|
1996-08-29 19:20:22 +00:00
|
|
|
"make -n install" to see what commands would be executed by "make install"
|
|
|
|
to make sure you understand where everything is about to be installed.
|
|
|
|
|
1996-12-31 19:51:17 +00:00
|
|
|
7. (optional, SunOS 4, SunOS 5, NetBSD-1.x, IRIX, Linix only): You can
|
|
|
|
integrate the new resolver (client-side) code into the shared libraries
|
|
|
|
of your operating system so that all dynamicly linked programs take
|
|
|
|
advantage of the new resolver. Read shres/<osname>/INSTALL to find out
|
|
|
|
how to do it.
|
1996-08-29 19:20:22 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
HOW TO GET HELP:
|
1996-12-31 19:51:17 +00:00
|
|
|
----------------
|
1997-06-27 07:25:32 +00:00
|
|
|
The "bind-users@vix.com" mailing list was created especially for people to
|
|
|
|
talk about and ask questions about installation, maintenance, etc. It is
|
|
|
|
highly recommended that you first help yourself by reading the BOG (doc/bog)
|
|
|
|
or a book on DNS and BIND.
|
1996-08-29 19:20:22 +00:00
|
|
|
|
1997-06-27 07:25:32 +00:00
|
|
|
To be added to this mailing list, send mail to <bind-users-request@vix.com>
|
1996-08-29 19:20:22 +00:00
|
|
|
|
1997-06-27 07:25:32 +00:00
|
|
|
Note that the bind-users mailing list is also available on Usenet as
|
|
|
|
comp.protocols.dns.bind
|
|
|
|
and that we would all prefer that you read it that way if you possibly can.
|
1996-08-29 19:20:22 +00:00
|
|
|
|
1997-06-27 07:25:32 +00:00
|
|
|
This INSTALL was...
|
|
|
|
originally written on 15Jul94 by Tom Limoncelli <tal@bell-labs.com>
|
|
|
|
changed in minor ways 23Dec95 by Christopher Davis <ckd@kei.com>
|
|
|
|
and then changed by Tom Limoncelli again 16Oct96.
|