docs: clarify capability needs DNS vs. DHCP+DNS#392
Open
graysky2 wants to merge 1 commit intoAdguardTeam:masterfrom
Open
docs: clarify capability needs DNS vs. DHCP+DNS#392graysky2 wants to merge 1 commit intoAdguardTeam:masterfrom
graysky2 wants to merge 1 commit intoAdguardTeam:masterfrom
Conversation
CAP_NET_RAW is only required when running AdGuard Home with DHCP server enabled. Split the setcap instructions to show: - DNS-only mode: requires only CAP_NET_BIND_SERVICE - DHCP+DNS mode: requires both CAP_NET_BIND_SERVICE and CAP_NET_RAW Verified running as non-root with just CAP_NET_BIND_SERVICE and DNS-only works fine. % lsof -i :53 COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME adguardho 183 adguardhome 12u IPv6 1469109 0t0 UDP *:domain adguardho 183 adguardhome 23u IPv6 1469110 0t0 TCP *:domain (LISTEN) Signed-off-by: John Audia <therealgraysky@proton.me>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
CAP_NET_RAWis only required when running AdGuard Home with DHCP server enabled. Split the setcap instructions to show:CAP_NET_BIND_SERVICECAP_NET_BIND_SERVICEandCAP_NET_RAWVerified running as non-root with just
CAP_NET_BIND_SERVICEand DNS-only works fine.