summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-adblock/htdocs/luci-static/resources/view/adblock/overview.js
diff options
context:
space:
mode:
Diffstat (limited to 'applications/luci-app-adblock/htdocs/luci-static/resources/view/adblock/overview.js')
-rw-r--r--applications/luci-app-adblock/htdocs/luci-static/resources/view/adblock/overview.js10
1 files changed, 10 insertions, 0 deletions
diff --git a/applications/luci-app-adblock/htdocs/luci-static/resources/view/adblock/overview.js b/applications/luci-app-adblock/htdocs/luci-static/resources/view/adblock/overview.js
index 7351f3ba55..884f9dddbe 100644
--- a/applications/luci-app-adblock/htdocs/luci-static/resources/view/adblock/overview.js
+++ b/applications/luci-app-adblock/htdocs/luci-static/resources/view/adblock/overview.js
@@ -437,6 +437,16 @@ return view.extend({
o.placeholder = '/tmp';
o.rmempty = true;
+ o = s.taboption('adv_dns', form.ListValue, 'adb_dnsinstance', _('DNS Instance'), _('Set the dns backend instance used by adblock.'));
+ o.value('0', _('First instance (default)'));
+ o.value('1', _('Second instance'));
+ o.value('2', _('Third instance'));
+ o.value('3', _('Fourth instance'));
+ o.value('4', _('Fifth instance'));
+ o.depends('adb_dns', 'dnsmasq');
+ o.optional = true;
+ o.rmempty = true;
+
o = s.taboption('adv_dns', form.Value, 'adb_dnstimeout', _('DNS Restart Timeout'), _('Timeout to wait for a successful DNS backend restart.'));
o.placeholder = '20';
o.datatype = 'range(1,60)';