mirror of
https://github.com/arloan/prdns.git
synced 2026-04-25 14:35:58 +03:00
[GH-ISSUE #9] What's the better way to deal with *root* issue? #7
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/prdns#7
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @ghost on GitHub (Sep 1, 2020).
Original GitHub issue: https://github.com/arloan/prdns/issues/9
If the Ruby/gem are not installed for root, and prdns was installed by this limited version of gem,
then prdns won't be able to listen on port 53.
What's the better way to deal with this non-root 53 binding issue?
Could you please suggesting one or two ways? Thanks!
@arloan commented on GitHub (Sep 3, 2020):
It has nothing to do with how the gem was installed, just that listening to ports under 1024 needs root privilege.
setcap/authbind are possible solutions for this issue, see:
https://superuser.com/questions/710253/allow-non-root-process-to-bind-to-port-80-and-443/892391#892391