💋 Sync 2026-08-25 09:00:37

This commit is contained in:
github-actions[bot]
2026-08-25 09:00:37 +08:00
parent 516a4a541c
commit 708f45533f
4 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -2,7 +2,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=luci-app-mosdns
PKG_VERSION:=1.7.9
PKG_RELEASE:=16
PKG_RELEASE:=17
LUCI_TITLE:=LuCI Support for mosdns
LUCI_PKGARCH:=all
@@ -174,7 +174,7 @@ return view.extend({
o = s.taboption('basic', form.Value, 'log_size', _('Log File Size'), _('Set the maximum size of the log file (in MB).'));
o.datatype = 'uinteger';
o.default = '5';
o.default = '1';
o.depends('configfile', '/var/etc/mosdns.json');
o = s.taboption('basic', form.Flag, 'redirect', _('DNS Forward'), _('Forward Dnsmasq Domain Name resolution requests to MosDNS'));
+1 -1
View File
@@ -10,7 +10,7 @@ config mosdns 'config'
option configfile '/var/etc/mosdns.json'
option log_level 'info'
option log_file '/var/log/mosdns.log'
option log_size '5'
option log_size '1'
option cache '1'
option concurrent '2'
option idle_timeout '30'
+1 -1
View File
@@ -33,7 +33,7 @@ get_config() {
config_get listen_port $1 listen_port 5335
config_get listen_address $1 listen_address "0.0.0.0"
config_get log_file $1 log_file "/var/log/mosdns.log"
config_get log_size $1 log_size "5"
config_get log_size $1 log_size "1"
config_get log_level $1 log_level "info"
config_get minimal_ttl $1 minimal_ttl 0
config_get maximum_ttl $1 maximum_ttl 0