"Mission Analysis and Requirements"
This task is to achieve the primary DNS service, assume the network of DNS http://www.aliyun.com/zixun/aggregation/11632.html "> 24-hour All-weather service, so configuration and management are the core
Master the installation and implementation principle of DNS under Linux
Master DNS service configuration and detection method
"Hardware and Software Environment"
using virtual machines to integrate with real host environment
Install red Hat Enterprise Linux Server 5.0 in VMware Virtual machine systems
ISO file with Linux installation CD on hard drive
"Step Decomposition"
According to the domain name design in the project overview, the registered domain name is test.com, as shown in table 3 in the overview section.
1. Install DNS Service
Installation (first and two discs)
#mount/media
#cd/media/server
#rpm –IVH bind-9.3.3-7.el5.i386.rpm (second CD)
#rpm –IVH bind-utils-9.3.3-7.el5.i386.rpm (first CD)
2, create the configuration/etc/named.conf main configuration file
#cp/usr/share/doc/bind-9.3.3/sample/etc/named.*/etc/
#cp/usr/share/doc/bind-9.3.3/sample/var/named/*.zone/var/named
#cd etc
#wget Ftp://ftp.rs.internic.net/domain/named.root//If the network is available, you can download the new Named.root file directly
Or
#cp/usr/share/doc/bind-9.3.3/sample/var/named/named.root/etc/
#cp/usr/share/doc/bind-9.3.3/sample/var/named/named.*/var/named
3, the following edit named.conf main configuration file
#vi/etc/named.conf
When you edit a file, the name of the view, the name of the zone, and the file name of the positive and negative areas can be set according to your own.