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 <stangri@melmac.ca>
(cherry picked from commit c70ec6f)
  • Loading branch information
stangri committed Sep 24, 2024
1 parent 63ba3cb commit 5070d19
Show file tree
Hide file tree
Showing 2 changed files with 415 additions and 71 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 5070d19

Please sign in to comment.