Job for named.service failed because the control process exited with error code. See "systemctl status named.service" and "journalctl -xe" for details解决方法
关于正向解析 与分离解析报错
重启报错解决方案
[ root@localhost named] vim /etc/named.conf
[ root@localhost named] vim /etc/named.rfc1912.zones
我们做正向解析或者分离解析时,编辑完主配置文件与区域配置文本发现重启报错,报错如下:
Job for named.service failed because the control process exited with error code. See "systemctl status named.service" and "journalctl -xe" for details.
解决方案:当前重启报错是在 /opt/named 目录下,我切换了目录
cd /var/named/
ll
-rw-r-----. 1 root named 152 6月 21 2007 named.localhost
//使用cp -p 复制 --> vim 编辑
编辑完后再systemctl restart named 重启成功