| |||||||||||||||
|
Linux and the BIND that Ties This article will serve as an introduction to obtaining, installing, and configuring BIND under Linux, and will include some pointers on where to go for more in-depth information.
The Domain Name System (DNS) is used by all TCP/IP Internet software to translate the names that we humans like to use to the IP numbers assigned to all the computers and devices out on the Internet and your internal network. Under most flavors of Unix, the most commonly used software package is Berkley Internet Name Domain, (BIND). This article will serve as an introduction to obtaining, installing, and configuring BIND under Linux, and will include some pointers on where to go for more in-depth information. You should be aware that some recent security vulnerabilities have been uncovered in BIND, so be sure to get at least version 8.23. As of this writing, the latest version is 9.1.1. BIND can be downloaded from the Internet Software Consortium (ISC) at http://www.isc.org. For the purposes of this article we'll use version 9.1.1, downloadable from ftp://ftp.isc.org/isc/bind9/9.1.1/bind-9.1.1.tar.gz ISC also offers support contracts for BIND as well as training, a mail list, and a FAQ. If you prefer printed documentation, O'Reilly has a good volume on DNS and Bind. Installation If you are building from source, the build is fairly straightforward: tar -xzf bind-9.1.1.tar.gz
cd bind-9.1.1
./configure
make
make install
BIND is normally installed in /usr/local,
but this can be modified by using --prefix with "configure".
A number of other options are available, and can be viewed by typing:
./configure --helpIf your system supports IPv6, BIND will be built to support it automatically. Setup BIND uses db, or zone files, similar to the /etc/hosts file you may be familiar with on a unix system. The hosts file looks something like this, and it maps IP addresses to domain names:
192.168.192.1 moe.stewb.net moe
192.168.193.1 moe.stewb.net moe
192.168.192.2 larry.stewb.net larry
192.168.193.40 omniw.stewb.net omniw
192.168.192.20 pserver.stewb.net pserver
192.168.192.45 powerbook.stewb.net powerbook
My 192.168.193 branch is rather small, only supporting a wireless
network to one machine right now, but could have several machines. "moe"
is the main file server and well as serving as a router to connect the two
networks. We will also be running BIND on moe.
|
|
|||||||||||||
|
|
|||||||||||||||
#