Linux Configuration Manual (5) Linux configuration Domain Name Server (DNS)

Source: Internet
Author: User
Tags nameserver
Build cache domain name server check domain name service pack hanging on CD and install service pack need to install bind-9.3.6-4.P1.el5Bind-chroot-9.3.6-4.P1.el5Bind-libs-9.3.6-4.P1.el5Bind-utils-9.3.6-4.P1.el5Caching-nameserver-9.3.6-4.P1.el...

Build a cache domain name server

Check the domain name service package

Attach the disc and install the service package

Need to install bind-9.3.6-4.P1.el5

Bind-chroot-9.3.6-4.P1.el5

Bind-libs-9.3.6-4.P1.el5

Bind-utils-9.3.6-4.P1.el5

Caching-nameserver-9.3.6-4.P1.el5.i386.rpm

Configure network information, host name, search domain, DNS should point to yourself

Modify the configuration file vi/var/named/chroot/etc/named. conf

Start the service

Verify

Build a primary domain name server

Configure the main configuration file vim/var/named/chroot/etc/named. conf

Modify the region configuration file

Build a slave domain name server

Add allow-transfer to the primary domain name server and follow the domain name server address.

Add the NS2. 2 domain name server to the region configuration file of the primary domain name server

Modify the configuration file vim/var/named/chroot/etc/named. conf from the domain name server

After setting, the startup service will update the configuration files from the primary domain name server to the two regions.

Build a domain name server for separated resolution

Modify the main configuration file vim/var/named/chroot/etc/named. conf

Modify a region file

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.