smartdns
smartdns copied to clipboard
A local DNS server to obtain the fastest website IP for the best Internet experience, support DoT, DoH. 一个本地DNS服务器,获取最快的网站IP,获得最佳上网体验,支持DoH,DoT。
**问题现象** 上游设置为doh且经过socks5时,解析限速到大约10次/S,[Release 46]是没有问题的(https://github.com/pymumu/smartdns/releases/tag/Release46) **运行环境** 1. 固件型号 QWRT R24.6.1 / LuCI Master (git-24.141.58422-8db02ef) 6.8.12 2. 运营商 中国联通 3. smartdns来源以及版本 1.2024.v46.0.7-1.2024.v46.0.9,更早的版本没有测试。 https://github.com/PikuZheng/smartdns/releases 4. 涉及的配置(注意去除个人相关信息) server-name smartdnsfallback dualstack-ip-selection no serve-expired yes cache-persist yes...
The interface name defined in /etc/config/network is called logic interface name in OpenWRT. Usually, it didn't present the interface name in Linux system. When we configure the smartdns bind to...
比如我在luci中设置了一个dns服务器为:`https://1.12.12.12/dns-query`,服务器组为cn,不排除默认组;这时如果我在自定义中设置一条配置为:`server-https https://1.12.12.12/dns-query -group cn -exclude-default-group`,这样的话是不是以自定义的设置为准,将这个dns服务器排除出了默认组了呢?
比如我是四川电信 合计这么多, 是以逗号分隔,还是什么呀 也没有demo 171.208.0.0 171.223.255.255 182.128.0.0 182.143.255.255 110.184.0.0 110.191.255.255 118.112.0.0 118.119.255.255 125.64.0.0 125.71.255.255 171.88.0.0 171.95.255.255 182.144.0.0 182.151.255.255 218.88.0.0 218.95.255.255 222.208.0.0 222.215.255.255 118.120.0.0 118.123.255.255 118.124.0.0 118.125.255.255 221.236.0.0 221.237.255.255 61.157.0.06 1.157.255.255...
**问题现象** 使用旧版本中 **运行环境** Docker
以前需要设置才过滤,现在发现默认状态下就算没有配置 过滤type65,所有https都返回soa了
**需求应用场景** 目前 openwrt 上监听的 host 为 `0.0.0.0` 或 `[::]`,且 UDP 没有设置 `SO_REUSEADDR`(TCP 设置了),会导致与监听端口相同的 UDP 透明代理请求失败 **建议的方案** 为 UDP 的监听端口设置 `SO_REUSEADDR` https://github.com/v2fly/v2ray-core/issues/68
**问题现象** smartdns 升级到46后,Server名字变成了127.0.0.1 如何改回smartdns名字 $ nslookup -querytype=ptr smartdns Server: 127.0.0.1 Address: 127.0.0.1:53 $ nslookup baidu.com smartdns:6051 nslookup: bad address 'smartdns:6051'(提示找不到smartdns) 这样是不是smartdns失效了? **运行环境** 1. 固件型号 R4S 2. 运营商 电信 3. smartdns来源以及版本...
当分组域名group 使用的114.114.114.114 114.114.115.115 不通了,然后验证分组里面的域名返回结果为空,没有使用8.8.8.8进行查询,这样是不是存在解析隐患 server 114.114.114.114 114.114.115.115 -group group server 8.8.8.8 运行环境 固件型号 linux 虚拟机centos7 运营商 电信 smartdns来源以及版本 smartdns 1.2024.02.08-0828 (Release43-141-g9ee27e7) 涉及的配置(注意去除个人相关信息) 重现步骤 上游DNS配置。 114.114.114.114 访问的域名。 [www.baidu.com](http://www.baidu.com/)
关于DNS缓存的一些问题
**问题现象** 简要描述问题出现的现象 关于DNS缓存的一些问题 具体配置 #开启缓存功能 #cache-size 32768 根据内存自动设置,无需设置 cache-persist yes 开启缓存后,cache-file可以报存下来 cache-file /etc/smartdns/cache 保存路径 #设置cache定时保存,避免cache因为系统或进程复位丢失 cache-checkpoint-time 86400 #过期缓存开关 serve-expired yes #此时间表示过期缓存多长时间未访问,则从缓存中释放 serve-expired-ttl 259200 #此时间表示当缓存中域名TTL超时时,返回给客户端的TTL时间,让客户端在下列TTL时间后再次查询 serve-expired-reply-ttl 3 #过期缓存在多长时间未访问,主动进行预先获取,以避免IP无效 prefetch-domain yes serve-expired-prefetch-time...