named service down

KataKotop

Verified User
Joined
May 13, 2022
Messages
21
Hello,
our named service is down since days.I have searched on google but no results.
Could you please help me on this issue ?


[root@box ~]# systemctl status named.service
● named.service - Berkeley Internet Name Domain (DNS)
Loaded: loaded (/etc/systemd/system/named.service; enabled; vendor preset: disabled)
Active: failed (Result: exit-code) since Thu 2022-05-26 11:55:43 +03; 27s ago
Process: 352337 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>

May 26 11:55:43 boix.com bash[352337]: zone rxy.com/IN: loaded serial 2022051812
May 26 11:55:43 box.com bash[352337]: zone wik.com/IN: loaded serial 2022051811
May 26 11:55:43 box.wx.com bash[352337]: zone yilrkiat.com/IN: loaded serial 2022051803
May 26 11:55:43 bok.com bash[352337]: zone aliuotiv.com/IN: loaded serial 2022052011
May 26 11:55:43 bo2k.com bash[352337]: zone kenum.com/IN: loaded serial 2022052311
May 26 11:55:43 bon2k.com bash[352337]: zone imorg.tr/IN: loaded serial 2022051906
May 26 11:55:43 bon2k.com bash[352337]: zone yoyapi.com/IN: loaded serial 2022052403
May 26 11:55:43 bon2k.com systemd[1]: named.service: Control process exited, code=exited status=1
May 26 11:55:43 box.k.com systemd[1]: named.service: Failed with result 'exit-code'.
May 26 11:55:43 boxk.com systemd[1]: Failed to start Berkeley Internet Name Domain (DNS).
 
check /var/log/messages for more detail which zone not loaded due to syntax or other issues.
 
Check your zone files if you have A records present for your nameservers.
Use the named-checkconf command to see if that states errors.

And ofcourse the logfile as mentioned.
 
I have found out that one of the zones were not created during account creation.
I have now created it manually.
Thank you!
 
Back
Top