About Bind
The most widely used DNS server software now is bind (Berkeley Internet Name Domain), which was first written by a student at Berkeley University, and now the latest version is 9, with ISC (Internet Systems Consortium) written and maintained.
Bind supports most of the first operating systems (Linux,unix,mac,windows)
The name of the bind service is called named
DNS by default using UDP, TCP protocol, using port is (domain), 953 (MDC, remote control use)
Bind installation
This example uses the same environment as the CentOS 6.5 Linux operating system, so it is straightforward to use the command: Yum install-y bind Bind-chroot bind-utils
Where Bind-chroot and bind-utils are bind-related packages.
Bind configuration
Bind config file is saved in two locations:
/etc/named.conf-bind Service Master configuration file
/var/named/-zone file (DNS information for the domain)
If Bind-chroot is installed (where chroot is the abbreviation for change root), bind is encapsulated in a pseudo-root directory where the configuration file becomes:
/var/named/chroot/etc/named.conf-bind Service Master configuration file
/var/named/chroot/var/named/-zone file
Chroot is encapsulated in a pseudo-root directory through the relevant files, has achieved the purpose of security protection, once the program is compromised, will only access the contents of the pseudo-root directory, not the real root directory
"Linux" DNS service-bind basic configuration