Implementing DNS forward and backward parsing in Linux

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.