home | O'Reilly's CD bookshelfs | FreeBSD | Linux | Cisco | Cisco Exam  


DNS & BIND

DNS & BINDSearch this book
Previous: A.4 Resource Record Data Appendix B Next: B.2 Unpack the Source Code
 

B. Compiling and Installing BIND on a Sun

The version of BIND shipped with Solaris 2.6 is based on the 4.9.3 release of BIND  - a tad stale. Earlier versions of Solaris 2 include a BIND based on 4.8.3, which is downright ripe. For those of you who can't wait until Solaris ships with a version of BIND 8, compiling BIND from the sources on a Sun is relatively easy, because Solaris is based on BSD UNIX , and BIND was originally written for BSD UNIX . Here are instructions on how to compile and install 8.1.2 BIND on your Solaris 2.X host.

B.1 Get the Source Code

First, you've got to get the source code. There's a copy on ftp.isc.org , available for anonymous ftp :

% 

cd /tmp


% 

ftp ftp.isc.org.


Connected to pub1.pa.vix.com.
220 pub1.pa.vix.com 
FTP
 server (Version wu-2.4(1) Fri Dec 29 06:15:49 
GMT
 1995) ready.
Name (ftp.isc.org.:user): 

ftp


331 Guest login ok, send e-mail address as password.
Password:

Now you need to find the right file:

ftp > 

cd /isc/bind/src/cur/bind-8


250 
CWD
 command successful.
ftp > 

binary 


200 Type set to I.
ftp > 

get bind-8.1.2-src.tar.gz


200 
PORT
 command successful.
150 Opening 
BINARY
 mode data connection for bind-8.1.2-src.tar.gz (675801 bytes).
226 Transfer complete.
675801 bytes received in 89.5 seconds (7.4 Kbytes/s)
ftp > 

quit


221 Goodbye.


Previous: A.4 Resource Record Data DNS & BIND Next: B.2 Unpack the Source Code
A.4 Resource Record Data Book Index B.2 Unpack the Source Code