What are the matters needing attention in the use of self-contained BIND under Linux system
This article mainly introduces what matters needing attention in the use of self-contained BIND under the Linux system, the article is very detailed, has a certain reference value, interested friends must read it!
Points for attention in the use of self-contained BIND under Linux system
Default settings for BIND
/ etc/named.conf-profile
/ etc/sysconfig/named-whether to start chroot and additional parameters are controlled by this file
/ var/named/-- Database files are placed in this directory by default
/ var/run/named-- named this defaults to placing pid-file in this directory when the program is executed
You can view the directory specified by chroot by viewing / etc/sysconfig/named
# vi / etc/sysconfig/named
ROOTDIR=/var/named/chroot
In this way, all the information required for the relevant procedures of bind will be in:
/ var/named/chroot/etc/named.conf
/ var/named/chroot/var/named/zone_file1
/ var/named/chroot/var/named/zone_file...
/ var/named/chroot/var/run/named/...
However, you can still use / etc/named.conf to set your DNS
Because the system will actively link / var/named/chroot/etc/named.conf to / etc/named.conf for you.
Summary of DNS servers:
A > the main profile is / etc/named.conf
B > each forward solution and inverse solution requires a file, and the file name is set by / etc/named.conf
C > the current BIND program has already implemented chroot. You can refer to / etc/sysconfig/named.
D > when querying DNS, if you don't have a database, go to root (. ) or forwarders host query
The erection of e > DNS server requires the authorization of the upper DNS to become a legitimate DNS server, otherwise it can only be internal.
It is important to check the information in / var/log/messages whether f > named starts successfully.
The above is all the contents of the article "what are the precautions for the use of self-contained BIND in the Linux system?" Thank you for reading! Hope to share the content to help you, more related knowledge, welcome to follow the industry information channel!