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