Skip to content

Commit

Permalink
luci-app-https-dns-proxy: better description/link for force_dns
Browse files Browse the repository at this point in the history
* better description/link for force_dns in WebUI

Signed-off-by: Stan Grishin <[email protected]>
  • Loading branch information
stangri committed Sep 23, 2024
1 parent 23e24b0 commit c70ec6f
Show file tree
Hide file tree
Showing 2 changed files with 82 additions and 144 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,12 @@ return view.extend({
form.ListValue,
"force_dns",
_("Force Router DNS"),
_("Forces Router DNS use on local devices, also known as DNS Hijacking.")
_(
"Forces Router DNS use on local devices, also known as DNS Hijacking. Only works on `lan` interface by default (%smore information%s)."
).format(
'<a href="' + pkg.URL + "#force_dns" + '" target="_blank">',
"</a>"
)
);
o.value("0", _("Let local devices use their own DNS servers if set"));
o.value("1", _("Force Router DNS server to all local devices"));
Expand Down
Loading

0 comments on commit c70ec6f

Please sign in to comment.