First, before the installation of the preparatory work:
Pre-installation instructions: The Mail service relies on the DNS service, please be assured beforehand that your DNS service has been completed for mail application configuration.
1, install the required RPM package first uninstall the system with the bind and its components, installation bind97
RPM-E Bind-libs Bind-utils
2. Configure Yum Library
Vim/etc/yum.repos.d/server.repo
[Base]
Name=server
Baseurl=file:///mnt/cdrom/server
Enabled=1
Gpgcheck=0
3. Install BIND97 Package
Yum Install bind97 bind97-utils-y
4, install good bind97, start to edit its configuration file, here we directly use its configuration file to do a change,
The things you need to keep in the vim/etc/named.conf #options are the ones below, the rest of the same
Options {
Directory "/var/named";
Dump-file "/var/named/data/cache_dump.db";
Statistics-file "/var/named/data/named_stats.txt";
Memstatistics-file "/var/named/data/named_mem_stats.txt";
recursion Yes;
/* Path to ISC DLV Key * *
Bindkeys-file "/etc/named.iscdlv.key";
};
Vim/etc/named.rfc1912.zones add content to the end of the file as follows
Zone "Jll.come" in {
Type master;
File "Jll.com.zone";
};
Zone "50.16.17.in-addr.arpa" in {
Type master;
File "172.16.50.zone";
};
named-checkconf/etc/named.conf Check Syntax