Domain-Name-System
BIND DNS 伺服器未啟動
BIND DNS 伺服器不工作。當我啟動它時,我收到以下錯誤。
named.service - Berkeley Internet Name Domain (DNS) Loaded: loaded (/usr/lib/systemd/system/named.service; enabled; vendor preset: disabled) Active: failed (Result: exit-code) since Tue 2019-03-05 17:20:22 UTC; 9s ago Process: 3897 ExecStartPre=/bin/bash -c if [ ! "$DISABLE_ZONE_CHECKING" == "yes" ]; then /usr/sbin/named-checkconf -z "$NAMEDCONF"; else echo "Checking of zone files is disabled"; fi (code=exited, status=1/FAILURE) Mar 05 17:20:22 templatemaza bash[3897]: _default/gc-ns2.templatemaza.com/IN: file not found Mar 05 17:20:22 templatemaza bash[3897]: zone templatemaza.com/IN: loaded serial 2018071600 Mar 05 17:20:22 templatemaza bash[3897]: zone ns3.templatemaza.com/IN: loaded serial 2013071600 Mar 05 17:20:22 templatemaza bash[3897]: zone ns4.templatemaza.com/IN: loaded serial 2013071600 Mar 05 17:20:22 templatemaza bash[3897]: zone ns1.templatemaza.com/IN: loaded serial 2013071600 Mar 05 17:20:22 templatemaza bash[3897]: zone ns2.templatemaza.com/IN: loaded serial 2013071600 Mar 05 17:20:22 templatemaza systemd[1]: named.service: control process exited, code=exited status=1 Mar 05 17:20:22 templatemaza systemd[1]: Failed to start Berkeley Internet Name Domain (DNS). Mar 05 17:20:22 templatemaza systemd[1]: Unit named.service entered failed state. Mar 05 17:20:22 templatemaza systemd[1]: named.service failed.
請幫我解決這個問題。如果您需要更多詳細資訊,請告訴我
問題已解決。我從
etc/named.conf
文件中刪除了無效域並重新啟動綁定 DNS 伺服器。現在它正在工作