Use Bind in RHEL5 to implement DNS Functions

Source: Internet
Author: User
Tags nameserver
The role and related concepts of DNS are not discussed in this article. This article only describes how to use the BIND of RHEL5.1 to implement common DNS functions. BIND package: bind (BIND server package, which is not installed in RHEL5 by default), bind-utils (provides a testing tool program for the DNS server, which is installed by default ), bind-chroot and caching-nameserver. Install the BIND installation package in yum Mode

The role and related concepts of DNS are not discussed in this article. This article only describes how to use the BIND of RHEL 5.1 to implement common DNS functions.

BIND package: bind (BIND server package, which is not installed in RHEL5 by default), bind-utils (provides a testing tool program for the DNS server, which is installed by default ), bind-chroot and caching-nameserver.

Install BIND using yum

 

The following installation package is an example of a configuration file:

 

Configure chroot

Chroot is a kind of BIND installation mechanism. After chroot is used, it virtualizes a directory for BIND such as/and/etc. The virtual directory can be modified through the/etc/sysconfig/named file, but the default virtual directory can be used directly.
 

1: Located in the last row of the file. It indicates/var/named/chroot is/For BIND /. For example, If/etc/named. conf is written to a BIND configuration file, the actual path of the file should be var/named/chroot/etc/named. conf.

All BIND configurations are completed in/var/named/chroot.

 

BIND configuration steps

BIND first obtains DNS-related options through the global configuration file and determines the primary configuration file to be enabled, the main configuration file defines the available regions and the region configuration file for each region. The region configuration file defines related resource records.

Related Article

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.