Building a DNS master-slave server in Linux redhat6.5

Source: Internet
Author: User
Introduction to DNS Master-slave server:
Primary DNS server:
To maintain the server that resolves the analytic library in the domain that is responsible for parsing;
From a DNS server:
"Replicate" (zone transfer) a copy of the parse library from the primary DNS server or from another DNS server

First build a DNS server in two Linux
A detailed tutorial is available in the previous article in the building of DNS: http://blog.51cto.com/13630803/2114574
Below you begin configuring Master-Slave synchronization.
1: Use virtual machine 1 as primary DNS
Edit its zone file Named.rfc1912.zones
Configure positive and negative resolution
Allow-transfer {192.168.100.102; }; What is allowed here is the IP from the server


2: Add DNS server IP address restart service

3: Edit the zone file from the server Named.rfc1912.zones
Configure positive and negative resolution
Allow-transfer {192.168.100.102; }; What is allowed here is the IP from the server


4: Add IP from server to resolv.conf
Restart Service
The host 192.168.100.118 resolves the domain name to www.benet.com.
Host www.benet.com resolves the IP to 192.168.100.118

5: To/var/named/slaves view
View Benet.com.zone and benet.com.local you can see the configuration file configuration master-Slave synchronization

Building a DNS master-slave server in Linux redhat6.5

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.