-
Notifications
You must be signed in to change notification settings - Fork 18
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
Disable DNSMasq DNS if port 53 conflict occurs #7210
Comments
DavidePrincipi
added a commit
to NethServer/ns8-dnsmasq
that referenced
this issue
Dec 12, 2024
Inhibit DNS service if Samba is installed Refs NethServer/dev#7210
In testing: Test case 1
Test case 2
Test case 3
Test case 4 Update a working dnsmasq instance to the testing version. In any case, port conflict on DNS port 53 must be handled by forcing DNS setting of DNSMasq to disabled. |
DavidePrincipi
added
the
testing
Packages are available from testing repositories
label
Dec 12, 2024
test case 1: VERIFIED |
nrauso
added
verified
All test cases were verified successfully
and removed
testing
Packages are available from testing repositories
labels
Dec 13, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The core Samba DC application and DNSMasq have a potential conflict on port 53. If port 53 is in use, DNSMasq UI displays a message and disable the DNS feature. However the port conflict may still arise if:
Proposed solution
DNSMasq can discover from Samba Redis keys and events if there is a conflicting DC on the local node and automatically disable its DNS feature.
Alternative solutions
A more general solution is viable, but would require much more effort. We can define an image label, like the existing
org.nethserver.max-per-node
, where the application lists the fixed ports it will use. The Core can identify potential port conflicts with installed apps in advance and deny the instance creation on every possible scenario: install, update, restore, clone.Additional context
See also
Discussion https://mattermost.nethesis.it/nethesis/pl/9ko5xmf7oidijxkhku18xdtrzr
The text was updated successfully, but these errors were encountered: