From 387625cd6c6361bf928c9aeead6216f66e169f2d Mon Sep 17 00:00:00 2001 From: zhao Date: Thu, 16 Jan 2025 21:59:48 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20bin/ZeroWrt?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: zhao --- bin/ZeroWrt | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/bin/ZeroWrt b/bin/ZeroWrt index a8082aa..ac13879 100644 --- a/bin/ZeroWrt +++ b/bin/ZeroWrt @@ -262,6 +262,11 @@ one_click_setup() { uci commit smartdns /etc/init.d/smartdns restart + # Dnsmasq设置 + uci set dhcp.@dnsmasq[0].cachesize='0' + uci commit dhcp + /etc/init.d/dnsmasq restart + # 配置 MosDNS uci set mosdns.config.enabled='1' uci set mosdns.config.redirect='0'