so I went to the panel > DNS functions > List DNS Zones > Rebuild Zone
after that I tried to start the service and the failed message also shows:
Job for named.service failed because the control process exited with error code. See "systemctl status named.service" and "journalctl -xe" for details.
So I ssh and :
[root@srv51 ~]# systemctl status named.service
● 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 2018-01-30 19:47:37 UTC; 1min 18s ago
Process: 6768 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)
Jan 30 19:47:37 srv51.WEBSITE-FAKE-DOMAIN.com bash[6768]: zone WEBSITE-FAKE-DOMAIN.com/IN: NS 'ns2.WEBSITE-FAKE-DOMAIN.com' has no address records (A or AAAA)
Jan 30 19:47:37 srv51.WEBSITE-FAKE-DOMAIN.com bash[6768]: zone WEBSITE-FAKE-DOMAIN.com/IN: not loaded due to errors.
Jan 30 19:47:37 srv51.WEBSITE-FAKE-DOMAIN.com bash[6768]: _default/WEBSITE-FAKE-DOMAIN.com/IN: bad zone
Jan 30 19:47:37 srv51.WEBSITE-FAKE-DOMAIN.com bash[6768]: zone ns1.WEBSITE-FAKE-DOMAIN.com/IN: loaded serial 2013071600
Jan 30 19:47:37 srv51.WEBSITE-FAKE-DOMAIN.com bash[6768]: zone ns2.WEBSITE-FAKE-DOMAIN.com/IN: loaded serial 2013071600
Jan 30 19:47:37 srv51.WEBSITE-FAKE-DOMAIN.com bash[6768]: zone thetechno.club/IN: loaded serial 2013071600
Jan 30 19:47:37 srv51.WEBSITE-FAKE-DOMAIN.com systemd[1]: named.service: control process exited, code=exited status=1
Jan 30 19:47:37 srv51.WEBSITE-FAKE-DOMAIN.com systemd[1]: Failed to start Berkeley Internet Name Domain (DNS).
Jan 30 19:47:37 srv51.WEBSITE-FAKE-DOMAIN.com systemd[1]: Unit named.service entered failed state.
Jan 30 19:47:37 srv51.WEBSITE-FAKE-DOMAIN.com systemd[1]: named.service failed.
also
[root@srv51 ~]# journalctl -xe
--
-- The leading process of the session is 6582.
Jan 30 19:46:44 srv51.WEBSITE-FAKE-DOMAIN.com sshd[6582]: pam_unix(sshd:session): session opened for user root by (uid=0)
Jan 30 19:46:47 srv51.WEBSITE-FAKE-DOMAIN.com postfix/pickup[4514]: 23D2DFD49A3: uid=0 from=<root>
Jan 30 19:46:47 srv51.WEBSITE-FAKE-DOMAIN.com postfix/cleanup[6625]: 23D2DFD49A3: message-id=
Jan 30 19:47:35 srv51.WEBSITE-FAKE-DOMAIN.com kernel: Firewall: *TCP_IN Blocked* IN=eth0 OUT= MAC=92:10:61:c4:88:a3:f4:a7:39:d7:8a:7d:08:00 SRC=52.176.108.199 DST=188.166.95.111 LEN=40 TOS=0x00 PREC=0x00 TTL=237 ID=28320 PROTO=TCP SPT=1024 DPT=57693 WINDOW=1024 RES=0x00
Jan 30 19:47:37 srv51.WEBSITE-FAKE-DOMAIN.com polkitd[548]: Registered Authentication Agent for unix-process:6758:42488170 (system bus name :1.1794 [/usr/bin/pkttyagent --notify-fd 5 --fallback], object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale en_US.U
Jan 30 19:47:37 srv51.WEBSITE-FAKE-DOMAIN.com systemd[1]: Starting Generate rndc key for BIND (DNS)...
-- Subject: Unit named-setup-rndc.service has begun start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit named-setup-rndc.service has begun starting up.
Jan 30 19:47:37 srv51.WEBSITE-FAKE-DOMAIN.com systemd[1]: Started Generate rndc key for BIND (DNS).
-- Subject: Unit named-setup-rndc.service has finished start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit named-setup-rndc.service has finished starting up.
--
-- The start-up result is done.
Jan 30 19:47:37 srv51.WEBSITE-FAKE-DOMAIN.com systemd[1]: Starting Berkeley Internet Name Domain (DNS)...
-- Subject: Unit named.service has begun start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit named.service has begun starting up.
Jan 30 19:47:37 srv51.WEBSITE-FAKE-DOMAIN.com bash[6768]: zone localhost.localdomain/IN: loaded serial 0
Jan 30 19:47:37 srv51.WEBSITE-FAKE-DOMAIN.com bash[6768]: zone localhost/IN: loaded serial 0
Jan 30 19:47:37 srv51.WEBSITE-FAKE-DOMAIN.com bash[6768]: zone 1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.ip6.arpa/IN: loaded serial 0
Jan 30 19:47:37 srv51.WEBSITE-FAKE-DOMAIN.com bash[6768]: zone 1.0.0.127.in-addr.arpa/IN: loaded serial 0
Jan 30 19:47:37 srv51.WEBSITE-FAKE-DOMAIN.com bash[6768]: zone 0.in-addr.arpa/IN: loaded serial 0
Jan 30 19:47:37 srv51.WEBSITE-FAKE-DOMAIN.com bash[6768]: zone WEBSITE-FAKE-DOMAIN.com/IN: NS 'ns1.WEBSITE-FAKE-DOMAIN.com' has no address records (A or AAAA)
Jan 30 19:47:37 srv51.WEBSITE-FAKE-DOMAIN.com bash[6768]: zone WEBSITE-FAKE-DOMAIN.com/IN: NS 'ns2.WEBSITE-FAKE-DOMAIN.com' has no address records (A or AAAA)
Jan 30 19:47:37 srv51.WEBSITE-FAKE-DOMAIN.com bash[6768]: zone WEBSITE-FAKE-DOMAIN.com/IN: not loaded due to errors.
Jan 30 19:47:37 srv51.WEBSITE-FAKE-DOMAIN.com bash[6768]: _default/WEBSITE-FAKE-DOMAIN.com/IN: bad zone
Jan 30 19:47:37 srv51.WEBSITE-FAKE-DOMAIN.com bash[6768]: zone ns1.WEBSITE-FAKE-DOMAIN.com/IN: loaded serial 2013071600
Jan 30 19:47:37 srv51.WEBSITE-FAKE-DOMAIN.com bash[6768]: zone ns2.WEBSITE-FAKE-DOMAIN.com/IN: loaded serial 2013071600
Jan 30 19:47:37 srv51.WEBSITE-FAKE-DOMAIN.com bash[6768]: zone thetechno.club/IN: loaded serial 2013071600
Jan 30 19:47:37 srv51.WEBSITE-FAKE-DOMAIN.com polkitd[548]: Unregistered Authentication Agent for unix-process:6758:42488170 (system bus name :1.1794, object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale en_US.UTF-8) (disconnected from bus)
Jan 30 19:47:37 srv51.WEBSITE-FAKE-DOMAIN.com systemd[1]: named.service: control process exited, code=exited status=1
Jan 30 19:47:37 srv51.WEBSITE-FAKE-DOMAIN.com systemd[1]: Failed to start Berkeley Internet Name Domain (DNS).
-- Subject: Unit named.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit named.service has failed.
--
-- The result is failed.
Jan 30 19:47:37 srv51.WEBSITE-FAKE-DOMAIN.com systemd[1]: Unit named.service entered failed state.
Jan 30 19:47:37 srv51.WEBSITE-FAKE-DOMAIN.com systemd[1]: named.service failed.
Jan 30 19:47:42 srv51.WEBSITE-FAKE-DOMAIN.com kernel: Firewall: *TCP_IN Blocked* IN=eth0 OUT=
Jan 30 19:49:27 srv51.WEBSITE-FAKE-DOMAIN.com postfix/anvil[6483]: statistics: max connection rate 1/60s for (smtp:91.200.12.153) at Jan 30 19:46:05
Jan 30 19:49:27 srv51.WEBSITE-FAKE-DOMAIN.com postfix/anvil[6483]: statistics: max connection count 1 for (smtp:91.200.12.153) at Jan 30 19:46:05
Jan 30 19:49:27 srv51.WEBSITE-FAKE-DOMAIN.com postfix/anvil[6483]: statistics: max cache size 1 at Jan 30 19:46:05
Even though there is A record, the service should go up, right?