systemctl start named
报错:
control process exited, code=exited status=1
Failed to start Berkeley Internet Name Domain (DNS).
named-checkconf –z
报错:
file not found //文件没找到
not loaded due to errors. //由于错误而未加载。
原因:
/etc/named.rfc1912.zones 中区域文件路径改为绝对路径
file "named.test.lan"
改为
file "/var/named/named.test.lan"