[GH-ISSUE #9] What's the better way to deal with *root* issue? #7

Closed
opened 2026-03-15 02:17:26 +03:00 by kerem · 1 comment
Owner

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!

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!
kerem closed this issue 2026-03-15 02:17:31 +03:00
Author
Owner

@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

<!-- gh-comment-id:686484051 --> @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
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/prdns#7
No description provided.