|
1 | 1 | --- a/package/feeds/luci/luci-mod-network/htdocs/luci-static/resources/view/network/dns.js |
2 | 2 | +++ b/package/feeds/luci/luci-mod-network/htdocs/luci-static/resources/view/network/dns.js |
3 | | -@@ -442,6 +442,9 @@ return view.extend({ |
| 3 | +@@ -253,6 +253,11 @@ return view.extend({ |
| 4 | + o.optional = true; |
| 5 | + o.placeholder = '/example.org/ipset,ipset6'; |
| 6 | + |
| 7 | ++ o = s.taboption('general', form.Flag, 'dns_redirect', |
| 8 | ++ _('DNS Redirect'), |
| 9 | ++ _('Force redirect all local DNS queries to DNSMasq, a.k.a. DNS Hijacking.')); |
| 10 | ++ o.optional = true; |
| 11 | ++ |
| 12 | + o = s.taboption('general', form.Flag, 'allservers', |
| 13 | + _('All servers'), |
| 14 | + _('Query all available upstream resolvers.') + ' ' + _('First answer wins.')); |
| 15 | +@@ -442,6 +447,9 @@ return view.extend({ |
4 | 16 | so.rmempty = false; |
5 | 17 | so.datatype = 'ipaddr("nomask")'; |
6 | 18 |
|
|
10 | 22 | var ipaddrs = {}; |
11 | 23 |
|
12 | 24 | Object.keys(hosts).forEach(function(mac) { |
13 | | - |
14 | | ---- a/package/feeds/luci/luci-mod-network/htdocs/luci-static/resources/view/network/dhcp.js |
15 | | -+++ b/package/feeds/luci/luci-mod-network/htdocs/luci-static/resources/view/network/dhcp.js |
16 | | -@@ -308,6 +308,10 @@ return view.extend({ |
17 | | - _('Authoritative'), |
18 | | - _('This is the only DHCP server in the local network.')); |
19 | | - |
20 | | -+ s.taboption('general', form.Flag, 'dns_redirect', |
21 | | -+ _('DNS Redirect'), |
22 | | -+ _('Force redirect all local DNS queries to DNSMasq, a.k.a. DNS Hijacking.')); |
23 | | -+ |
24 | | - s.taboption('general', form.Value, 'domain', |
25 | | - _('Local domain'), |
26 | | - _('Local domain suffix appended to DHCP names and hosts file entries.')); |
0 commit comments