A local DNS server to obtain the fastest website IP for the best Internet experience, support DoT, DoH. 一个本地DNS服务器,获取最快的网站IP,获得最佳上网体验,支持DoH,DoT。
GNU General Public License v3.0
7.92k
stars
1.05k
forks
source link
domain-rules -no-serve-expired 选项依赖 “speed-check-mode none” #1727
Open
xianren78 opened 2 months ago
问题现象
我在luci里自定义设置添加了domain-rules /*.a.com/ -no-serve-expired, 但是kdig的时候还是会发现它返回一个serve exired ttl=3的响应。在自定义设置里添加speed-check-mode none后,这个选项才起作用。
运行环境
固件型号
ImmortalWRT 23.05.1 或者lean op
运营商
smartdns来源以及版本 https://github.com/PikuZheng/smartdns/releases/ smartdns 1.2024.v45.0.11 smartdns 1.2024.v45.0.13
涉及的配置(注意去除个人相关信息)
restart-on-crash yes
Fix iOS
force-qtype-SOA 2 5 15 65
From author
rr-ttl-min 60 rr-ttl-max 1800 serve-expired yes serve-expired-ttl 345600 serve-expired-prefetch-time 43200
cache to emmc
cache-file /mnt/sda3/smartdns.cache cache-persist yes
dnsmasq-lease-file /tmp/dhcp.leases mdns-lookup yes
server 192.168.0.1:5353 -group lan -exclude-default-group