Академический Документы
Профессиональный Документы
Культура Документы
Before you install the BIND Package Do the necessary pre-requisites as follows:
BIND stands for Berkeley Internet Name Domain, a software which provides an ability to perform name to IP
conversion.
Pre-Requisites packages need to install on the machine before you start the installation process.
The generic BIND distribution doesn't follow CentOS 7 path conventions, so you don't want to run a
bare./configure command. The following example sets the system paths to sane values for CentOS 7, and
ensures that the most commonly used DNS features are turned on.
./configure --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc
--localstatedir=/var --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec
-- sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-libtool
# make install
Now create the filesystem structures where BIND will store its data. Zone files, temporary keys, and ephemeral
data will live in /var/named, log files will be written to /var/log/named, and the pidfile will go
to /var/run/named.
Next, create a file at /etc/sysconfig/named to supply runtime options to the named service. If your server is
IPv6-capable, you can just create an empty file. If you're in an IPv4-only environment, use the command below
to create a file that (mostly) disables IPv6 features in BIND:
Technically, BIND will run even if this file is empty, but the bare minimum defaults probably won't meet your
needs. You need to open named.conf in an editor and set some configuration options.
named.conf.txt