
1、搭建本地dns
安装bind软件
[root@mail ~]# rpm -q bind
[root@mail ~]# mount /dev/hdc /mnt/
[root@mail ~]# vim /etc/yum.repos.d/rhel-debuginfo.repo
修改:
baseurl=file:///mnt/Server
enabled=1
[root@localhost ~]# yum -y install bind* caching-nameserver
3、配置named.conf文件
[root@mail ~]# vim /var/named/chroot/etc/named.conf
options {
directory "/var/named&qu...