Build DNS master-slave server in linux redhat6.5

Introduction to DNS master-slave server:
Master DNS server: The server that
maintains the resolution library in the domain responsible for resolution; the resolution library is maintained by management
Slave DNS server:
"Copy" (zone transfer) from the master DNS server or other slave DNS servers parsing library


First of all , there are detailed tutorials in the article before the construction of DNS server DNS in two linux : http://blog.51cto.com/13630803/2114574
Let's start to configure master-slave synchronization.
1: Use virtual machine 1 as the primary DNS
to edit its zone file named.rfc1912.zones to
configure forward and reverse resolution
allow-transfer {192.168.100.102;}; here is the IP of the slave server
Build DNS master-slave server in linux redhat6.5

Build DNS master-slave server in linux redhat6.5
2: Add the DNS server IP address and restart the service
Build DNS master-slave server in linux redhat6.5
3: Edit the zone file named.rfc1912.zones of the slave server to
configure the forward and reverse parsing
allow-transfer {192.168.100.102; }; here is the slave server's IP
Build DNS master-slave server in linux redhat6.5
Build DNS master-slave server in linux redhat6.5
4: slave server's IP IP is added to resolv.conf to
restart the service
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
Build DNS master-slave server in linux redhat6.5
5: Go to /var/named/slaves to
view benet.com.zone And benet.com.local can see that the configuration file is configured for master-slave synchronization
Build DNS master-slave server in linux redhat6.5

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=326692488&siteId=291194637