This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Installed fresh on ubuntu 20 and dns not working
#5
[Not Solved] RE: Installed fresh on ubuntu 20 and dns not working
(11-27-2024, 09:03 AM)cezars Wrote: It`s empty, nothing there

0 Nov 26 23:56 /var/sentora/logs/bind/bind.log

wen i try status :

root@vmi2064664:~# service bind9 status
● named.service - BIND Domain Name Server
    Loaded: loaded (/lib/systemd/system/named.service; enabled; vendor preset: enabled)
    Active: failed (Result: exit-code) since Wed 2024-11-27 00:02:10 CET; 39s ago
      Docs: man:named(8)
    Process: 1190 ExecStart=/usr/sbin/named -f $OPTIONS (code=exited, status=1/FAILURE)
  Main PID: 1190 (code=exited, status=1/FAILURE)

Nov 27 00:02:09 vmi2064664.contaboserver.net systemd[1]: named.service: Main process exited, code=exited, status=1/FAILURE
Nov 27 00:02:09 vmi2064664.contaboserver.net systemd[1]: named.service: Failed with result 'exit-code'.
Nov 27 00:02:10 vmi2064664.contaboserver.net systemd[1]: named.service: Scheduled restart job, restart counter is at 5.
Nov 27 00:02:10 vmi2064664.contaboserver.net systemd[1]: Stopped BIND Domain Name Server.
Nov 27 00:02:10 vmi2064664.contaboserver.net systemd[1]: named.service: Start request repeated too quickly.
Nov 27 00:02:10 vmi2064664.contaboserver.net systemd[1]: named.service: Failed with result 'exit-code'.
Nov 27 00:02:10 vmi2064664.contaboserver.net systemd[1]: Failed to start BIND Domain Name Server.

root@vmi2064664:/var/cache# journalctl -xeu named
Nov 27 00:16:27 vmi2064664.contaboserver.net named[1961]: TKEY mode 3 support (GSS-API): yes
Nov 27 00:16:27 vmi2064664.contaboserver.net named[1961]: loading configuration from '/etc/bind/named.conf'
Nov 27 00:16:27 vmi2064664.contaboserver.net named[1961]: /etc/bind/named.conf:25: option 'dnssec-enable' no longer exists
Nov 27 00:16:27 vmi2064664.contaboserver.net named[1961]: loading configuration: failure
Nov 27 00:16:27 vmi2064664.contaboserver.net named[1961]: exiting (due to fatal error)
Nov 27 00:16:27 vmi2064664.contaboserver.net systemd[1]: named.service: Main process exited, code=exited, status=1/FAILURE

Temporary fix
I don`t know if it`s a god idea but i uncomment the 25 line (#    dnssec-enable yes;Smilend now it`s working
#    dnssec-enable yes;

This is a good idea according to my web searches and it should be enabled by default according to our bind installer code on github.

On another note: Jettaman, Me.B
Is there supposed to be a simlink to the /etc/sentora/configs/bind/named.conf?
Shouldn't Sentora be using that config file?

About the dnssec-enabled:
Quote:AI Overview

On Ubuntu, it is highly recommended to enable DNSSEC (Domain Name System Security Extensions) on your BIND9 server, meaning you should set "dnssec-enable yes" and "dnssec-validation auto" in your configuration, as it significantly enhances the security of your DNS by validating the authenticity of DNS records and protecting against potential DNS hijacking attacks. 
-TGates - Project Council

SEARCH the Forums or read the DOCUMENTATION before posting!
Support Sentora and Donate: HERE

Find my support or modules useful? Donate to TGates HERE
Developers and code testers needed!
Contact TGates for more information
Reply
Thanks given by: Me.B


Messages In This Thread
RE: Installed fresh on ubuntu 20 and dns not working - by TGates - 11-28-2024, 11:18 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
SMTPTLS port 587 Close after fresh Install franmm25 6 2 ,400 10-23-2024, 09:33 PM
Last Post: Ekwadorin23
SSL problem fresh install franmm25 0 767 06-02-2024, 10:26 AM
Last Post: franmm25
Installed Modules Nigel 2 4 ,564 01-11-2023, 01:59 AM
Last Post: zustudios

Forum Jump:


Users browsing this thread: 2 Guest(s)