[root@mydb~]# yum install bind-chroot
Loaded plugins: rhnplugin, security
This system is not registered with RHN.
RHN support will be disabled.
Setting up Install Process
Parsing package install arguments
Resolving Dependencies
--> Running transaction check
---> Package bind-chroot.x86_64 30:9.3.4-10.P1.el5 set to be updated
--> Finished Dependency Resolution
Dependencies Resolved
==========================================================================================================================
Package Arch Version Repository Size
==========================================================================================================================
Installing:
bind-chroot x86_64 30:9.3.4-10.P1.el5 update 42 k
Transaction Summary
==========================================================================================================================
Install 1 Package(s)
Update 0 Package(s)
Remove 0 Package(s)
Total download size: 42 k
Is this ok [y/N]: y
Downloading Packages:
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : bind-chroot [1/1]
Installed: bind-chroot.x86_64 30:9.3.4-10.P1.el5
Complete!
3、 检查安装的BIND包,Ok了!
[root@mydb ~]# service named status
rndc: connect failed: 127.0.0.1#953: connection refused
named is stopped
说明DNS没有配好,接下来就开始配置DNS。