Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

DNS Server not working

Discussion in 'Bind/DNS/Nameserver' started by alcngz, Sep 13, 2018.

  1. alcngz

    alcngz Registered

    Joined:
    Sep 13, 2018
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    EU
    cPanel Access Level:
    Root Administrator
    Hello,

    --------------------

    Note: xxxx (hidden domain)

    Problem Details:

    [2018-09-13 09:38:49 +0000] info [restartsrv_bind] systemd failed to start the service “named” (The “/usr/bin/systemctl restart named.service --no-ask-password” command (process 6977) reported error number 1 when it ended.): Job for named.service failed because the control process exited with error code. See "systemctl status named.service" and "journalctl -xe" for details. [2018-09-13 09:38:54 +0000] info [restartsrv_bind] systemd failed to start the service “named” (The “/usr/bin/systemctl restart named.service --no-ask-password” command (process 6988) reported error number 1 when it ended.): Job for named.service failed because the control process exited with error code. See "systemctl status named.service" and "journalctl -xe" for details. Waiting for “named” to start …………failed.

    Cpanel::Exception::Services::StartError Service Status

    Service Error
    (XID 9xm9y8) The “named” service failed to start.

    Startup Log
    Sep 13 09:38:54 server.xxxxxxxxxxxxxxxxxx.com systemd[1]: Starting Berkeley Internet Name Domain (DNS)...
    Sep 13 09:38:54 server.xxxxxxxxxxxxxxxxxx.com bash[6993]: /etc/named.conf:1: unknown option 'version'
    Sep 13 09:38:54 server.xxxxxxxxxxxxxxxxxx.com bash[6993]: /etc/named.conf:2: unknown option 'hostname'
    Sep 13 09:38:54 server.xxxxxxxxxxxxxxxxxx.com systemd[1]: named.service: control process exited, code=exited status=1
    Sep 13 09:38:54 server.xxxxxxxxxxxxxxxxxx.com systemd[1]: Failed to start Berkeley Internet Name Domain (DNS).
    Sep 13 09:38:54 server.xxxxxxxxxxxxxxxxxx.com systemd[1]: Unit named.service entered failed state.
    Sep 13 09:38:54 server.xxxxxxxxxxxxxxxxxx.com systemd[1]: named.service failed.

    named has failed. Contact your system administrator if the service does not automagically recover.


    --------------------

    Website is not working.
     
  2. dalem

    dalem Well-Known Member PartnerNOC

    Joined:
    Oct 24, 2003
    Messages:
    2,885
    Likes Received:
    120
    Trophy Points:
    368
    Location:
    SLC
    cPanel Access Level:
    DataCenter Provider
    lines in /etc/named.conf are incorrect

    /etc/named.conf:1: unknown option 'version'
    /etc/named.conf:2: unknown option 'hostname'
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. cPanelLauren

    cPanelLauren Forums Analyst II Staff Member

    Joined:
    Nov 14, 2017
    Messages:
    5,791
    Likes Received:
    442
    Trophy Points:
    233
    Location:
    Houston
    cPanel Access Level:
    DataCenter Provider
    Hello @alcngz


    As indicated above the lines:

    Code:
    Sep 13 09:38:54 server.xxxxxxxxxxxxxxxxxx.com bash[6993]: /etc/named.conf:1: unknown option 'version'
    Sep 13 09:38:54 server.xxxxxxxxxxxxxxxxxx.com bash[6993]: /etc/named.conf:2: unknown option 'hostname'
    I would suggest running the following:

    Code:
    /scripts/rebuilddnsconfig

    Please let us know if this resolves the issue for you.

    Thanks!
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice