Bootstrap

RHCE——dns实验

全局配置工作:

下载yum install bind -y

启动systemctl start named

关闭防火墙并现在生效systemctl start firewalld --now

关闭增强服务setenforce 0

正向解析:

配置/etc/named.conf:

 vim /etc/named.conf 

配置/var/named/named.baidu.com:

 

然后重启测试 

反向解析:

 配置/etc/named.conf:

配置/var/named/23.168.192.in-addr.arpacom:

 

;