Skip to main content

DNS Server not working

Comments

3 comments

  • dalem
    lines in /etc/named.conf are incorrect /etc/named.conf:1: unknown option 'version' /etc/named.conf:2: unknown option 'hostname'
    0
  • cPanelLauren
    Hello @alcngz As indicated above the lines: 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: /scripts/rebuilddnsconfig
    Please let us know if this resolves the issue for you. Thanks!
    0
  • SactoBob
    FYI. Just in case. Reporting similar issue. All 3 of my DNS-Only servers were failing. It was also a config issue, an entry that was in both internal/external and startup was complaining about this config line was already in use. This config has been running fine for months. named update? I removed the line (an include of slave domains) from internal and named restarted. Of course now internal look-ups for a hand full of domains fail, but they work for remote look-ups and named starts, something I'll need to look at further at a reasonable time (2am here)... Edit: So my issue was different, but still a start error. My DNS-Only servers also act as slaves to a few domains, so I'm loading a slave config file in the Internal and External sections of named.conf. However, the 2nd load fails with an error that the slave files are already opened. Why this works for all the other internal/external files in the config but not the slave ones is a mystery to me and this config has been running since Jan 2019. This error comes up in google search too of "named writable file already in use" and using the info found I changed the External slaves configs to use "in-view internal" and named now starts and responds to the slaves properly.
    0

Please sign in to leave a comment.