![]() |
|
Installed fresh on ubuntu 20 and dns not working - Printable Version +- Sentora Support Forums (https://senforums.mach-hosting.com) +-- Forum: Sentora Public Support Forums v2.x.x (https://senforums.mach-hosting.com/forumdisplay.php?fid=66) +--- Forum: General Support Forum v2.x.x (https://senforums.mach-hosting.com/forumdisplay.php?fid=67) +--- Thread: Installed fresh on ubuntu 20 and dns not working (/showthread.php?tid=13099) Pages:
1
2
|
Installed fresh on ubuntu 20 and dns not working - cezars - 11-22-2024 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 ...... RE: Installed fresh on ubuntu 20 and dns not working - TGates - 11-23-2024 (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 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 RE: Installed fresh on ubuntu 20 and dns not working - cezars - 11-27-2024 (11-23-2024, 06:09 PM)TGates Wrote: What error does it show why bind wont start?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; nd now it`s working# dnssec-enable yes; RE: Installed fresh on ubuntu 20 and dns not working - Me.B - 11-27-2024 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. RE: Installed fresh on ubuntu 20 and dns not working - TGates - 11-28-2024 (11-27-2024, 09:03 AM)cezars Wrote: It`s empty, nothing there 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 RE: Installed fresh on ubuntu 20 and dns not working - Me.B - 11-28-2024 Good point we can add in backlog and fix that. RE: Installed fresh on ubuntu 20 and dns not working - asher - 12-24-2024 (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 I've had this problem before. The quickest fix is to run sudo apt install --reinstall bind9 to reinstall BIND from scratch. Then check the permissions of the relevant directories with ls -ld /etc/bind to make sure there are no permission errors. If the service still doesn't run, restart your machine to be sure. RE: Installed fresh on ubuntu 20 and dns not working - TGates - 12-24-2024 (12-24-2024, 11:22 AM)asher Wrote: I've had this problem before. The quickest fix is to run sudo apt install --reinstall bind9 to reinstall BIND from scratch. Then check the permissions of the relevant directories with ls -ld /etc/bind to make sure there are no permission errors. If the service still doesn't run, restart your machine to be sure. He had a config issue and not a permissions issue. Re-installing Bind will not work because it will change it's config files to default and the Sentora configs are custom built and added during the panel install process. Yes it could be done, but he would need a complete server backup to refer to in order to update/fix the default Bind config files to work with Sentora and it's database. RE: Installed fresh on ubuntu 20 and dns not working - dabhijit - 12-28-2024 my bind9 is also active status failed what can i do? (12-28-2024, 12:27 AM)dabhijit Wrote: my bind9 is also active status failed what can i do? please help me out of this... my domain does not live RE: Installed fresh on ubuntu 20 and dns not working - TGates - 12-28-2024 (12-28-2024, 12:27 AM)dabhijit Wrote: my bind9 is also active status failed what can i do? We need more information. Can you access the panel login using the FQDN you setup when you installed Sentora? Can you access the panel login by using your server IP? Is this domain a client domain on a client account? |