Building and updating DNS cluster service RHEL6

Source: Internet
Author: User

 

DNS server updates:

As soon as you hear it, you know that there are more than one DNS server. If one server does not need to be updated, right? Generally, it is a DNS cluster.

When a DNS is updated and a piece of data is added, the following changes will follow it.

Configuration of the primary DNS Server

First, configure DNS server information synchronization, and then configure and update the DNS server:

1. The preceding steps are simple:

Install the bind package and modify the named service configuration file;

Vim/etc/named. conf

2. Modify the zone statement:

Also-policy defines a list of global Domain Name Server IP addresses. Whenever a new domain file is transferred to the system, the domain name server sends NOTIFY information to these addresses and NS records in these domains.

This helps the updated domain file to converge and synchronize on the relevant domain name server as soon as possible.

3. Configure secondary DNS:

3. Install the bind software package and modify the named service configuration file;

Vim/etc/named. conf

4. Modify the zone statement:

5. Restart the secondary DNS Service:

6. Restart the primary DNS Service:

7. Go to the secondary DNS server and go to the/var/named/chroot/var/named directory to see a file:

 

This proves the success.

 

8. Test: Modify the parsing file of the primary DNS server: Add a date

9. Restart the DNS Service:

10. Go to the secondary DNS server and check whether the file/var/named/chroot/var/named has changed:

Changed? This proves that we have succeeded.

 

Configure and update the DNS server:

11. configuration of the primary DNS Server:

12. Restart the DNS Service:

 

13,

Update allows the server to modify the DNS Service:

Test:

 

Failed. We are prompted to add an error.

Check the log:

To update the primary DNS server, you must have operation permissions under the directory:

Prompt that we do not have permission:

Modify naemd directory permissions,

 

 

 

 

 

If it doesn't feel enough, recursive the file.

Now add again:

It's completely OK. Check whether the primary DNS service file contains this one:

Check whether OK:

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

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.