Experimental environment: RHEL6.5 version of a set.
---------------------------------procedure----------------------------------------
First, install the BIND package
First we will install the bind package. Usually we mount the CD-ROM to the MNT directory.
Second, positive analysis
Usually we install the package is in the ETC directory, we directly to the live configuration file for editing and modification
Modify the master configuration file to change the listener address to a local address, and the settings can be resolved by everyone. End Save exit. Configuration file modification completed.
After the master configuration file has been modified, we will modify the zone configuration file.
After the file is opened, it is important that there are two positive and negative parsing templates
We paste the forward parsing template using "yy" copy "P" to the downstream of the template. The directory of work here is to be created behind us.
Save exit after changing a moment configuration file. Below we want to go to the Var directory in the named to create the working directory we need before
The Named.localhost file here is the template for the working directory. We use Cp-p to copy to Benet.com.zone in order not to change the owner of the document. and make edits to the copied files.
Modify the content in the Benet.com.zone.
Successful start-up service
Specify a DNS address
Parsing using the host command
Third, reverse analysis
directly into the zone configuration file to modify the contents. Because it is the direction resolution, all addresses are to be reversed.
We have copied the previously configured Benet.com.zone as benet.com.local. Forward parsing is the inverse of the zone ending with a local ending
Changes to content in the Benet.com.local file
Restart Service
Parsing with the host command
Implementing DNS forward and backward parsing in Linux