Aarvi

named.service failed. Centos Web Panel

Named on Centos webpanel was not starting on server

On checking logs only below information were displayed

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 Fri 2020-03-13 07:30:38 EDT; 5min ago
Process: 24466 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 13 07:30:38 OK1129.test.com systemd[1]: named.service: control process exited, code=exited status=1
Mar 13 07:30:38 OK1129.test.com systemd[1]: Failed to start Berkeley Internet Name Domain (DNS).
Mar 13 07:30:38 OK1129.test.com systemd[1]: Unit named.service entered failed state.
Mar 13 07:30:38 OK1129.test.com systemd[1]: named.service failed.

To find errors you need to use below command and fix the displayed error to get DNS online

named-checkconf -z /etc/named.conf

Aarvi server solutions Is a Web Hosting Support Company that has built a solid reputation for quality, reliability, and true professional service