TechnitiumSoftware / DnsServer

Technitium DNS Server
https://technitium.com/dns/
GNU General Public License v3.0
4.25k stars 418 forks source link

Technitium DNS not listening DOT/DOH #980

Closed Shadow-Labs-Dev closed 2 months ago

Shadow-Labs-Dev commented 2 months ago

Im currently running v12.2.1 on rocky linux 9.4, im currently unable to get technitium to listen on ports 443 and 853 for DOT/DOH. I put in the pfx file along with the password. Im able to login into the server using the web interface without any issues. I do see technitium listening on port 53, 538, 5380, 8443 but not port 443 or 853. Selinux is enabled but there are no errors being reported that would inidicate selinux would be prohibting technitium from listening on those protected ports. The certificate comes from lets encrypt and is valid using the automatic renewal. And the firewall ports are open as well.

ShreyasZare commented 2 months ago

Thanks for the post. Please check the DNS Logs from the admin panel to see if there are any errors logged. Post the error log here if you need help understanding it. 

Shadow-Labs-Dev commented 2 months ago

All im seeing is an issue with sqlite nothing else that would be pointing to a certificate error

ShreyasZare commented 2 months ago

Thanks for the logs. The sqlite issue in there is due to corrupt db file. You need to either delete the file or update the Query Logs (Sqlite) app's config to use a different db file path.

You need to restart the DNS server once and then check the logs for errors. The DNS server will bind to the local port only when it starts or when the settings are modified. So, restarting the DNS server will cause it to attempt to bind and write an error log when it fails. Do share the error log details here.

Shadow-Labs-Dev commented 2 months ago

I was able to resolve the issue after removing the sqlite db app and clearing the database. Thanks for your help.