bind9 服务未启动

bind9 服务未启动

我已经配置了 bind9。只有 named.conf.options 文件。我想 sudo sytemctl start named.service。它不起作用。这是我得到的输出。我已经尝试在很多地方寻找解决方案。有什么想法吗?

named.service - BIND Domain Name Server
     Loaded: loaded (/lib/systemd/system/named.service; enabled; vendor preset: enabled)
     Active: activating (start) since Wed 2022-12-07 00:39:55 GMT; 32ms ago
       Docs: man:named(8)
Cntrl PID: 50934 (named)
      Tasks: 1 (limit: 4619)
     Memory: 1.9M
        CPU: 17ms
     CGroup: /system.slice/named.service
             \u2514\u250050934 /usr/sbin/named -u bind

Dec 07 00:39:55 xxxx-Standard-PC-Q35-ICH9-2009 systemd[1]: Starting BIND Domain Name Server...

答案1

检查绑定配置:

named-checkconf /etc/named.conf

检查绑定区域文件

named-checkzone demotecadmin.net /var/named/demotecadmin.net.db

相关内容