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
#1
[Not Solved] Installed fresh on ubuntu 20 and dns not working
I have made fresh install ubuntu added domain/dns and on dns config i see Service Port Status
STOPPED


Help

If i try to check status
systemd[1]: Failed to start BIND ......
Reply
Thanks given by:
#2
[Not Solved] RE: Installed fresh on ubuntu 20 and dns not working
(11-22-2024, 01:01 PM)cezars Wrote: I have made fresh install ubuntu added domain/dns and on dns config i see Service Port Status
STOPPED


Help

If i try to check status
systemd[1]: Failed to start BIND ......

What error does it show why bind wont start?
Try and start Bind, then check /var/log/syslog and /var/sentora/logs/bind/bind.log
-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:
#3
[Not Solved] RE: Installed fresh on ubuntu 20 and dns not working
(11-23-2024, 06:09 PM)TGates Wrote: What error does it show why bind wont start?
Try and start Bind, then check /var/log/syslog and /var/sentora/logs/bind/bind.log
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;
Reply
Thanks given by:
#4
[Not Solved] RE: Installed fresh on ubuntu 20 and dns not working
An advise from a friend.
Use Cloudflare Free tier for DNS. It's more reliable than 1 server that host both nodes.
It's great to host own DNS server but Cloudflare here is far far better, and offer more features. AND FREE.
No support using PM (Auto adding to IGNORE list!), use the forum. 
How to ask

200$ free to start your VPS 60 days credit
Reply
Thanks given by:
#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
#6
[Not Solved] RE: Installed fresh on ubuntu 20 and dns not working
Good point we can add in backlog and fix that.
No support using PM (Auto adding to IGNORE list!), use the forum. 
How to ask

200$ free to start your VPS 60 days credit
Reply
Thanks given by:


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

Forum Jump:


Users browsing this thread: 1 Guest(s)