RedHat Linux AS 5.3 下DNS的配置与RedHat Linux AS 4.5的有很多地方不太一样,这里我把在RedHat Linux AS 5.3 下DNS配置步骤做了一个笔记,操作如下:
一、检查BIND包,缺少bind、bind-chroot包
二、利用YUM源,安装BIND包
1、 配YUM源
[root@mydb ~]# mount /dev/cdrom /mnt
mount: block device /dev/cdrom is write-protected, mounting read-only
[root@mydb ~]# vi/etc/yum.repos.d/update.repo
[update]
name=update
baseurl=file:///mnt/Server
gpgcheck=0
enabled = 1
2、 安装bind包
[root@mydb ~]# yum list
[root@mydb~]# yum install bind
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.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 x86_64 30:9.3.4-10.P1.el5 update 961 k
Transaction Summary
==========================================================================================================================
Install 1 Package(s)
Update 0 Package(s)
Remove 0 Package(s)
Total download size: 961 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 [1/1]
Installed: bind.x86_64 30:9.3.4-10.P1.el5
Complete!
相关阅读:
Ubuntu DNS服务器配置
CentOS 6.4 DNS 服务器搭建