DNS正向解析
1、安装bind包
[[email protected] ~]# mount /dev/cdrom /mnt/
mount: /dev/sr0 is write-protected, mounting read-only
[[email protected] ~]# yum -y install bind
2、编辑named.conf
[[email protected] ~]# vim /etc/named.conf
3、进入named
[[email protected] ~]# cd /var/named/
4、复制并重命名
[[email protected] named]# cp named.localhost named.lfl
5、编辑named.lfl
6、改变所属组
[[email protected] named]# chgrp named named.lfl
7、另一个环境安装dig
[[email protected] ~]# yum -y install bind-utils
8、在/etc/resolv.conf