From 1c822c8508646d7540b081f5e22ce3c76dc67503 Mon Sep 17 00:00:00 2001 From: PurifierProbe <88586891+purifierprobe@users.noreply.github.com> Date: Sun, 13 Sep 2026 11:33:56 +0800 Subject: [PATCH] Update smartdns.conf MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 减少了缓存大小,更加节约内存 忽略loopback地址,防止DNS解析失败 --- tools/smartdns/smartdns.conf | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tools/smartdns/smartdns.conf b/tools/smartdns/smartdns.conf index 5faa6a8..b79ccac 100644 --- a/tools/smartdns/smartdns.conf +++ b/tools/smartdns/smartdns.conf @@ -60,7 +60,7 @@ bind [::]:53 # dns cache size # cache-size [number] # 0: for no cache -cache-size 655360 +cache-size 65536 # enable persist cache when restart cache-persist yes @@ -95,6 +95,8 @@ serve-expired-reply-ttl 3 # List of IPs that will be ignored # ignore-ip [ip/subnet] +ignore-ip 127.0.0.0/8 +ignore-ip ::1/128 # speed check mode # speed-check-mode [ping|tcp:port|none|,]