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