Learn more about installing the DNS + Sendmail service in Linux (1)

Source: Internet
Author: User

UsedLinuxFor a long time, I know something and I will share it with you,DNSAndSendmailThere are many people using the service. I will explain in depth how to install the DNS + Sendmail service in Linux.

Detailed DNS configuration process

1. Set the host name first.


2. Configure the DNS master configuration file

Vi/var/named/chroot/etc/named. conf modify line 16 17 to the following content

3. Configure the forward resolution configuration file

Vi/var/named/chroot/etc/named. rfc1912.zones

4. Configure forward resolution

Cd/var/named/chroot/var/named/copy the named. localhost in this file to named.xiaolei.cn.

Modify named.xiaolei.cn Permissions

Chgrp named named.wolf.cn: Change named.wolf.cn's group to named. Otherwise, access failure may occur.

Configure named.xiaolei.cn

5. Configure DNS reverse resolution


In chgrp named named.192.168.1, change named.192.168.0 to named. Otherwise, access failure may occur.

Service named restart DNS Service

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.