Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Install script does not work on Digital Ocean Debian 12 image #896

Open
ilium007 opened this issue Dec 15, 2023 · 2 comments
Open

Install script does not work on Digital Ocean Debian 12 image #896

ilium007 opened this issue Dec 15, 2023 · 2 comments
Labels
🐞 bug Something isn't working

Comments

@ilium007
Copy link

Installed on fresh Digital Ocean Debian 12 image but systemd-resolve is already running by default.

  • CLI Version: nextdns version 1.41.0

  • Platform: Debian 12

root@debian-s-1vcpu-512mb-10gb-syd1-01:~# nextdns log
Dec 14 23:58:38 debian-s-1vcpu-512mb-10gb-syd1-01 systemd[1]: Started nextdns.service - NextDNS DNS53 to DoH proxy..
Dec 14 23:58:38 debian-s-1vcpu-512mb-10gb-syd1-01 nextdns[1295]: Starting NextDNS 1.41.0/linux on localhost:53
Dec 14 23:58:38 debian-s-1vcpu-512mb-10gb-syd1-01 nextdns[1295]: Listening on TCP/[::1]:53
Dec 14 23:58:38 debian-s-1vcpu-512mb-10gb-syd1-01 nextdns[1295]: Listening on UDP/127.0.0.1:53
Dec 14 23:58:38 debian-s-1vcpu-512mb-10gb-syd1-01 nextdns[1295]: Listening on TCP/127.0.0.1:53
Dec 14 23:58:38 debian-s-1vcpu-512mb-10gb-syd1-01 nextdns[1295]: Listening on UDP/[::1]:53
Dec 15 00:00:12 debian-s-1vcpu-512mb-10gb-syd1-01 systemd[1]: Stopping nextdns.service - NextDNS DNS53 to DoH proxy....
Dec 15 00:00:12 debian-s-1vcpu-512mb-10gb-syd1-01 nextdns[1295]: Received signal: terminated
Dec 15 00:00:12 debian-s-1vcpu-512mb-10gb-syd1-01 nextdns[1295]: Stopping NextDNS 1.41.0/linux
Dec 15 00:00:12 debian-s-1vcpu-512mb-10gb-syd1-01 nextdns[1295]: NextDNS 1.41.0/linux stopped
Dec 15 00:00:12 debian-s-1vcpu-512mb-10gb-syd1-01 systemd[1]: nextdns.service: Deactivated successfully.
Dec 15 00:00:12 debian-s-1vcpu-512mb-10gb-syd1-01 systemd[1]: Stopped nextdns.service - NextDNS DNS53 to DoH proxy..
Dec 15 00:00:13 debian-s-1vcpu-512mb-10gb-syd1-01 systemd[1]: Started nextdns.service - NextDNS DNS53 to DoH proxy..
Dec 15 00:00:13 debian-s-1vcpu-512mb-10gb-syd1-01 nextdns[1484]: Starting NextDNS 1.41.0/linux on :53
Dec 15 00:00:13 debian-s-1vcpu-512mb-10gb-syd1-01 nextdns[1484]: Listening on TCP/:53
Dec 15 00:00:13 debian-s-1vcpu-512mb-10gb-syd1-01 nextdns[1484]: Starting mDNS discovery
Dec 15 00:00:13 debian-s-1vcpu-512mb-10gb-syd1-01 nextdns[1484]: Listening on UDP/:53
Dec 15 00:00:13 debian-s-1vcpu-512mb-10gb-syd1-01 nextdns[1484]: Startup failed: proxy: tcp: listen tcp :53: bind: address already in use
Dec 15 00:00:13 debian-s-1vcpu-512mb-10gb-syd1-01 nextdns[1484]: Error: proxy: tcp: listen tcp :53: bind: address already in use
Dec 15 00:00:13 debian-s-1vcpu-512mb-10gb-syd1-01 systemd[1]: nextdns.service: Main process exited, code=exited, status=1/FAILURE
Dec 15 00:00:13 debian-s-1vcpu-512mb-10gb-syd1-01 systemd[1]: nextdns.service: Failed with result 'exit-code'.
Dec 15 00:01:15 debian-s-1vcpu-512mb-10gb-syd1-01 systemd[1]: Started nextdns.service - NextDNS DNS53 to DoH proxy..
Dec 15 00:01:15 debian-s-1vcpu-512mb-10gb-syd1-01 nextdns[1632]: Starting NextDNS 1.41.0/linux on :53
Dec 15 00:01:15 debian-s-1vcpu-512mb-10gb-syd1-01 nextdns[1632]: Listening on TCP/:53
Dec 15 00:01:15 debian-s-1vcpu-512mb-10gb-syd1-01 nextdns[1632]: Starting mDNS discovery
Dec 15 00:01:15 debian-s-1vcpu-512mb-10gb-syd1-01 nextdns[1632]: Listening on UDP/:53
Dec 15 00:01:15 debian-s-1vcpu-512mb-10gb-syd1-01 nextdns[1632]: Startup failed: proxy: tcp: listen tcp :53: bind: address already in use
Dec 15 00:01:15 debian-s-1vcpu-512mb-10gb-syd1-01 nextdns[1632]: Error: proxy: tcp: listen tcp :53: bind: address already in use
Dec 15 00:01:15 debian-s-1vcpu-512mb-10gb-syd1-01 systemd[1]: nextdns.service: Main process exited, code=exited, status=1/FAILURE
Dec 15 00:01:15 debian-s-1vcpu-512mb-10gb-syd1-01 systemd[1]: nextdns.service: Failed with result 'exit-code'.
@ilium007 ilium007 added the 🐞 bug Something isn't working label Dec 15, 2023
@rs
Copy link
Contributor

rs commented Dec 28, 2023

You have a service running on port 53, most likely systemd-resolved. Please disable it first.

@rojomisin
Copy link

works out of the box on debian-11 though, can the script warn and help the user handle this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐞 bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants