The main configuration of DNS server

Source: Internet
Author: User
Tags bind

First, configure forward resolution, reverse resolution, incremental transfer

1, the installation of Bind97, before the installation of the system with the bind uninstall, the most important point is to configure a good Yum library, and the Red Hat system itself with, Mount system disk, specify Yum library path

2, uninstall bind, install Bind97[root@station45 ~]# rpm-e bind-libs bind-utils

[Root@station45 ~]# yum install bind97 bind97-libs

3, modify the configuration file configuration file is the main group and permissions are more special, is not allowed to read and write

[Root@station45 etc]# ll named.conf-rw-r-----1 root named 930 Feb

[Root@station45 ~]# cd/etc/

[Root@station45 etc] #mv named.conf named.conf.bak Rename the original configuration file

[Root@station45 etc]# vim named.conf Manually create a configuration file

4, modify the group of the configuration file for named, permission is 640

[Root@station45 etc]# chgrp named named.conf

[Root@station45 etc]# chmod 640 named.conf

See if there are any syntax errors

[Root@station45 etc]# named-checkconf

[Root@station45 etc]# named-checkzone "localhost"/var/named/named.localhost

5. Close SELinux

[Root@station45 etc]# Setenforce 0

6, edit the forward zone file

[Root@station45 etc]# Vim/var/named/jll.com.zone

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.