Difference between revisions of "BIND"

From CBLFS
Jump to navigationJump to search
m (config)
m
Line 71: Line 71:
  
  
=== BootScript ===
+
== BootScript ==
  
 
Install the init script included in the [[bootscripts]] package.
 
Install the init script included in the [[bootscripts]] package.
Line 78: Line 78:
  
  
=== Configuration ===
+
== Configuration ==
  
 
Time premiting, the configuration for bind will be put here. For the time being, the following link cam be used to set up a simple lookup nameserver.
 
Time premiting, the configuration for bind will be put here. For the time being, the following link cam be used to set up a simple lookup nameserver.
  
 
  http://www.unixwiz.net/techtips/bind9-chroot.html
 
  http://www.unixwiz.net/techtips/bind9-chroot.html

Revision as of 00:06, 13 April 2008

Download Source: ftp://ftp.isc.org/isc/bind9/9.6.1-P2/bind-9.6.1-P2.tar.gz
Alternate Download Source: http://gd.tuwien.ac.at/infosys/servers/bind9/9.6.1-P2/bind-9.6.1-P2.tar.gz

Introduction to BIND

BIND (Berkeley Internet Name Domain) is an implementation of the DNS protocols and provides an openly redistributable reference implementation of the major components of the Domain Name System.

Project Homepage: http://www.bind9.net/

Dependencies

Optional

  • OpenSSL (Recommended for secure environments)

Non-Multilib

Compile the package:

./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --enable-threads --with-libtool &&
make

Install the package

make install

Multilib

32Bit

Compile the package:

CC="gcc ${BUILD32}" ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --enable-threads \
     --with-libtool &&
make

Install the package

make install &&
mv -v /usr/bin/isc-config.sh{,-32}

N32

Compile the package:

CC="gcc ${BUILDN32}" ./configure --prefix=/usr --libdir=/usr/lib32 --sysconfdir=/etc --localstatedir=/var \
     --enable-threads --with-libtool &&
make

Install the package

make install &&
mv -v /usr/bin/isc-config.sh{,-n32}

64Bit

Compile the package:

CC="gcc ${BUILD64}" ./configure --prefix=/usr --libdir=/usr/lib64 --sysconfdir=/etc --localstatedir=/var \
    --enable-threads --with-libtool &&
make

Install the package

make install &&
mv -v /usr/bin/isc-config.sh{,-64} &&
ln -sfv multiarch_wrapper /usr/bin/isc-config.sh


BootScript

Install the init script included in the bootscripts package.

make install-bind


Configuration

Time premiting, the configuration for bind will be put here. For the time being, the following link cam be used to set up a simple lookup nameserver.

http://www.unixwiz.net/techtips/bind9-chroot.html