一、安装bind服务 yum install bind -y 二、修改主配置文件/etc/named.conf 三、配置数据配置文件/var/named/baidu 四、重启服务,进行测试 systemctl restart named